BALL::VIEW::ShortcutRegistry Class Reference
#include <BALL/VIEW/KERNEL/shortcutRegistry.h>
List of all members.
Detailed Description
ShortcutRegistry. It takes care of handling all shortcuts. It is responsible for registering, changing single shortcuts or loading entire shortcut-configuration files.
Constructor & Destructor Documentation
BALL::VIEW::ShortcutRegistry::ShortcutRegistry |
( |
|
) |
|
virtual BALL::VIEW::ShortcutRegistry::~ShortcutRegistry |
( |
|
) |
[virtual] |
Member Function Documentation
bool BALL::VIEW::ShortcutRegistry::changeShortcut |
( |
int |
index, |
|
|
const String & |
new_sequence | |
|
) |
| | |
bool BALL::VIEW::ShortcutRegistry::changeShortcut |
( |
QAction * |
shortcut, |
|
|
const String & |
new_sequence | |
|
) |
| | |
void BALL::VIEW::ShortcutRegistry::clear |
( |
|
) |
|
void BALL::VIEW::ShortcutRegistry::clearKeySequences |
( |
|
) |
|
Clear all key sequences for all registered QActions.
std::pair<String, QAction*> BALL::VIEW::ShortcutRegistry::getEntry_ |
( |
Index |
pos |
) |
[protected] |
virtual bool BALL::VIEW::ShortcutRegistry::getValue |
( |
String & |
|
) |
const [virtual] |
bool BALL::VIEW::ShortcutRegistry::hasDescription |
( |
const String & |
description |
) |
|
bool BALL::VIEW::ShortcutRegistry::hasKey |
( |
const String & |
key_seq |
) |
|
bool BALL::VIEW::ShortcutRegistry::hasKey |
( |
const QKeySequence & |
key_seq |
) |
|
bool BALL::VIEW::ShortcutRegistry::hasKey |
( |
const QString & |
key_seq |
) |
|
std::pair<String, QAction*> BALL::VIEW::ShortcutRegistry::operator[] |
( |
Index |
i |
) |
|
bool BALL::VIEW::ShortcutRegistry::readShortcutsFromFile |
( |
const String & |
filename |
) |
|
Read the shortcuts from a data file.
void BALL::VIEW::ShortcutRegistry::registerShortcut |
( |
String |
description, |
|
|
QAction * |
shortcut | |
|
) |
| | |
virtual bool BALL::VIEW::ShortcutRegistry::setValue |
( |
const String & |
|
) |
[virtual] |
void BALL::VIEW::ShortcutRegistry::shortcutChanged |
( |
|
) |
[signal] |
size_t BALL::VIEW::ShortcutRegistry::size |
( |
|
) |
|
bool BALL::VIEW::ShortcutRegistry::writeShortcutsToFile |
( |
const String & |
filename |
) |
|
Write the shortcuts to a data file.
Member Data Documentation