|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef QET_MAIN_WINDOW_H
19 #define QET_MAIN_WINDOW_H
20 #include <QMainWindow>
31 QETMainWindow(QWidget * =
nullptr, Qt::WindowFlags = Qt::Widget);
38 void insertMenu(QMenu *, QMenu *,
bool =
true);
42 bool event(QEvent *)
override;
QIcon QETDownload
Definition: qeticons.cpp:213
void dragEnterEvent(QDragEnterEvent *e) override
Definition: qetmainwindow.cpp:255
QIcon Configure
Definition: qeticons.cpp:38
QHash< QMenu *, QAction * > menu_actions_
Store actions retrieved when inserting menus.
Definition: qetmainwindow.h:68
The QETApp class This class represents the QElectroTech application.
Definition: qetapp.h:55
Definition: qetmainwindow.h:26
QMenu * display_toolbars_
Show/hide toolbars/docks.
Definition: qetmainwindow.h:67
QAction * upgrade_M
Launch browser on QElectroTech MAC_OS_X builds.
Definition: qetmainwindow.h:62
QIcon QETVideo
Definition: qeticons.cpp:214
void updateFullScreenAction()
Definition: qetmainwindow.cpp:202
QAction * configure_action_
Launch the QElectroTech configuration dialog.
Definition: qetmainwindow.h:55
QIcon FullScreenEnter
Definition: qeticons.cpp:103
static QList< QETDiagramEditor * > diagramEditors()
QETApp::diagramEditors.
Definition: qetapp.cpp:1214
void dropEvent(QDropEvent *e) override
Definition: qetmainwindow.cpp:268
void configureQET()
QETApp::configureQET Allows the user to configure QET by launching an appropriate dialog.
Definition: qetapp.cpp:1744
QIcon QETDonate
Definition: qeticons.cpp:212
bool first_activation_
Used to detect whether the window is activated for the first time.
Definition: qetmainwindow.h:69
bool event(QEvent *) override
Definition: qetmainwindow.cpp:233
QAction * manual_online_
Launch browser on QElectroTech online manual.
Definition: qetmainwindow.h:59
QMenu * help_menu_
Help menu.
Definition: qetmainwindow.h:66
QAction * about_qet_
Launch the "About QElectroTech" dialog.
Definition: qetmainwindow.h:58
QAction * donate_
Launch browser to donate link.
Definition: qetmainwindow.h:63
void insertMenu(QMenu *, QMenu *, bool=true)
Definition: qetmainwindow.cpp:172
Definition: qetarguments.h:26
QAction * youtube_
Launch browser on QElectroTech Youtube channel.
Definition: qetmainwindow.h:60
QETMainWindow(QWidget *=nullptr, Qt::WindowFlags=Qt::Widget)
Definition: qetmainwindow.cpp:34
QAction * fullscreen_action_
Toggle full screen.
Definition: qetmainwindow.h:56
~QETMainWindow() override
Definition: qetmainwindow.cpp:48
QIcon FullScreenExit
Definition: qeticons.cpp:104
QAction * actionForMenu(QMenu *)
Definition: qetmainwindow.cpp:187
QIcon QETLogo
Definition: qeticons.cpp:151
QIcon ConfigureToolbars
Definition: qeticons.cpp:39
QAction * whatsthis_action_
Toggle "What's this" mode.
Definition: qetmainwindow.h:57
QMenu * settings_menu_
Settings menu.
Definition: qetmainwindow.h:65
static QETApp * instance()
QETApp::instance.
Definition: qetapp.cpp:153
void initCommonMenus()
Definition: qetmainwindow.cpp:134
void initCommonActions()
Definition: qetmainwindow.cpp:54
Definition: qetdiagrameditor.h:51
static QStringList handledFiles(const QList< QUrl > &)
QETApp::handledFiles.
Definition: qetapp.cpp:914
void checkToolbarsmenu()
Definition: qetmainwindow.cpp:219
QIcon QETManual
Definition: qeticons.cpp:211
QIcon QtLogo
Definition: qeticons.cpp:153
QAction * upgrade_
Launch browser on QElectroTech Windows Nightly builds.
Definition: qetmainwindow.h:61
QAction * about_qt_
launch the "About Qt" dialog
Definition: qetmainwindow.h:64
QIcon tr
Definition: qeticons.cpp:206
void toggleFullScreen()
Definition: qetmainwindow.cpp:194
virtual void firstActivation(QEvent *)
Definition: qetmainwindow.cpp:246