dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Core::Internal::Action Class Reference

#include <command_p.h>

Inheritance diagram for Core::Internal::Action:
Core::Internal::CommandPrivate Core::Command Core::Internal::OverrideableAction

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< CommandLocationlocations () 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< CommandLocationm_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 ()
 

Detailed Description

Definition at line 108 of file command_p.h.


The documentation for this class was generated from the following files: