#include <BALL/VIEW/DIALOGS/pythonSettings.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! | |
virtual bool | setValue (const String &value) |
Overload this in derived classes! | |
List< Hotkey > | getContent () const |
void | setContent (const List< Hotkey > &hotkeys) |
Private Attributes | |
QStringList | modifier_ |
QStringList | keys_ |
ComboBoxDelegate | delegate_ |
Class for storing Python hotkeys in a GUI table
BALL::VIEW::HotkeyTable::HotkeyTable | ( | QWidget * | parent = 0 , |
|
const char * | name = "PythonSettings" | |||
) |
virtual void BALL::VIEW::HotkeyTable::addEmptyRow | ( | ) | [virtual, slot] |
virtual void BALL::VIEW::HotkeyTable::appendHotkey | ( | const String & | modif, | |
const String & | F_key, | |||
const String & | command, | |||
String | comment = "" | |||
) | [virtual, slot] |
Append a hotkey F_key: 1-12 for the 12 F-keys
Overload this in derived classes!
Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.
virtual void BALL::VIEW::HotkeyTable::removeSelection | ( | ) | [virtual, slot] |
Overload this in derived classes!
Implements BALL::VIEW::PreferencesEntry::ExtendedPreferencesObject.
QStringList BALL::VIEW::HotkeyTable::keys_ [private] |
QStringList BALL::VIEW::HotkeyTable::modifier_ [private] |