BALL
1.4.2
|
#include <BALL/VIEW/WIDGETS/hotkeyTable.h>
Public Types | |
enum | Modifier { NONE = 0, SHIFT } |
Public Slots | |
virtual void | addEmptyRow () |
virtual void | removeSelection () |
virtual void | appendHotkey (const String &modif, const String &F_key, const String &command, String comment="") |
Public Member Functions | |
HotkeyTable (QWidget *parent=0, const char *name="PythonSettings") | |
virtual bool | getValue (String &value) const |
Overload this in derived classes! More... | |
virtual bool | setValue (const String &value) |
Overload this in derived classes! More... | |
std::list< Hotkey > | getContent () const |
void | setContent (const std::list< Hotkey > &hotkeys) |
Public Member Functions inherited from BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject | |
ExtendedPreferencesObject () | |
virtual | ~ExtendedPreferencesObject () |
Private Attributes | |
QStringList | modifier_ |
QStringList | keys_ |
ComboBoxDelegate | delegate_ |
Class for storing Python hotkeys in a GUI table
Definition at line 47 of file hotkeyTable.h.
Enumerator | |
---|---|
NONE | |
SHIFT |
Definition at line 56 of file hotkeyTable.h.
BALL::VIEW::HotkeyTable::HotkeyTable | ( | QWidget * | parent = 0 , |
const char * | name = "PythonSettings" |
||
) |
|
virtualslot |
|
virtualslot |
Append a hotkey F_key: 1-12 for the 12 F-keys
std::list<Hotkey> BALL::VIEW::HotkeyTable::getContent | ( | ) | const |
Overload this in derived classes!
Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.
|
virtualslot |
void BALL::VIEW::HotkeyTable::setContent | ( | const std::list< Hotkey > & | hotkeys | ) |
Overload this in derived classes!
Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.
|
private |
Definition at line 94 of file hotkeyTable.h.
|
private |
Definition at line 93 of file hotkeyTable.h.
|
private |
Definition at line 93 of file hotkeyTable.h.