dRonin
adbada4
dRonin GCS
|
#include <command_p.h>
Public Member Functions | |
Action (int id) | |
QString | name () const |
void | setDefaultKeySequence (const QKeySequence &key) |
void | setKeySequence (const QKeySequence &key) |
QKeySequence | keySequence () const |
virtual void | setAction (QAction *action) |
QAction * | action () const |
void | setLocations (const QList< CommandLocation > &locations) |
QList< CommandLocation > | locations () const |
Public Member Functions inherited from Core::Internal::CommandPrivate | |
CommandPrivate (int id) | |
virtual | ~CommandPrivate () |
QKeySequence | defaultKeySequence () const |
void | setDefaultText (const QString &text) |
QString | defaultText () const |
int | id () const |
QShortcut * | shortcut () const |
void | setAttribute (CommandAttribute attr) |
void | removeAttribute (CommandAttribute attr) |
bool | hasAttribute (CommandAttribute attr) const |
virtual bool | setCurrentContext (const QList< int > &context)=0 |
QString | stringWithAppendedShortcut (const QString &str) const |
Public Member Functions inherited from Core::Command | |
virtual bool | isActive () const =0 |
virtual | ~Command () |
Protected Member Functions | |
void | updateToolTipWithKeySequence () |
Protected Attributes | |
QAction * | m_action |
QList< CommandLocation > | m_locations |
QString | m_toolTip |
Protected Attributes inherited from Core::Internal::CommandPrivate | |
QString | m_category |
int | m_attributes |
int | m_id |
QKeySequence | m_defaultKey |
QString | m_defaultText |
Additional Inherited Members | |
Public Types inherited from Core::Command | |
enum | CommandAttribute { CA_Hide = 0x0100, CA_UpdateText = 0x0200, CA_UpdateIcon = 0x0400, CA_NonConfigureable = 0x8000, CA_Mask = 0xFF00 } |
Signals inherited from Core::Command | |
void | keySequenceChanged () |
Definition at line 108 of file command_p.h.