1
0
Fork 0

GUI: fix some weird includes

This commit is contained in:
Duncan Ogilvie 2017-12-19 20:56:56 +01:00
parent 7c30c5993b
commit f68b830069
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
29 changed files with 50 additions and 3 deletions

View File

@ -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)

View File

@ -4,6 +4,9 @@
#include "main.h"
#include "Exports.h"
#include "ReferenceManager.h"
#include "SymbolView.h"
/************************************************************************************
Global Variables
************************************************************************************/

View File

@ -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);

View File

@ -1,5 +1,6 @@
#include "BridgeResult.h"
#include "Bridge.h"
#include <QCoreApplication>
BridgeResult::BridgeResult()
{

View File

@ -2,6 +2,7 @@
#include "ui_AssembleDialog.h"
#include "ValidateExpressionThread.h"
#include <QMessageBox>
#include "Configuration.h"
bool AssembleDialog::bWarningShowedOnce = false;

View File

@ -2,6 +2,7 @@
#include "ui_CodepageSelectionDialog.h"
#include "Bridge.h"
#include <QTextCodec>
#include "MiscUtil.h"
CodepageSelectionDialog::CodepageSelectionDialog(QWidget* parent) :
QDialog(parent),

View File

@ -1,5 +1,6 @@
#include "CommandLineEdit.h"
#include "Bridge.h"
#include "Configuration.h"
CommandLineEdit::CommandLineEdit(QWidget* parent)
: HistoryLineEdit(parent),

View File

@ -15,6 +15,8 @@
#include <QFileDialog>
#include <QMessageBox>
#include "BreakpointMenu.h"
#include "StringUtil.h"
#include "MiscUtil.h"
DisassemblerGraphView::DisassemblerGraphView(QWidget* parent)
: QAbstractScrollArea(parent),

View File

@ -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),

View File

@ -2,6 +2,8 @@
#include "ui_EditFloatRegister.h"
#include "Bridge.h"
#include "StringUtil.h"
#include "MiscUtil.h"
#include "Configuration.h"
/**
* @brief Initialize EditFloatRegister dialog

View File

@ -6,6 +6,7 @@
#include <QFileDialog>
#include <QMessageBox>
#include "MiscUtil.h"
#include "Configuration.h"
#include <QTableWidget>
FavouriteTools::FavouriteTools(QWidget* parent) :

View File

@ -1,5 +1,6 @@
#include <QTextCodec>
#include <QCryptographicHash>
#include "Configuration.h"
#include "HexEditDialog.h"
#include "QHexEdit/QHexEdit.h"
#include "ui_HexEditDialog.h"

View File

@ -3,6 +3,7 @@
#include "HexLineEdit.h"
#include "ui_HexLineEdit.h"
#include "Bridge.h"
#include <QKeyEvent>
HexLineEdit::HexLineEdit(QWidget* parent) :
QLineEdit(parent),

View File

@ -1,5 +1,6 @@
#include "LogStatusLabel.h"
#include <QTextDocument>
#include <QApplication>
LogStatusLabel::LogStatusLabel(QStatusBar* parent) : QLabel(parent)
{

View File

@ -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

View File

@ -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();

View File

@ -5,6 +5,8 @@
#include <QFileDialog>
#include <QTextStream>
#include "MiscUtil.h"
#include "StringUtil.h"
#include "Configuration.h"
PatchDialog::PatchDialog(QWidget* parent) :
QDialog(parent),

View File

@ -8,6 +8,7 @@
class CPUWidget;
class CPUMultiDump;
class QPushButton;
typedef struct
{

View File

@ -4,6 +4,7 @@
#include "Configuration.h"
#include "Bridge.h"
#include "ExceptionRangeDialog.h"
#include "MiscUtil.h"
SettingsDialog::SettingsDialog(QWidget* parent) :
QDialog(parent),

View File

@ -3,6 +3,7 @@
#include "Bridge.h"
#include <QMessageBox>
#include "BrowseDialog.h"
#include "MiscUtil.h"
SimpleTraceDialog::SimpleTraceDialog(QWidget* parent) :
QDialog(parent),

View File

@ -5,6 +5,8 @@
#include "LineEditDialog.h"
#include "GotoDialog.h"
#include <QFileDialog>
#include "StringUtil.h"
#include "MiscUtil.h"
struct TypeDescriptor
{

View File

@ -6,6 +6,7 @@
#include "YaraRuleSelectionDialog.h"
#include "EntropyDialog.h"
#include "BrowseDialog.h"
#include "SearchListView.h"
#include <QVBoxLayout>
#include <QProcess>
#include <QFileDialog>

View File

@ -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),

View File

@ -2,6 +2,8 @@
#include <QJsonDocument>
#include <QJsonObject>
#include <QThread>
#include "MiscUtil.h"
#include "StringUtil.h"
TraceFileReader::TraceFileReader(QObject* parent) : QObject(parent)
{

View File

@ -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)
{

View File

@ -1,5 +1,6 @@
#include "Breakpoints.h"
#include "EditBreakpointDialog.h"
#include "StringUtil.h"
Breakpoints::Breakpoints(QObject* parent) : QObject(parent)
{

View File

@ -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),

View File

@ -7,6 +7,7 @@
#include <QDateTime>
#include "Bridge.h"
#include "StringUtil.h"
#include "MiscUtil.h"
UpdateChecker::UpdateChecker(QWidget* parent)
: QNetworkAccessManager(parent),

View File

@ -7,6 +7,7 @@
#include <QTranslator>
#include <QTextStream>
#include <QLibraryInfo>
#include "MiscUtil.h"
MyApplication::MyApplication(int & argc, char** argv)
: QApplication(argc, argv)