A convenience subclass of QAction for simplifying the association of menu items with icons, toolbar buttons, and hotkeys.
More...
#include <guiclient.h>
|
| | Action (QWidget *, const char *, const QString &, QObject *, const char *, QWidget *, bool) |
| |
| | Action (QWidget *, const char *, const QString &, QObject *, const char *, QWidget *, bool, const QPixmap *, QWidget *) |
| |
| | Action (QWidget *, const char *, const QString &, QObject *, const char *, QWidget *, bool, const QPixmap *, QWidget *, const QString &) |
| |
| | Action (QWidget *, const char *, const QString &, QObject *, const char *, QWidget *, const QString &) |
| |
| | Action (QWidget *, const char *, const QString &, QObject *, const char *, QWidget *, const QString &, const QPixmap *, QWidget *) |
| |
| | Action (QWidget *, const char *, const QString &, QObject *, const char *, QWidget *, const QString &, const QPixmap *, QWidget *, const QString &) |
| |
A convenience subclass of QAction for simplifying the association of menu items with icons, toolbar buttons, and hotkeys.
Core application menu items are built using the Action class. The Action constructors - actually Action::init - attach QString values describing the user's permissions as QAction::data. These strings are interpreted in the following fashion:
true - the user can use this QAction
false - the user can not use this QAction
Priv - the user must have SimplePriv
#superuser - the user must be a DBA
PrivA PrivB - the user can have either PrivA or PrivB
PrivA+PrivB - the user must have both PrivA and PrivB
- See also
- Privileges::isDba()
- Todo:
- Add support for
@name:mode - call name::userHasPriv(mode)
◆ Action() [1/6]
| Action::Action |
( |
QWidget * |
pParent, |
|
|
const char * |
pName, |
|
|
const QString & |
pDisplayName, |
|
|
QObject * |
pTarget, |
|
|
const char * |
pActivateSlot, |
|
|
QWidget * |
pAddTo, |
|
|
bool |
pEnabled |
|
) |
| |
◆ Action() [2/6]
◆ Action() [3/6]
| Action::Action |
( |
QWidget * |
, |
|
|
const char * |
, |
|
|
const QString & |
, |
|
|
QObject * |
, |
|
|
const char * |
, |
|
|
QWidget * |
, |
|
|
bool |
, |
|
|
const QPixmap * |
, |
|
|
QWidget * |
, |
|
|
const QString & |
|
|
) |
| |
◆ Action() [4/6]
| Action::Action |
( |
QWidget * |
pParent, |
|
|
const char * |
pName, |
|
|
const QString & |
pDisplayName, |
|
|
QObject * |
pTarget, |
|
|
const char * |
pActivateSlot, |
|
|
QWidget * |
pAddTo, |
|
|
const QString & |
pEnabled |
|
) |
| |
◆ Action() [5/6]
| Action::Action |
( |
QWidget * |
pParent, |
|
|
const char * |
pName, |
|
|
const QString & |
pDisplayName, |
|
|
QObject * |
pTarget, |
|
|
const char * |
pActivateSlot, |
|
|
QWidget * |
pAddTo, |
|
|
const QString & |
pEnabled, |
|
|
const QPixmap * |
pIcon, |
|
|
QWidget * |
pToolBar |
|
) |
| |
◆ Action() [6/6]
| Action::Action |
( |
QWidget * |
pParent, |
|
|
const char * |
pName, |
|
|
const QString & |
pDisplayName, |
|
|
QObject * |
pTarget, |
|
|
const char * |
pActivateSlot, |
|
|
QWidget * |
pAddTo, |
|
|
const QString & |
pEnabled, |
|
|
const QPixmap * |
pIcon, |
|
|
QWidget * |
pToolBar, |
|
|
const QString & |
pToolTip |
|
) |
| |
The documentation for this class was generated from the following files:
- guiclient.h
- guiclient.cpp