![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <shortcuts.h>
Inheritance diagram for fc_shortcuts_dialog:
Collaboration diagram for fc_shortcuts_dialog:Public Member Functions | |
| fc_shortcuts_dialog (QWidget *parent=0) | |
| Contructor for shortcut dialog. More... | |
| ~fc_shortcuts_dialog () override | |
| Destructor for shortcut dialog. More... | |
| bool | shortcut_exists (const fc_shortcut &shortcut, QString &where) const |
| Checks if a shortcut already exists. More... | |
Private Slots | |
| void | apply_option (int response) |
| Slot for buttons on bottom of shortcut dialog. More... | |
| void | edit_shortcut () |
| Slot for editing shortcut. More... | |
Private Member Functions | |
| void | add_option (const fc_shortcut &sc) |
| Adds shortcut option for dialog. More... | |
| void | init () |
| Inits shortcut dialog layout. More... | |
| void | refresh () |
| Reinitializes layout. More... | |
Private Attributes | |
| QVBoxLayout * | main_layout |
| QVBoxLayout * | scroll_layout |
| QDialogButtonBox * | button_box |
Definition at line 190 of file shortcuts.h.
| fc_shortcuts_dialog::fc_shortcuts_dialog | ( | QWidget * | parent = 0 | ) |
Contructor for shortcut dialog.
Definition at line 559 of file shortcuts.cpp.
|
overridedefault |
Destructor for shortcut dialog.
|
private |
Adds shortcut option for dialog.
Definition at line 625 of file shortcuts.cpp.
Referenced by init().
|
privateslot |
Slot for buttons on bottom of shortcut dialog.
Definition at line 716 of file shortcuts.cpp.
Referenced by init().
|
privateslot |
Slot for editing shortcut.
Definition at line 644 of file shortcuts.cpp.
Referenced by add_option().
|
private |
Inits shortcut dialog layout.
Definition at line 579 of file shortcuts.cpp.
Referenced by fc_shortcuts_dialog(), and refresh().
|
private |
| bool fc_shortcuts_dialog::shortcut_exists | ( | const fc_shortcut & | shortcut, |
| QString & | where | ||
| ) | const |
Checks if a shortcut already exists.
Definition at line 674 of file shortcuts.cpp.
Referenced by edit_shortcut().
|
private |
Definition at line 194 of file shortcuts.h.
Referenced by init().
|
private |
Definition at line 192 of file shortcuts.h.
|
private |
Definition at line 193 of file shortcuts.h.
Referenced by add_option(), and init().