List of all members | Public Member Functions
Action Class Reference

A convenience subclass of QAction for simplifying the association of menu items with icons, toolbar buttons, and hotkeys. More...

#include <guiclient.h>

Inheritance diagram for Action:
QAction

Public Member Functions

 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 &)
 

Detailed Description

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:

See also
Privileges::isDba()
Todo:
Add support for @name:mode - call name::userHasPriv(mode)

Constructor & Destructor Documentation

◆ 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::Action ( QWidget ,
const char *  ,
const QString &  ,
QObject ,
const char *  ,
QWidget ,
bool  ,
const QPixmap *  ,
QWidget  
)

◆ 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:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 5.1.0 doxygen 1.8.17