#include <qetmainwindow.h>
This is the base class for the main top-level windows within QElectroTech.
◆ QETMainWindow()
| QETMainWindow::QETMainWindow |
( |
QWidget * |
widget = nullptr, |
|
|
Qt::WindowFlags |
flags = Qt::Widget |
|
) |
| |
◆ ~QETMainWindow()
| QETMainWindow::~QETMainWindow |
( |
| ) |
|
|
override |
◆ actionForMenu()
| QAction * QETMainWindow::actionForMenu |
( |
QMenu * |
menu | ) |
|
|
protected |
- Returns
- the action returned when inserting menu
◆ checkToolbarsmenu
| void QETMainWindow::checkToolbarsmenu |
( |
| ) |
|
|
slot |
Check whether a sub menu dedicated to docks and toolbars can be inserted on top of the settings menu.
◆ dragEnterEvent()
| void QETMainWindow::dragEnterEvent |
( |
QDragEnterEvent * |
e | ) |
|
|
overrideprotected |
Accept or refuse drag'n drop events depending on the dropped mime type; especially, accepts only URLs to local files that we could open.
- Parameters
-
| e | le QDragEnterEvent correspondant au drag'n drop tente |
◆ dropEvent()
| void QETMainWindow::dropEvent |
( |
QDropEvent * |
e | ) |
|
|
overrideprotected |
Handle drops accepted on main windows; more specifically, open dropped files as long as they are handled by QElectrotech.
- Parameters
-
| e | the QDropEvent describing the current drag'n drop |
◆ event()
| bool QETMainWindow::event |
( |
QEvent * |
e | ) |
|
|
overrideprotected |
◆ firstActivation()
| void QETMainWindow::firstActivation |
( |
QEvent * |
| ) |
|
|
protectedvirtual |
◆ initCommonActions()
| void QETMainWindow::initCommonActions |
( |
| ) |
|
|
protected |
Initialize common actions.
◆ initCommonMenus()
| void QETMainWindow::initCommonMenus |
( |
| ) |
|
|
protected |
◆ insertMenu()
| void QETMainWindow::insertMenu |
( |
QMenu * |
before, |
|
|
QMenu * |
menu, |
|
|
bool |
customize = true |
|
) |
| |
|
protected |
Add menu before before. Unless customize is false, this method also enables some common settings on the inserted menu.
◆ toggleFullScreen
| void QETMainWindow::toggleFullScreen |
( |
| ) |
|
|
slot |
Toggle the window from/to full screen.
◆ updateFullScreenAction
| void QETMainWindow::updateFullScreenAction |
( |
| ) |
|
|
slot |
Update the look of the full screen action according to the current state of the window.
◆ about_qet_
| QAction* QETMainWindow::about_qet_ |
|
protected |
Launch the "About QElectroTech" dialog.
◆ about_qt_
| QAction* QETMainWindow::about_qt_ |
|
protected |
launch the "About Qt" dialog
◆ configure_action_
| QAction* QETMainWindow::configure_action_ |
|
protected |
Launch the QElectroTech configuration dialog.
◆ display_toolbars_
| QMenu* QETMainWindow::display_toolbars_ |
|
protected |
Show/hide toolbars/docks.
◆ donate_
| QAction* QETMainWindow::donate_ |
|
protected |
Launch browser to donate link.
◆ first_activation_
| bool QETMainWindow::first_activation_ |
|
protected |
Used to detect whether the window is activated for the first time.
◆ fullscreen_action_
| QAction* QETMainWindow::fullscreen_action_ |
|
protected |
◆ help_menu_
| QMenu* QETMainWindow::help_menu_ |
|
protected |
◆ manual_online_
| QAction* QETMainWindow::manual_online_ |
|
protected |
Launch browser on QElectroTech online manual.
◆ menu_actions_
| QHash<QMenu *, QAction *> QETMainWindow::menu_actions_ |
|
protected |
Store actions retrieved when inserting menus.
◆ settings_menu_
| QMenu* QETMainWindow::settings_menu_ |
|
protected |
◆ upgrade_
| QAction* QETMainWindow::upgrade_ |
|
protected |
Launch browser on QElectroTech Windows Nightly builds.
◆ upgrade_M
| QAction* QETMainWindow::upgrade_M |
|
protected |
Launch browser on QElectroTech MAC_OS_X builds.
◆ whatsthis_action_
| QAction* QETMainWindow::whatsthis_action_ |
|
protected |
Toggle "What's this" mode.
◆ youtube_
| QAction* QETMainWindow::youtube_ |
|
protected |
Launch browser on QElectroTech Youtube channel.
The documentation for this class was generated from the following files: