Exemple #1
0
void TIA::createConnections()
{
    // connections from widgets ...
    connect(wDisassembly,SIGNAL(onDisassemblyViewReady()),this,SLOT(onDissassemblyViewReady()));
    connect(wFunctions,SIGNAL(gotoAddress(address_t)),wDisassembly,SLOT(onGotoAddress(address_t)));
    connect(wBreakpoints,SIGNAL(gotoAddress(address_t)),wDisassembly,SLOT(onGotoAddress(address_t)));

    // connections from main dialog ...
    connect(m_ActionOpen,SIGNAL(triggered()),this,SLOT(onMenuActionOpen()));
    connect(this,SIGNAL(newFileOpen(QString)),this,SLOT(onMenuActionOpenFile(QString)));
    connect(m_ActionAbout,SIGNAL(triggered()),this,SLOT(onMenuActionAbout()));
    connect(m_ActionDebuggerStart, SIGNAL(triggered()),this,SLOT(onMenuActionDebuggerStart()));
    connect(m_ActionDebuggerStop, SIGNAL(triggered()),this,SLOT(onMenuActionDebuggerStop()));

    // internal connections
    connect(m_Target,SIGNAL(targetLoaded()),this,SLOT(onTargetLoaded()));
    connect(m_Target,SIGNAL(targetUnloaded()),this,SLOT(onTargetUnloaded()));
    connect(m_StaticDisasm,SIGNAL(DisassemblyError(QString,QString,QString)),this,SLOT(onDisassemblyError(QString,QString,QString)));
    connect(this,SIGNAL(instructionAnalyticsFinish()),wDisassembly,SLOT(insertContent()));
    connect(this,SIGNAL(instructionAnalyticsFinish()),this,SLOT(onInstructionAnalyticsFinish()));
    connect(this,SIGNAL(log(QString)),m_VLog,SLOT(log(QString)));

    connect(m_VLog,SIGNAL(onLogViewReady()),this,SLOT(onLogViewReady()));
    connect(m_StaticDisasm,SIGNAL(fullStaticDisassembly()),this,SLOT(onFullStaticDisassembly()));




}
Exemple #2
0
FMDumpDialog::FMDumpDialog(FontItem * font, QWidget * parent)
	: QDialog(parent), m_dumpinfo(0)
{
	setupUi(this);
	fontName->setText(font->fancyName());
	m_dumpinfo = new FMDumpInfo(font);
	nameList->addItems(m_dumpinfo->infos());
	
	connect(browseButton, SIGNAL(clicked()), this, SLOT(browseFile()));
	connect(loadButton, SIGNAL(clicked()), this, SLOT(browseModel()));
	
	connect(buttonBox, SIGNAL(accepted()), this, SLOT(slotDumpIt()));
	connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
	
	connect(modelText, SIGNAL(insertContent()), this, SLOT(insertSelectedField()));
}