18#ifndef QET_MAIN_WINDOW_H
19#define QET_MAIN_WINDOW_H
31 QETMainWindow(QWidget * =
nullptr, Qt::WindowFlags = Qt::Widget);
38 void insertMenu(QMenu *, QMenu *,
bool =
true);
42 bool event(QEvent *)
override;
Definition qetmainwindow.h:26
void initCommonMenus()
Definition qetmainwindow.cpp:143
void dropEvent(QDropEvent *e) override
Definition qetmainwindow.cpp:281
QAction * about_qet_
Launch the "About QElectroTech" dialog.
Definition qetmainwindow.h:58
QAction * donate_
Launch browser to donate link.
Definition qetmainwindow.h:63
QMenu * help_menu_
Help menu.
Definition qetmainwindow.h:66
void checkToolbarsmenu()
Definition qetmainwindow.cpp:231
void toggleFullScreen()
Definition qetmainwindow.cpp:204
void dragEnterEvent(QDragEnterEvent *e) override
Definition qetmainwindow.cpp:268
QMenu * display_toolbars_
Show/hide toolbars/docks.
Definition qetmainwindow.h:67
void updateFullScreenAction()
Definition qetmainwindow.cpp:213
virtual void firstActivation(QEvent *)
Definition qetmainwindow.cpp:259
QAction * upgrade_M
Launch browser on QElectroTech MAC_OS_X builds.
Definition qetmainwindow.h:62
void initCommonActions()
Definition qetmainwindow.cpp:55
QAction * actionForMenu(QMenu *)
Definition qetmainwindow.cpp:197
QAction * whatsthis_action_
Toggle "What's this" mode.
Definition qetmainwindow.h:57
bool first_activation_
Used to detect whether the window is activated for the first time.
Definition qetmainwindow.h:69
QAction * configure_action_
Launch the QElectroTech configuration dialog.
Definition qetmainwindow.h:55
void insertMenu(QMenu *, QMenu *, bool=true)
Definition qetmainwindow.cpp:182
QMenu * settings_menu_
Settings menu.
Definition qetmainwindow.h:65
~QETMainWindow() override
Definition qetmainwindow.cpp:48
QAction * about_qt_
launch the "About Qt" dialog
Definition qetmainwindow.h:64
QAction * youtube_
Launch browser on QElectroTech Youtube channel.
Definition qetmainwindow.h:60
bool event(QEvent *) override
Definition qetmainwindow.cpp:246
QAction * upgrade_
Launch browser on QElectroTech Windows Nightly builds.
Definition qetmainwindow.h:61
QAction * manual_online_
Launch browser on QElectroTech online manual.
Definition qetmainwindow.h:59
QHash< QMenu *, QAction * > menu_actions_
Store actions retrieved when inserting menus.
Definition qetmainwindow.h:68
QAction * fullscreen_action_
Toggle full screen.
Definition qetmainwindow.h:56