GUI: fix some weird includes
This commit is contained in:
parent
7c30c5993b
commit
f68b830069
|
@ -4,7 +4,9 @@
|
|||
#include <QpaintEvent>
|
||||
#include <QMenu>
|
||||
#include <QDesktopWidget>
|
||||
#include "bridge.h"
|
||||
#include <QApplication>
|
||||
#include "Bridge.h"
|
||||
#include "Configuration.h"
|
||||
|
||||
//LabeledSplitterHandle class
|
||||
LabeledSplitterHandle::LabeledSplitterHandle(Qt::Orientation o, LabeledSplitter* parent) : QSplitterHandle(o, parent)
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
#include "main.h"
|
||||
#include "Exports.h"
|
||||
|
||||
#include "ReferenceManager.h"
|
||||
#include "SymbolView.h"
|
||||
|
||||
/************************************************************************************
|
||||
Global Variables
|
||||
************************************************************************************/
|
||||
|
|
|
@ -5,10 +5,13 @@
|
|||
#include <QObject>
|
||||
#include <QWidget>
|
||||
#include <QMutex>
|
||||
#include <QMenu>
|
||||
#include "Imports.h"
|
||||
#include "ReferenceManager.h"
|
||||
#include "BridgeResult.h"
|
||||
|
||||
class ReferenceManager;
|
||||
class SymbolView;
|
||||
|
||||
class Bridge : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -42,6 +45,7 @@ public:
|
|||
QWidget* snowmanView = nullptr;
|
||||
bool mIsRunning = false;
|
||||
duint mLastCip = 0;
|
||||
SymbolView* symbolView = nullptr;
|
||||
|
||||
signals:
|
||||
void disassembleAt(dsint va, dsint eip);
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "BridgeResult.h"
|
||||
#include "Bridge.h"
|
||||
#include <QCoreApplication>
|
||||
|
||||
BridgeResult::BridgeResult()
|
||||
{
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "ui_AssembleDialog.h"
|
||||
#include "ValidateExpressionThread.h"
|
||||
#include <QMessageBox>
|
||||
#include "Configuration.h"
|
||||
|
||||
bool AssembleDialog::bWarningShowedOnce = false;
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "ui_CodepageSelectionDialog.h"
|
||||
#include "Bridge.h"
|
||||
#include <QTextCodec>
|
||||
#include "MiscUtil.h"
|
||||
|
||||
CodepageSelectionDialog::CodepageSelectionDialog(QWidget* parent) :
|
||||
QDialog(parent),
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "CommandLineEdit.h"
|
||||
#include "Bridge.h"
|
||||
#include "Configuration.h"
|
||||
|
||||
CommandLineEdit::CommandLineEdit(QWidget* parent)
|
||||
: HistoryLineEdit(parent),
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
#include "BreakpointMenu.h"
|
||||
#include "StringUtil.h"
|
||||
#include "MiscUtil.h"
|
||||
|
||||
DisassemblerGraphView::DisassemblerGraphView(QWidget* parent)
|
||||
: QAbstractScrollArea(parent),
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "ui_EditBreakpointDialog.h"
|
||||
#include "StringUtil.h"
|
||||
#include "MiscUtil.h"
|
||||
#include "Configuration.h"
|
||||
|
||||
EditBreakpointDialog::EditBreakpointDialog(QWidget* parent, const BRIDGEBP & bp)
|
||||
: QDialog(parent),
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
#include "ui_EditFloatRegister.h"
|
||||
#include "Bridge.h"
|
||||
#include "StringUtil.h"
|
||||
#include "MiscUtil.h"
|
||||
#include "Configuration.h"
|
||||
|
||||
/**
|
||||
* @brief Initialize EditFloatRegister dialog
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include <QFileDialog>
|
||||
#include <QMessageBox>
|
||||
#include "MiscUtil.h"
|
||||
#include "Configuration.h"
|
||||
#include <QTableWidget>
|
||||
|
||||
FavouriteTools::FavouriteTools(QWidget* parent) :
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include <QTextCodec>
|
||||
#include <QCryptographicHash>
|
||||
#include "Configuration.h"
|
||||
#include "HexEditDialog.h"
|
||||
#include "QHexEdit/QHexEdit.h"
|
||||
#include "ui_HexEditDialog.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "HexLineEdit.h"
|
||||
#include "ui_HexLineEdit.h"
|
||||
#include "Bridge.h"
|
||||
#include <QKeyEvent>
|
||||
|
||||
HexLineEdit::HexLineEdit(QWidget* parent) :
|
||||
QLineEdit(parent),
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "LogStatusLabel.h"
|
||||
#include <QTextDocument>
|
||||
#include <QApplication>
|
||||
|
||||
LogStatusLabel::LogStatusLabel(QStatusBar* parent) : QLabel(parent)
|
||||
{
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
#include "LogView.h"
|
||||
#include "Configuration.h"
|
||||
#include "Bridge.h"
|
||||
#include "BrowseDialog.h"
|
||||
|
||||
#include <QRegularExpression>
|
||||
#include <QDesktopServices>
|
||||
#include <QClipboard>
|
||||
#include <QMimeData>
|
||||
#include <QTimer>
|
||||
#include <QApplication>
|
||||
#include <QContextMenuEvent>
|
||||
|
||||
#include "BrowseDialog.h"
|
||||
#include "MiscUtil.h"
|
||||
#include "StringUtil.h"
|
||||
|
||||
/**
|
||||
* @brief LogView::LogView The constructor constructs a rich text browser
|
||||
|
|
|
@ -121,6 +121,7 @@ MainWindow::MainWindow(QWidget* parent)
|
|||
|
||||
// Symbol view
|
||||
mSymbolView = new SymbolView();
|
||||
Bridge::getBridge()->symbolView = mSymbolView;
|
||||
mSymbolView->setWindowTitle(tr("Symbols"));
|
||||
mSymbolView->setWindowIcon(DIcon("pdb.png"));
|
||||
mSymbolView->hide();
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#include <QFileDialog>
|
||||
#include <QTextStream>
|
||||
#include "MiscUtil.h"
|
||||
#include "StringUtil.h"
|
||||
#include "Configuration.h"
|
||||
|
||||
PatchDialog::PatchDialog(QWidget* parent) :
|
||||
QDialog(parent),
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
class CPUWidget;
|
||||
class CPUMultiDump;
|
||||
class QPushButton;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "Configuration.h"
|
||||
#include "Bridge.h"
|
||||
#include "ExceptionRangeDialog.h"
|
||||
#include "MiscUtil.h"
|
||||
|
||||
SettingsDialog::SettingsDialog(QWidget* parent) :
|
||||
QDialog(parent),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "Bridge.h"
|
||||
#include <QMessageBox>
|
||||
#include "BrowseDialog.h"
|
||||
#include "MiscUtil.h"
|
||||
|
||||
SimpleTraceDialog::SimpleTraceDialog(QWidget* parent) :
|
||||
QDialog(parent),
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#include "LineEditDialog.h"
|
||||
#include "GotoDialog.h"
|
||||
#include <QFileDialog>
|
||||
#include "StringUtil.h"
|
||||
#include "MiscUtil.h"
|
||||
|
||||
struct TypeDescriptor
|
||||
{
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "YaraRuleSelectionDialog.h"
|
||||
#include "EntropyDialog.h"
|
||||
#include "BrowseDialog.h"
|
||||
#include "SearchListView.h"
|
||||
#include <QVBoxLayout>
|
||||
#include <QProcess>
|
||||
#include <QFileDialog>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#include "XrefBrowseDialog.h"
|
||||
#include "ui_XrefBrowseDialog.h"
|
||||
#include "StringUtil.h"
|
||||
#include "MiscUtil.h"
|
||||
#include "MenuBuilder.h"
|
||||
|
||||
XrefBrowseDialog::XrefBrowseDialog(QWidget* parent) :
|
||||
QDialog(parent),
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
#include <QThread>
|
||||
#include "MiscUtil.h"
|
||||
#include "StringUtil.h"
|
||||
|
||||
TraceFileReader::TraceFileReader(QObject* parent) : QObject(parent)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#include "TraceFileReader.h"
|
||||
#include "TraceFileSearch.h"
|
||||
#include "zydis_wrapper.h"
|
||||
#include "StringUtil.h"
|
||||
#include <QCoreApplication>
|
||||
|
||||
static bool inRange(duint value, duint start, duint end)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "Breakpoints.h"
|
||||
#include "EditBreakpointDialog.h"
|
||||
#include "StringUtil.h"
|
||||
|
||||
Breakpoints::Breakpoints(QObject* parent) : QObject(parent)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "MRUList.h"
|
||||
#include "Bridge.h"
|
||||
#include <QMenu>
|
||||
#include <QFile>
|
||||
|
||||
MRUList::MRUList(QObject* parent, const char* section, int maxItems)
|
||||
: QObject(parent),
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <QDateTime>
|
||||
#include "Bridge.h"
|
||||
#include "StringUtil.h"
|
||||
#include "MiscUtil.h"
|
||||
|
||||
UpdateChecker::UpdateChecker(QWidget* parent)
|
||||
: QNetworkAccessManager(parent),
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include <QTranslator>
|
||||
#include <QTextStream>
|
||||
#include <QLibraryInfo>
|
||||
#include "MiscUtil.h"
|
||||
|
||||
MyApplication::MyApplication(int & argc, char** argv)
|
||||
: QApplication(argc, argv)
|
||||
|
|
Loading…
Reference in New Issue