// JLH = James Hammons <jlhamm@acm.org>
//
// Who When What
-// --- ---------- -------------------------------------------------------------
+// --- ---------- -----------------------------------------------------------
// JLH 08/14/2012 Created this file
//
CPUBrowserWindow::CPUBrowserWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog),
layout(new QVBoxLayout), text(new QLabel),
refresh(new QPushButton(tr("Refresh"))),
- bpm(new QCheckBox(tr("BPM"))), bpmAddress(new QLineEdit)
+ bpm(new QCheckBox(tr("BPM"))), bpmAddress(new QLineEdit),
+ bpmContinue(new QPushButton(tr("Resume")))
{
setWindowTitle(tr("CPU Browser"));
QHBoxLayout * hbox1 = new QHBoxLayout;
hbox1->addWidget(bpm);
hbox1->addWidget(bpmAddress);
+ hbox1->addWidget(bpmContinue);
-// QFont fixedFont("Lucida Console", 8, QFont::Normal);
- QFont fixedFont("", 8, QFont::Normal);
+ QFont fixedFont("Lucida Console", 8, QFont::Normal);
+// QFont fixedFont("", 8, QFont::Normal);
fixedFont.setStyleHint(QFont::TypeWriter);
text->setFont(fixedFont);
//// layout->setSizeConstraint(QLayout::SetFixedSize);
connect(refresh, SIGNAL(clicked()), this, SLOT(RefreshContents()));
connect(bpm, SIGNAL(clicked(bool)), this, SLOT(HandleBPM(bool)));
connect(bpmAddress, SIGNAL(textChanged(const QString &)), this, SLOT(HandleBPMAddress(const QString &)));
+ connect(bpmContinue, SIGNAL(clicked()), this, SLOT(HandleBPMContinue()));
}
}
+void CPUBrowserWindow::HandleBPMContinue(void)
+{
+ M68KDebugResume();
+}
+
+
void CPUBrowserWindow::keyPressEvent(QKeyEvent * e)
{
if (e->key() == Qt::Key_Escape)