-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
60 lines (45 loc) · 1.2 KB
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QMdiArea>
#include <QMdiSubWindow>
#include <QTextEdit>
#include <QLineEdit>
#include <QPushButton>
#include "cmdwidget.hpp"
#include "asmwidget.h"
#include "stacktracewidget.h"
#include "symbolswindow.h"
#include "LtDbg/LtDbg/Dbg.hpp"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
public slots:
void connectToLtKernel();
private:
void _initView();
void _initMenu();
void _initDebuggerManager();
QWidget * _window;
QVBoxLayout * _mainLayout;
QHBoxLayout * _pipeEditLayout;
QLineEdit * _pipeLineEdit;
QPushButton * _connexionButton;
QMdiArea * _subWindowsArea;
QMdiSubWindow * _stackTraceSubWindow;
QMdiSubWindow * _asmSubWindow;
QMdiSubWindow * _consoleSubWindow;
StackTraceWidget * _stackTraceTextEdit;
AsmWidget * _asmTextEdit;
CmdWidget * _cmdWidget;
QAction * _actionSymbols;
QAction * _actionQuit;
Dbg * _dbg;
SymbolsWindow * _symbolsWindow;
};
#endif // MAINWINDOW_H