QAction

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
  1. class QAction
  2. class QAction
    version(!QT_NO_ACTION)
    extern (C++)
    class QAction : QObject {}

Constructors

this
this(QObject parent)
Undocumented in source.
this
this(const(QString) text, QObject parent)
Undocumented in source.
this
this(const(QIcon) icon, const(QString) text, QObject parent)
Undocumented in source.
this
this(QActionPrivate dd, QObject parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

ActionEvent
enum ActionEvent
Undocumented in source.
MenuRole
enum MenuRole
Undocumented in source.
Priority
enum Priority
Undocumented in source.

Functions

actionGroup
QActionGroup actionGroup()
Undocumented in source.
activate
void activate(ActionEvent event)
Undocumented in source.
associatedGraphicsWidgets
QList!(QGraphicsWidget*) associatedGraphicsWidgets()
Undocumented in source.
associatedWidgets
QList!(QWidget) associatedWidgets()
Undocumented in source.
autoRepeat
bool autoRepeat()
Undocumented in source.
changed
void changed()
Undocumented in source.
data
QVariant data()
Undocumented in source.
event
bool event(QEvent )
Undocumented in source.
font
QFont font()
Undocumented in source.
hover
void hover()
Undocumented in source. Be warned that the author may not have intended to support it.
hovered
void hovered()
Undocumented in source.
icon
QIcon icon()
Undocumented in source.
iconText
QString iconText()
Undocumented in source.
isCheckable
bool isCheckable()
Undocumented in source.
isChecked
bool isChecked()
Undocumented in source.
isEnabled
bool isEnabled()
Undocumented in source.
isIconVisibleInMenu
bool isIconVisibleInMenu()
Undocumented in source.
isSeparator
bool isSeparator()
Undocumented in source.
isShortcutVisibleInContextMenu
bool isShortcutVisibleInContextMenu()
Undocumented in source.
isVisible
bool isVisible()
Undocumented in source.
menu
QMenu menu()
Undocumented in source.
menuRole
MenuRole menuRole()
Undocumented in source.
parentWidget
QWidget parentWidget()
Undocumented in source.
priority
Priority priority()
Undocumented in source.
setActionGroup
void setActionGroup(QActionGroup group)
Undocumented in source.
setAutoRepeat
void setAutoRepeat(bool )
Undocumented in source.
setCheckable
void setCheckable(bool )
Undocumented in source.
setChecked
void setChecked(bool )
Undocumented in source.
setData
void setData(const(QVariant) var)
Undocumented in source.
setDisabled
void setDisabled(bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
setEnabled
void setEnabled(bool )
Undocumented in source.
setFont
void setFont(const(QFont) font)
Undocumented in source.
setIcon
void setIcon(const(QIcon) icon)
Undocumented in source.
setIconText
void setIconText(const(QString) text)
Undocumented in source.
setIconVisibleInMenu
void setIconVisibleInMenu(bool visible)
Undocumented in source.
setMenu
void setMenu(QMenu menu)
Undocumented in source.
setMenuRole
void setMenuRole(MenuRole menuRole)
Undocumented in source.
setPriority
void setPriority(Priority priority)
Undocumented in source.
setSeparator
void setSeparator(bool b)
Undocumented in source.
setShortcut
void setShortcut(const(QKeySequence) shortcut)
Undocumented in source.
setShortcut
void setShortcut(QString shortcut)
Undocumented in source. Be warned that the author may not have intended to support it.
setShortcutContext
void setShortcutContext(qt.core.namespace.ShortcutContext context)
Undocumented in source.
setShortcutVisibleInContextMenu
void setShortcutVisibleInContextMenu(bool show)
Undocumented in source.
setShortcuts
void setShortcuts(const(QList!(QKeySequence)) shortcuts)
Undocumented in source.
setStatusTip
void setStatusTip(const(QString) statusTip)
Undocumented in source.
setText
void setText(const(QString) text)
Undocumented in source.
setText
void setText(QString s)
Undocumented in source. Be warned that the author may not have intended to support it.
setToolTip
void setToolTip(const(QString) tip)
Undocumented in source.
setVisible
void setVisible(bool )
Undocumented in source.
setWhatsThis
void setWhatsThis(const(QString) what)
Undocumented in source.
shortcut
QKeySequence shortcut()
Undocumented in source.
shortcutContext
qt.core.namespace.ShortcutContext shortcutContext()
Undocumented in source.
shortcuts
QList!(QKeySequence) shortcuts()
Undocumented in source.
showStatusText
bool showStatusText(QWidget widget)
Undocumented in source.
statusTip
QString statusTip()
Undocumented in source.
text
QString text()
Undocumented in source.
toggle
void toggle()
Undocumented in source.
toggled
void toggled(bool )
Undocumented in source.
toolTip
QString toolTip()
Undocumented in source.
trigger
void trigger()
Undocumented in source. Be warned that the author may not have intended to support it.
triggered
void triggered(bool checked)
Undocumented in source.
whatsThis
QString whatsThis()
Undocumented in source.

Inherited Members

From QObject

~this
~this()
Undocumented in source.
QSignal
struct QSignal
Undocumented in source.
QSlot
struct QSlot
Undocumented in source.
QInvokable
struct QInvokable
Undocumented in source.
QScriptable
struct QScriptable
Undocumented in source.
Q_OBJECT
enum Q_OBJECT;
Undocumented in source.
Q_OBJECT_D
enum Q_OBJECT_D;
Undocumented in source.
Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;
Undocumented in source.
event
bool event(QEvent event)
Undocumented in source.
eventFilter
bool eventFilter(QObject watched, QEvent event)
Undocumented in source.
tr
QString tr(const(char)* sourceText, const(char)* , int )
Undocumented in source. Be warned that the author may not have intended to support it.
objectName
QString objectName()
Undocumented in source.
setObjectName
void setObjectName(const(QString) name)
Undocumented in source.
setObjectName
void setObjectName(const(char)[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
isWidgetType
bool isWidgetType()
Undocumented in source. Be warned that the author may not have intended to support it.
isWindowType
bool isWindowType()
Undocumented in source. Be warned that the author may not have intended to support it.
signalsBlocked
bool signalsBlocked()
Undocumented in source. Be warned that the author may not have intended to support it.
blockSignals
bool blockSignals(bool b)
Undocumented in source.
thread
QThread thread()
Undocumented in source.
moveToThread
void moveToThread(QThread thread)
Undocumented in source.
startTimer
int startTimer(int interval, qt.core.namespace.TimerType timerType)
Undocumented in source.
killTimer
void killTimer(int id)
Undocumented in source.
children
const(QObjectList) children()
Undocumented in source. Be warned that the author may not have intended to support it.
setParent
void setParent(QObject parent)
Undocumented in source.
installEventFilter
void installEventFilter(QObject filterObj)
Undocumented in source.
removeEventFilter
void removeEventFilter(QObject obj)
Undocumented in source.
connect
QMetaObject.Connection connect(QObject sender, char* signal, QObject receiver, char* member, ConnectionType )
Undocumented in source.
signal
template signal(string name, Params...)
Undocumented in source.
slot
template slot(string name, Params...)
Undocumented in source.
connect
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)
Undocumented in source. Be warned that the author may not have intended to support it.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
dumpObjectTree
void dumpObjectTree()
Undocumented in source.
dumpObjectInfo
void dumpObjectInfo()
Undocumented in source.
setProperty
bool setProperty(const(char)* name, const(QVariant) value)
Undocumented in source.
setProperty
bool setProperty(const(char)* name, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
property
QVariant property(const(char)* name)
Undocumented in source.
dynamicPropertyNames
QList!(QByteArray) dynamicPropertyNames()
Undocumented in source.
registerUserData
uint registerUserData()
Undocumented in source.
setUserData
void setUserData(uint id, QObjectUserData data)
Undocumented in source.
userData
QObjectUserData userData(uint id)
Undocumented in source.
destroyed
void destroyed(QObject )
Undocumented in source.
objectNameChanged
void objectNameChanged(const(QString) objectName, QPrivateSignal )
Undocumented in source.
parent
QObject parent()
Undocumented in source. Be warned that the author may not have intended to support it.
inherits
bool inherits(const(char)* classname)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteLater
void deleteLater()
Undocumented in source.
sender
QObject sender()
Undocumented in source.
senderSignalIndex
int senderSignalIndex()
Undocumented in source.
receivers
int receivers(const(char)* signal)
Undocumented in source.
isSignalConnected
bool isSignalConnected(const(QMetaMethod) signal)
Undocumented in source.
timerEvent
void timerEvent(QTimerEvent event)
Undocumented in source.
childEvent
void childEvent(QChildEvent event)
Undocumented in source.
customEvent
void customEvent(QEvent event)
Undocumented in source.
connectNotify
void connectNotify(const(QMetaMethod) signal)
Undocumented in source.
disconnectNotify
void disconnectNotify(const(QMetaMethod) signal)
Undocumented in source.
d_ptr
QScopedPointer!(QObjectData) d_ptr;
Undocumented in source.

Meta