45 Q_PROPERTY(
bool showText READ showText WRITE setShowText)
52 EAction ( QString standardIconName, QString iconPath,
const QString & text, QObject * parent = 0,
bool enableText =
false );
53 EAction (
const QString & text, QObject * parent = 0 );
61 QAction *actionWithText();
62 void setText (
const QString & text );
63 void setIcon(
const QIcon& icon);
64 void setIcon(QString standardIconName, QString iconPath );
68 void setShowText(
bool anytime =
true);
69 bool showText()
const;
72 void setEnabled (
bool status );
73 void setDisabled (
bool status );
76 void triggeredByPass();
79 void init(
bool enableText);
QString myText
Definition: eaction.h:81
bool myShowText
Definition: eaction.h:82
QPointer< QAction > myActionWithText
Definition: eaction.h:83
#define E_CORE_EXPORT
Definition: eglobal.h:107
QAction replacement, which handles "iconsAndText"-option and QIcon::fromTheme.
Definition: eaction.h:37