MainWindow Class Reference

#include <qtgui2/mainwindow.h>

List of all members.


Detailed Description

Definition at line 15 of file mainwindow.h.

Public Slots

void closeCurrentTab ()
void currentTabTextChanged ()
void decodeComplete ()
void decompileComplete ()
void generateCodeComplete ()
void loadComplete ()
void on_actionAbout_activated ()
void on_actionAboutQt_activated ()
void on_actionBoomerang_Website_activated ()
void on_actionClose_activated ()
void on_actionCopy_activated ()
void on_actionCut_activated ()
void on_actionDecode_activated ()
void on_actionDecompile_activated ()
void on_actionDelete_activated ()
void on_actionEnable_toggled (bool b)
void on_actionFind_activated ()
void on_actionFind_Next_activated ()
void on_actionGenerate_Code_activated ()
void on_actionGo_To_activated ()
void on_actionLoad_activated ()
void on_actionOpen_activated ()
void on_actionPaste_activated ()
void on_actionSave_activated ()
void on_actionSelect_All_activated ()
void on_actionStep_activated ()
void on_actionStructs_activated ()
void on_addButton_pressed ()
void on_clusters_itemDoubleClicked (QTreeWidgetItem *item, int column)
void on_decompileProcsTreeWidget_itemDoubleClicked (QTreeWidgetItem *item, int column)
void on_enableDFTAcheckBox_toggled (bool b)
void on_enableNoDecodeChildren_toggled (bool b)
void on_entrypoints_currentItemChanged (QTableWidgetItem *current, QTableWidgetItem *previous)
void on_inputFileBrowseButton_clicked ()
void on_inputFileComboBox_currentIndexChanged (const QString &text)
void on_inputFileComboBox_editTextChanged (const QString &text)
void on_libProcs_cellDoubleClicked (int row, int column)
void on_outputPathBrowseButton_clicked ()
void on_outputPathComboBox_editTextChanged (QString &text)
void on_removeButton_pressed ()
void on_structName_returnPressed ()
void on_tabWidget_currentChanged (int index)
void on_userProcs_cellChanged (int row, int column)
void on_userProcs_cellDoubleClicked (int row, int column)
void on_userProcs_horizontalHeader_sectionClicked (int logicalIndex)
void showConsideringProc (const QString &parent, const QString &name)
void showDebuggingPoint (const QString &name, const QString &description)
void showDecodePage ()
void showDecompilePage ()
void showDecompilingProc (const QString &name)
void showGenerateCodePage ()
void showLoadPage ()
void showMachineType (const QString &machine)
void showNewCluster (const QString &name)
void showNewEntrypoint (unsigned int addr, const QString &name)
void showNewLibProc (const QString &name, const QString &params)
void showNewProcInCluster (const QString &name, const QString &cluster)
void showNewSection (const QString &name, unsigned int start, unsigned int end)
void showNewUserProc (const QString &name, unsigned int addr)
void showRemoveLibProc (const QString &name)
void showRemoveUserProc (const QString &name, unsigned int addr)
void showRTLEditor (const QString &name)

Public Member Functions

void errorLoadingFile ()
 MainWindow (QWidget *parent=0)

Protected Member Functions

void saveSettings ()
void showInitPage ()

Private Attributes

int codeGenCount
int decompiledCount
DecompilerThreaddecompilerThread
bool loadingSettings
std::map< QWidget *, QString > openFiles
std::set< QWidget * > signatureFiles
QToolButton * step
QWidget * structs
Ui::MainWindow ui


Constructor & Destructor Documentation

MainWindow::MainWindow QWidget *  parent = 0  ) 
 

Definition at line 9 of file mainwindow.cpp.

References closeCurrentTab(), decodeComplete(), decompileComplete(), decompilerThread, generateCodeComplete(), DecompilerThread::getDecompiler(), load(), loadComplete(), loadingSettings, on_userProcs_horizontalHeader_sectionClicked(), showConsideringProc(), showDebuggingPoint(), showDecodePage(), showDecompilePage(), showDecompilingProc(), showGenerateCodePage(), showInitPage(), showLoadPage(), showMachineType(), showNewCluster(), showNewEntrypoint(), showNewLibProc(), showNewProcInCluster(), showNewSection(), showNewUserProc(), showRemoveLibProc(), showRemoveUserProc(), structs, and ui.


Member Function Documentation

void MainWindow::closeCurrentTab  )  [slot]
 

Definition at line 182 of file mainwindow.cpp.

References on_actionClose_activated(), openFiles, and ui.

Referenced by MainWindow().

void MainWindow::currentTabTextChanged  )  [slot]
 

Definition at line 190 of file mainwindow.cpp.

References text(), and ui.

Referenced by on_actionOpen_activated().

void MainWindow::decodeComplete  )  [slot]
 

Definition at line 368 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::decompileComplete  )  [slot]
 

Definition at line 381 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::errorLoadingFile  ) 
 

Definition at line 255 of file mainwindow.cpp.

void MainWindow::generateCodeComplete  )  [slot]
 

Definition at line 394 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::loadComplete  )  [slot]
 

Definition at line 340 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::on_actionAbout_activated  )  [slot]
 

Definition at line 842 of file mainwindow.cpp.

References Boomerang::getVersionStr(), and ui.

void MainWindow::on_actionAboutQt_activated  )  [slot]
 

Definition at line 851 of file mainwindow.cpp.

void MainWindow::on_actionBoomerang_Website_activated  )  [slot]
 

Definition at line 825 of file mainwindow.cpp.

References NULL.

void MainWindow::on_actionClose_activated  )  [slot]
 

Definition at line 239 of file mainwindow.cpp.

References on_actionSave_activated(), openFiles, signatureFiles, and ui.

Referenced by closeCurrentTab().

void MainWindow::on_actionCopy_activated  )  [slot]
 

Definition at line 739 of file mainwindow.cpp.

References ui.

void MainWindow::on_actionCut_activated  )  [slot]
 

Definition at line 730 of file mainwindow.cpp.

References ui.

void MainWindow::on_actionDecode_activated  )  [slot]
 

Definition at line 792 of file mainwindow.cpp.

References showDecodePage().

void MainWindow::on_actionDecompile_activated  )  [slot]
 

Definition at line 797 of file mainwindow.cpp.

References showDecompilePage().

void MainWindow::on_actionDelete_activated  )  [slot]
 

Definition at line 757 of file mainwindow.cpp.

References ui.

void MainWindow::on_actionEnable_toggled bool  b  )  [slot]
 

Definition at line 625 of file mainwindow.cpp.

References decompilerThread, DecompilerThread::getDecompiler(), NULL, Decompiler::setDebugging(), step, Decompiler::stopWaiting(), and ui.

void MainWindow::on_actionFind_activated  )  [slot]
 

Definition at line 766 of file mainwindow.cpp.

void MainWindow::on_actionFind_Next_activated  )  [slot]
 

Definition at line 770 of file mainwindow.cpp.

void MainWindow::on_actionGenerate_Code_activated  )  [slot]
 

Definition at line 802 of file mainwindow.cpp.

References showGenerateCodePage().

void MainWindow::on_actionGo_To_activated  )  [slot]
 

Definition at line 774 of file mainwindow.cpp.

void MainWindow::on_actionLoad_activated  )  [slot]
 

Definition at line 787 of file mainwindow.cpp.

References showLoadPage().

void MainWindow::on_actionOpen_activated  )  [slot]
 

Definition at line 197 of file mainwindow.cpp.

References currentTabTextChanged(), file, openFiles, signatureFiles, and ui.

void MainWindow::on_actionPaste_activated  )  [slot]
 

Definition at line 748 of file mainwindow.cpp.

References ui.

void MainWindow::on_actionSave_activated  )  [slot]
 

Definition at line 220 of file mainwindow.cpp.

References decompilerThread, file, DecompilerThread::getDecompiler(), openFiles, Decompiler::rereadLibSignatures(), signatureFiles, text(), and ui.

Referenced by on_actionClose_activated().

void MainWindow::on_actionSelect_All_activated  )  [slot]
 

Definition at line 778 of file mainwindow.cpp.

References ui.

void MainWindow::on_actionStep_activated  )  [slot]
 

Definition at line 646 of file mainwindow.cpp.

References decompilerThread, DecompilerThread::getDecompiler(), Decompiler::stopWaiting(), and ui.

Referenced by showDebuggingPoint().

void MainWindow::on_actionStructs_activated  )  [slot]
 

Definition at line 807 of file mainwindow.cpp.

References structs, and ui.

void MainWindow::on_addButton_pressed  )  [slot]
 

Definition at line 871 of file mainwindow.cpp.

References Decompiler::addEntryPoint(), decompilerThread, DecompilerThread::getDecompiler(), and ui.

void MainWindow::on_clusters_itemDoubleClicked QTreeWidgetItem *  item,
int  column
[slot]
 

Definition at line 590 of file mainwindow.cpp.

References NULL, and ui.

void MainWindow::on_decompileProcsTreeWidget_itemDoubleClicked QTreeWidgetItem *  item,
int  column
[slot]
 

Definition at line 620 of file mainwindow.cpp.

References showRTLEditor().

void MainWindow::on_enableDFTAcheckBox_toggled bool  b  )  [slot]
 

Definition at line 856 of file mainwindow.cpp.

References decompilerThread, DecompilerThread::getDecompiler(), and Decompiler::setUseDFTA().

void MainWindow::on_enableNoDecodeChildren_toggled bool  b  )  [slot]
 

Definition at line 861 of file mainwindow.cpp.

References decompilerThread, DecompilerThread::getDecompiler(), and Decompiler::setNoDecodeChildren().

void MainWindow::on_entrypoints_currentItemChanged QTableWidgetItem *  current,
QTableWidgetItem *  previous
[slot]
 

Definition at line 866 of file mainwindow.cpp.

References ui.

void MainWindow::on_inputFileBrowseButton_clicked  )  [slot]
 

Definition at line 126 of file mainwindow.cpp.

References saveSettings(), and ui.

void MainWindow::on_inputFileComboBox_currentIndexChanged const QString &  text  )  [slot]
 

Definition at line 167 of file mainwindow.cpp.

References Decompiler::changeInputFile(), decompilerThread, DecompilerThread::getDecompiler(), and saveSettings().

void MainWindow::on_inputFileComboBox_editTextChanged const QString &  text  )  [slot]
 

Definition at line 155 of file mainwindow.cpp.

References Decompiler::changeInputFile(), decompilerThread, DecompilerThread::getDecompiler(), saveSettings(), and ui.

void MainWindow::on_libProcs_cellDoubleClicked int  row,
int  column
[slot]
 

Definition at line 665 of file mainwindow.cpp.

References ui.

void MainWindow::on_outputPathBrowseButton_clicked  )  [slot]
 

Definition at line 141 of file mainwindow.cpp.

References saveSettings(), and ui.

void MainWindow::on_outputPathComboBox_editTextChanged QString &  text  )  [slot]
 

Definition at line 173 of file mainwindow.cpp.

References Decompiler::changeOutputPath(), decompilerThread, DecompilerThread::getDecompiler(), saveSettings(), and ui.

void MainWindow::on_removeButton_pressed  )  [slot]
 

Definition at line 888 of file mainwindow.cpp.

References decompilerThread, DecompilerThread::getDecompiler(), Decompiler::removeEntryPoint(), text(), and ui.

void MainWindow::on_structName_returnPressed  )  [slot]
 

Definition at line 816 of file mainwindow.cpp.

References decompilerThread, Decompiler::getCompoundMembers(), DecompilerThread::getDecompiler(), and ui.

void MainWindow::on_tabWidget_currentChanged int  index  )  [slot]
 

Definition at line 249 of file mainwindow.cpp.

References openFiles, and ui.

void MainWindow::on_userProcs_cellChanged int  row,
int  column
[slot]
 

Definition at line 578 of file mainwindow.cpp.

References decompilerThread, DecompilerThread::getDecompiler(), Decompiler::renameProc(), and ui.

void MainWindow::on_userProcs_cellDoubleClicked int  row,
int  column
[slot]
 

Definition at line 573 of file mainwindow.cpp.

References showRTLEditor(), and ui.

void MainWindow::on_userProcs_horizontalHeader_sectionClicked int  logicalIndex  )  [slot]
 

Definition at line 652 of file mainwindow.cpp.

References NULL, and ui.

Referenced by MainWindow().

void MainWindow::saveSettings  )  [protected]
 

Definition at line 107 of file mainwindow.cpp.

References loadingSettings, and ui.

Referenced by on_inputFileBrowseButton_clicked(), on_inputFileComboBox_currentIndexChanged(), on_inputFileComboBox_editTextChanged(), on_outputPathBrowseButton_clicked(), and on_outputPathComboBox_editTextChanged().

void MainWindow::showConsideringProc const QString &  parent,
const QString &  name
[slot]
 

Definition at line 407 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showDebuggingPoint const QString &  name,
const QString &  description
[slot]
 

Definition at line 539 of file mainwindow.cpp.

References on_actionStep_activated(), and ui.

Referenced by MainWindow().

void MainWindow::showDecodePage  )  [slot]
 

Definition at line 295 of file mainwindow.cpp.

References ui.

Referenced by MainWindow(), and on_actionDecode_activated().

void MainWindow::showDecompilePage  )  [slot]
 

Definition at line 315 of file mainwindow.cpp.

References ui.

Referenced by MainWindow(), and on_actionDecompile_activated().

void MainWindow::showDecompilingProc const QString &  name  )  [slot]
 

Definition at line 427 of file mainwindow.cpp.

References decompiledCount, and ui.

Referenced by MainWindow().

void MainWindow::showGenerateCodePage  )  [slot]
 

Definition at line 328 of file mainwindow.cpp.

References ui.

Referenced by MainWindow(), and on_actionGenerate_Code_activated().

void MainWindow::showInitPage  )  [protected]
 

Definition at line 259 of file mainwindow.cpp.

References codeGenCount, decompiledCount, and ui.

Referenced by MainWindow().

void MainWindow::showLoadPage  )  [slot]
 

Definition at line 283 of file mainwindow.cpp.

References ui.

Referenced by MainWindow(), and on_actionLoad_activated().

void MainWindow::showMachineType const QString &  machine  )  [slot]
 

Definition at line 353 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showNewCluster const QString &  name  )  [slot]
 

Definition at line 514 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showNewEntrypoint unsigned int  addr,
const QString &  name
[slot]
 

Definition at line 358 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showNewLibProc const QString &  name,
const QString &  params
[slot]
 

Definition at line 462 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showNewProcInCluster const QString &  name,
const QString &  cluster
[slot]
 

Definition at line 523 of file mainwindow.cpp.

References codeGenCount, and ui.

Referenced by MainWindow().

void MainWindow::showNewSection const QString &  name,
unsigned int  start,
unsigned int  end
[slot]
 

Definition at line 502 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showNewUserProc const QString &  name,
unsigned int  addr
[slot]
 

Definition at line 439 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showRemoveLibProc const QString &  name  )  [slot]
 

Definition at line 490 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showRemoveUserProc const QString &  name,
unsigned int  addr
[slot]
 

Definition at line 477 of file mainwindow.cpp.

References ui.

Referenced by MainWindow().

void MainWindow::showRTLEditor const QString &  name  )  [slot]
 

Definition at line 557 of file mainwindow.cpp.

References NULL, and ui.

Referenced by on_decompileProcsTreeWidget_itemDoubleClicked(), and on_userProcs_cellDoubleClicked().


Member Data Documentation

int MainWindow::codeGenCount [private]
 

Definition at line 105 of file mainwindow.h.

Referenced by showInitPage(), and showNewProcInCluster().

int MainWindow::decompiledCount [private]
 

Definition at line 105 of file mainwindow.h.

Referenced by showDecompilingProc(), and showInitPage().

DecompilerThread* MainWindow::decompilerThread [private]
 

Definition at line 101 of file mainwindow.h.

Referenced by MainWindow(), on_actionEnable_toggled(), on_actionSave_activated(), on_actionStep_activated(), on_addButton_pressed(), on_enableDFTAcheckBox_toggled(), on_enableNoDecodeChildren_toggled(), on_inputFileComboBox_currentIndexChanged(), on_inputFileComboBox_editTextChanged(), on_outputPathComboBox_editTextChanged(), on_removeButton_pressed(), on_structName_returnPressed(), and on_userProcs_cellChanged().

bool MainWindow::loadingSettings [private]
 

Definition at line 110 of file mainwindow.h.

Referenced by MainWindow(), and saveSettings().

std::map<QWidget*, QString> MainWindow::openFiles [private]
 

Definition at line 106 of file mainwindow.h.

Referenced by closeCurrentTab(), on_actionClose_activated(), on_actionOpen_activated(), on_actionSave_activated(), and on_tabWidget_currentChanged().

std::set<QWidget*> MainWindow::signatureFiles [private]
 

Definition at line 107 of file mainwindow.h.

Referenced by on_actionClose_activated(), on_actionOpen_activated(), and on_actionSave_activated().

QToolButton* MainWindow::step [private]
 

Definition at line 103 of file mainwindow.h.

Referenced by on_actionEnable_toggled().

QWidget* MainWindow::structs [private]
 

Definition at line 109 of file mainwindow.h.

Referenced by MainWindow(), and on_actionStructs_activated().

Ui::MainWindow MainWindow::ui [private]
 

Definition at line 100 of file mainwindow.h.

Referenced by closeCurrentTab(), currentTabTextChanged(), decodeComplete(), decompileComplete(), generateCodeComplete(), loadComplete(), MainWindow(), on_actionAbout_activated(), on_actionClose_activated(), on_actionCopy_activated(), on_actionCut_activated(), on_actionDelete_activated(), on_actionEnable_toggled(), on_actionOpen_activated(), on_actionPaste_activated(), on_actionSave_activated(), on_actionSelect_All_activated(), on_actionStep_activated(), on_actionStructs_activated(), on_addButton_pressed(), on_clusters_itemDoubleClicked(), on_entrypoints_currentItemChanged(), on_inputFileBrowseButton_clicked(), on_inputFileComboBox_editTextChanged(), on_libProcs_cellDoubleClicked(), on_outputPathBrowseButton_clicked(), on_outputPathComboBox_editTextChanged(), on_removeButton_pressed(), on_structName_returnPressed(), on_tabWidget_currentChanged(), on_userProcs_cellChanged(), on_userProcs_cellDoubleClicked(), on_userProcs_horizontalHeader_sectionClicked(), saveSettings(), showConsideringProc(), showDebuggingPoint(), showDecodePage(), showDecompilePage(), showDecompilingProc(), showGenerateCodePage(), showInitPage(), showLoadPage(), showMachineType(), showNewCluster(), showNewEntrypoint(), showNewLibProc(), showNewProcInCluster(), showNewSection(), showNewUserProc(), showRemoveLibProc(), showRemoveUserProc(), and showRTLEditor().


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:43 2006 for Boomerang by  doxygen 1.4.6