Freeciv-3.2
|
#include <shortcuts.h>
Public Member Functions | |
fc_shortcut_popup (QWidget *parent) | |
void | run (fc_shortcut *s) |
Data Fields | |
fc_shortcut * | sc |
Protected Member Functions | |
void | closeEvent (QCloseEvent *) |
Private Member Functions | |
bool | check_if_exist () |
Private Attributes | |
line_edit | edit |
Definition at line 156 of file shortcuts.h.
fc_shortcut_popup::fc_shortcut_popup | ( | QWidget * | parent | ) |
Constructor for setting shortcuts
Definition at line 331 of file shortcuts.cpp.
|
private |
Checks is shortcut is already assigned and popups hud box then or return false if is not assigned
Definition at line 418 of file shortcuts.cpp.
Referenced by closeEvent().
|
protected |
Closes given popup and sets shortcut
Definition at line 399 of file shortcuts.cpp.
void fc_shortcut_popup::run | ( | fc_shortcut * | s | ) |
Popups line edit for setting shortcut
Definition at line 385 of file shortcuts.cpp.
|
private |
Definition at line 167 of file shortcuts.h.
Referenced by fc_shortcut_popup(), and run().
fc_shortcut* fc_shortcut_popup::sc |
Definition at line 162 of file shortcuts.h.
Referenced by check_if_exist(), closeEvent(), fc_shortcut_popup(), line_edit::keyReleaseEvent(), line_edit::mousePressEvent(), and run().