#include <GUI_Shortcuts.h>
|
|
| GUI_Shortcuts (QWidget *parent=nullptr) |
| |
|
void | revert () override |
| | This method is called, when cancel is clicked. So the gui should be re-initialized when this method is called. This method should also be called in the init_ui() method.
|
| |
|
void | commit () override |
| | This method is called, when OK or apply is pressed. So all settings should be written there.
|
| |
| QString | get_action_name () const override |
| | has to be implemented and should return the translated action text More...
|
| |
| virtual bool | is_ui_initialized () const final |
| | checks if ui has already been initialized. More...
|
| |
| virtual QAction * | get_action () final |
| | get action with translated text More...
|
| |
|
SayonaraDialog * | box_into_dialog () |
| |
|
|
virtual void | skin_changed () |
| |
◆ closeEvent()
|
|
inlineoverrideprotectedinherited |
closes the widget
- Parameters
-
◆ get_action()
|
|
inlinefinalvirtualinherited |
get action with translated text
- Returns
◆ get_action_name()
| QString GUI_Shortcuts::get_action_name |
( |
| ) |
const |
|
overridevirtual |
◆ is_ui_initialized()
|
|
inlinefinalvirtualinherited |
checks if ui has already been initialized.
- Returns
- false, if the widget has never been activated before, true else
◆ language_changed()
|
|
inlinefinaloverrideprotectedvirtualinherited |
◆ setup_parent()
Sets up the Preference dialog. After this method, the dialog is "ready to use"
This method should be the first to be called when calling init_ui()
- Parameters
-
| widget | should always be "this" |
◆ showEvent()
|
|
inlineoverrideprotectedinherited |
shows the widget and automatically calls init_ui()
- Parameters
-