-
-
Notifications
You must be signed in to change notification settings - Fork 143
/
mainwindow.h
40 lines (33 loc) · 1.01 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
#pragma once
#include <kddockwidgets/MainWindow.h>
#include <QPushButton>
#include <QLabel>
class MainWindow : public KDDockWidgets::MainWindow
{
Q_OBJECT
public:
explicit MainWindow();
~MainWindow() = default;
protected:
void closeEvent(QCloseEvent* e) override;
void dragEnterEvent(QDragEnterEvent* e) override;
void dragMoveEvent(QDragMoveEvent* e) override;
void dropEvent(QDropEvent* e) override;
private Q_SLOTS:
void onSignaturesClicked();
void onResetLayoutClicked();
private:
void createFileMenu();
void createREDasmMenu();
void createWindowMenu();
void createHelpMenu();
void initializeConfig();
void loadWindowState();
void checkCommandLine();
bool loadDatabase(const QString& filepath);
bool canClose();
private:
QLabel *m_lblstatus, *m_lblprogress, *m_lblstatusicon;
QStringList m_recents;
QPushButton *m_pbproblems, *m_pbrenderer;
};