Added go to address function to debugger tool bar.
This commit is contained in:
parent
fd6876a09d
commit
7af00f523e
|
@ -21,5 +21,8 @@
|
|||
<file>icons/RunPpuFrame.png</file>
|
||||
<file>icons/RunPpuScanline.png</file>
|
||||
<file>icons/arrow-cursor.png</file>
|
||||
<file>icons/JumpTarget.png</file>
|
||||
<file>icons/Undo.png</file>
|
||||
<file>icons/find.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -131,6 +131,8 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
|
|||
act = new QAction(tr("&Go to Address"), this);
|
||||
act->setShortcut( QKeySequence(tr("Ctrl+A") ));
|
||||
act->setStatusTip(tr("&Go to Address"));
|
||||
//act->setIcon( QIcon(":icons/find.png") );
|
||||
act->setIcon( QIcon(":icons/JumpTarget.png") );
|
||||
connect(act, SIGNAL(triggered()), this, SLOT(openGotoAddrDialog(void)) );
|
||||
|
||||
fileMenu->addAction(act);
|
||||
|
@ -395,6 +397,18 @@ ConsoleDebugger::ConsoleDebugger(QWidget *parent)
|
|||
// Tool Bar Setup Start
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
// File -> Go to Address
|
||||
act = new QAction(tr("&Go to Address"), this);
|
||||
//act->setShortcut( QKeySequence(tr("Ctrl+A") ));
|
||||
act->setStatusTip(tr("&Go to Address"));
|
||||
//act->setIcon( QIcon(":icons/find.png") );
|
||||
act->setIcon( QIcon(":icons/JumpTarget.png") );
|
||||
connect(act, SIGNAL(triggered()), this, SLOT(openGotoAddrDialog(void)) );
|
||||
|
||||
toolBar->addAction(act);
|
||||
|
||||
toolBar->addSeparator();
|
||||
|
||||
// Debug -> Run
|
||||
act = new QAction(tr("&Run"), this);
|
||||
//act->setShortcut(QKeySequence( tr("F5") ) );
|
||||
|
|
Loading…
Reference in New Issue