2 // debuggertab.cpp: "Debugger" tab on the settings dialog
6 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
9 // --- ---------- ------------------------------------------------------------
10 // JPM 06/19/2016 Created this file
11 // JPM 06/19/2016 Soft debugger support
13 #include "debuggertab.h"
16 DebuggerTab::DebuggerTab(QWidget
* parent
/*= 0*/): QWidget(parent
)
18 QLabel
* label3
= new QLabel("Disassembly lines:");
19 edit3
= new QLineEdit("");
20 edit3
->setPlaceholderText("Number of disassembly lines");
21 QVBoxLayout
* layout1
= new QVBoxLayout
;
22 layout1
->addWidget(label3
);
24 QVBoxLayout
* layout2
= new QVBoxLayout
;
25 layout2
->addWidget(edit3
);
27 QHBoxLayout
* layout3
= new QHBoxLayout
;
28 layout3
->addLayout(layout1
);
29 layout3
->addLayout(layout2
);
31 QVBoxLayout
* layout4
= new QVBoxLayout
;
32 layout4
->addLayout(layout3
);
35 displayHWlabels
= new QCheckBox(tr("Display HW labels"));
36 disasmopcodes
= new QCheckBox(tr("Display M68000 opcodes"));
37 displayFullSourceFilename
= new QCheckBox(tr("Display source filename"));
38 disasmopcodes
->setDisabled(false);
39 displayHWlabels
->setDisabled(false);
40 displayFullSourceFilename
->setDisabled(false);
42 layout4
->addWidget(disasmopcodes
);
43 layout4
->addWidget(displayHWlabels
);
44 layout4
->addWidget(displayFullSourceFilename
);
50 DebuggerTab::~DebuggerTab()