Reaction to when things are dragged into the main window.
More...
#include <pqMainWindowEventBehavior.h>
Inherits QObject.
|
| void | onClose (QCloseEvent *) |
| | Triggered when a close event occurs on the main window. More...
|
| |
| void | onShow (QShowEvent *) |
| | Triggered when a show event occurs on the main window. More...
|
| |
| void | onDragEnter (QDragEnterEvent *) |
| | Triggered when a drag enter event occurs on the main window. More...
|
| |
| void | onDrop (QDropEvent *) |
| | Triggered when a drop event occurs on the main window. More...
|
| |
Reaction to when things are dragged into the main window.
Definition at line 19 of file pqMainWindowEventBehavior.h.
◆ pqMainWindowEventBehavior()
| pqMainWindowEventBehavior::pqMainWindowEventBehavior |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~pqMainWindowEventBehavior()
| pqMainWindowEventBehavior::~pqMainWindowEventBehavior |
( |
| ) |
|
|
override |
◆ onClose
| void pqMainWindowEventBehavior::onClose |
( |
QCloseEvent * |
| ) |
|
|
slot |
Triggered when a close event occurs on the main window.
If the settings ShowSaveStateOnExit is true, shows a popup to ask for saving state with 3 options:
- Save: run a save state and quit
- Discard: quit without saving
- Cancel: do not quit nor save; return to the application
◆ onShow
| void pqMainWindowEventBehavior::onShow |
( |
QShowEvent * |
| ) |
|
|
slot |
Triggered when a show event occurs on the main window.
◆ onDragEnter
| void pqMainWindowEventBehavior::onDragEnter |
( |
QDragEnterEvent * |
| ) |
|
|
slot |
Triggered when a drag enter event occurs on the main window.
◆ onDrop
| void pqMainWindowEventBehavior::onDrop |
( |
QDropEvent * |
| ) |
|
|
slot |
Triggered when a drop event occurs on the main window.
The documentation for this class was generated from the following file: