| 1094 | } |
| 1095 | |
| 1096 | QHBoxLayout *DAPDebugger::initFrameTitle(const QString &frameName) |
| 1097 | { |
| 1098 | if (frameName.isNull()) |
| 1099 | return nullptr; |
| 1100 | |
| 1101 | DPushButton *arrow = new DPushButton(); |
| 1102 | arrow->setFocusPolicy(Qt::NoFocus); |
| 1103 | arrow->setIcon(QIcon::fromTheme("go-down")); |
| 1104 | arrow->setFixedSize(QSize(18, 18)); |
| 1105 | arrow->setIconSize(QSize(8, 8)); |
| 1106 | arrow->setFlat(true); |
| 1107 | |
| 1108 | DLabel *stackTitleText = new DLabel(); |
| 1109 | stackTitleText->setText(frameName); |
| 1110 | |
| 1111 | QHBoxLayout *layout = new QHBoxLayout(); |
| 1112 | layout->setContentsMargins(10, 0, 0, 0); |
| 1113 | layout->setSpacing(0); |
| 1114 | layout->addWidget(arrow); |
| 1115 | layout->addWidget(stackTitleText); |
| 1116 | |
| 1117 | return layout; |
| 1118 | } |
| 1119 | |
| 1120 | bool DAPDebugger::showStoppedBySignalMessageBox(QString meaning, QString name) |
| 1121 | { |
nothing calls this directly
no test coverage detected