Definition at line 64 of file qaction.h.
Public Types
|
| enum |
MenuRole
{
NoRole,
TextHeuristicRole,
ApplicationSpecificRole,
AboutQtRole,
AboutRole,
PreferencesRole,
QuitRole
} |
| enum |
SoftKeyRole
{
NoSoftKey,
PositiveSoftKey,
NegativeSoftKey,
SelectSoftKey } |
| enum |
Priority
{
LowPriority = 0,
NormalPriority = 128,
HighPriority = 256 } |
| enum |
ActionEvent
{
Trigger,
Hover } |
Public Slots
|
| void |
trigger
() |
| void |
hover
() |
| void |
setChecked
(bool) |
| void |
toggle
() |
| void |
setEnabled
(bool) |
| void |
setDisabled
(bool b) |
| void |
setVisible
(bool) |
Signals
|
| void |
changed
() |
| void |
triggered
(bool checked=false) |
| void |
hovered
() |
| void |
toggled
(bool) |
Public Member Functions
|
| |
QAction
(QObject *parent) |
| |
QAction
(const QString
&text, QObject
*parent) |
| |
QAction
(const QIcon &icon,
const QString
&text, QObject
*parent) |
| |
~QAction
() |
| void |
setActionGroup
(QActionGroup
*group) |
| QActionGroup * |
actionGroup
() const |
| void |
setIcon
(const QIcon
&icon) |
| QIcon |
icon ()
const |
| void |
setText
(const QString
&text) |
| QString |
text ()
const |
| void |
setIconText
(const QString
&text) |
| QString |
iconText
() const |
| void |
setToolTip
(const QString
&tip) |
| QString |
toolTip
() const |
| void |
setStatusTip
(const QString
&statusTip) |
| QString |
statusTip
() const |
| void |
setWhatsThis
(const QString
&what) |
| QString |
whatsThis
() const |
| void |
setPriority
(Priority
priority) |
| Priority |
priority
() const |
| QMenu * |
menu ()
const |
| void |
setMenu
(QMenu *menu) |
| void |
setSeparator
(bool b) |
| bool |
isSeparator
() const |
| void |
setShortcut
(const QKeySequence &shortcut) |
| QKeySequence |
shortcut
() const |
| void |
setShortcuts
(const QList<
QKeySequence
> &shortcuts) |
| void |
setShortcuts
(QKeySequence::StandardKey) |
| QList< QKeySequence > |
shortcuts
() const |
| void |
setShortcutContext
(Qt::ShortcutContext
context) |
| Qt::ShortcutContext |
shortcutContext
() const |
| void |
setAutoRepeat
(bool) |
| bool |
autoRepeat
() const |
| void |
setFont
(const QFont
&font) |
| QFont |
font ()
const |
| void |
setCheckable
(bool) |
| bool |
isCheckable
() const |
| QVariant |
data ()
const |
| void |
setData
(const QVariant
&var) |
| bool |
isChecked
() const |
| bool |
isEnabled
() const |
| bool |
isVisible
() const |
| void |
activate
(ActionEvent
event) |
| bool |
showStatusText
(QWidget
*widget=0) |
| void |
setMenuRole
(MenuRole
menuRole) |
| MenuRole |
menuRole
() const |
| void |
setSoftKeyRole
(SoftKeyRole
softKeyRole) |
| SoftKeyRole |
softKeyRole
() const |
| void |
setIconVisibleInMenu
(bool visible) |
| bool |
isIconVisibleInMenu
() const |
| QWidget * |
parentWidget
() const |
| QList< QWidget * > |
associatedWidgets
() const |
| QList< QGraphicsWidget *
> |
associatedGraphicsWidgets
() const |
Protected Member Functions
|
| bool |
event
(QEvent *) |
| |
QAction
(QActionPrivate &dd, QObject *parent) |
Properties
|
| bool |
checkable |
| bool |
checked |
| bool |
enabled |
| QIcon |
icon |
| QString |
text |
| QString |
iconText |
| QString |
toolTip |
| QString |
statusTip |
| QString |
whatsThis |
| QFont |
font |
| QKeySequence |
shortcut |
| Qt::ShortcutContext |
shortcutContext |
| bool |
autoRepeat |
| bool |
visible |
| MenuRole |
menuRole |
| SoftKeyRole |
softKeyRole |
| bool |
iconVisibleInMenu |
| Priority |
priority |
Friends
|
| class |
QGraphicsWidget |
| class |
QWidget |
| class |
QActionGroup |
| class |
QMenu |
| class |
QMenuPrivate |
| class |
QMenuBar |
| class |
QShortcutMap |
| class |
QToolButton |