Skui 0.0.1
Build fast and easy to use control software with Skui.
 
Loading...
Searching...
No Matches
mainwindow.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <QDesktopServices>
4#include <QDir>
5#include <QMainWindow>
6#include <QMessageBox>
7
8#include "document.hpp"
9#include "nodeeditor.hpp"
10#include "panel.hpp"
11
12QT_BEGIN_NAMESPACE
13namespace Ui {
14class MainWindow;
15}
16QT_END_NAMESPACE
17
19{
20 QString tool_tip;
22 QIcon icon;
23};
24
25class MainWindow : public QMainWindow
26{
27 Q_OBJECT
28
29public:
30 MainWindow(QWidget *parent = nullptr);
32
33protected:
34 bool event(QEvent *);
35
36signals:
38
39private slots:
40 void on_mode_changed_button_clicked();
41
42private:
43 Ui::MainWindow *ui;
44
45 void loadInsertVisualMenu();
46 void loadDebugMenu();
47 void loadAboutMenu();
48 void loadAlignTools();
49
50 DisplayMode m_display_mode = DisplayMode::Run;
51};
Definition mainwindow.hpp:26
void modeChanged(DisplayMode)
MainWindow(QWidget *parent=nullptr)
Definition mainwindow.cpp:7
bool event(QEvent *)
Definition mainwindow.cpp:133
~MainWindow()
Definition mainwindow.cpp:34
Definition mainwindow.hpp:13
DisplayMode
Definition panel.hpp:16
@ Run
Definition panel.hpp:16
AlignDirection
Definition panel.hpp:14
Definition mainwindow.hpp:19
AlignDirection direction
Definition mainwindow.hpp:21
QIcon icon
Definition mainwindow.hpp:22
QString tool_tip
Definition mainwindow.hpp:20