QAction

Binding for C++ class QAction.

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.
associatedObjects
QList!(QObject) associatedObjects()
Undocumented in source.
autoRepeat
bool autoRepeat()
Undocumented in source.
changed
void changed()
Undocumented in source.
checkableChanged
void checkableChanged(bool checkable)
Undocumented in source.
data
QVariant data()
Undocumented in source.
enabledChanged
void enabledChanged(bool enabled)
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
T menu()
Undocumented in source. Be warned that the author may not have intended to support it.
menuRole
MenuRole menuRole()
Undocumented in source.
parentWidget
T parentWidget()
Undocumented in source. Be warned that the author may not have intended to support it.
priority
Priority priority()
Undocumented in source.
resetEnabled
void resetEnabled()
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.
setData
void setData(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
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(T m)
Undocumented in source. Be warned that the author may not have intended to support it.
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.
setStatusTip
void setStatusTip(const(QString) statusTip)
Undocumented in source.
setText
void setText(const(QString) text)
Undocumented in source.
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.
showStatusText
bool showStatusText(QObject object)
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.
visibleChanged
void visibleChanged()
Undocumented in source.
whatsThis
QString whatsThis()
Undocumented in source.

Inherited Members

From QObject

~this
~this()
Undocumented in source.
QSignal
struct QSignal

UDA for marking member functions as signals.

QSlot
struct QSlot

UDA for marking member functions as slots.

QInvokable
struct QInvokable

UDA for marking member functions as invokable.

QScriptable
struct QScriptable

UDA for marking member functions as scriptable.

Q_OBJECT
enum Q_OBJECT;
Q_OBJECT_D
enum Q_OBJECT_D;

String constant for mixin in every class inheriting QObject.

Q_SIGNAL_IMPL_D
enum Q_SIGNAL_IMPL_D;

String constant for mixin in every signal in classes implemnted in D.

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.
bindableObjectName
QBindable!(QString) bindableObjectName()
Undocumented in source.
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.
disconnect
bool disconnect(const(QMetaObject.Connection) )
Undocumented in source.
signal
template signal(string name, Params...)

Returns the set of signals with given name and optionally filtered by parameter types. All signals are used, if no parameter types are given. Otherwise the parameter types have to match.

slot
template slot(string name, Params...)

Returns the set of slots with given name and optionally filtered by parameter types. All slots are used, if no parameter types are given. Otherwise the parameter types have to match.

connect
QMetaObject.Connection connect(Signal sender, QObject context, Dg dg, ConnectionType type)
QMetaObject.Connection connect(Signal sender, Dg dg, ConnectionType type)

Connects a signal to a delegate.

connect
QMetaObject.Connection connect(Signal sender, Slot receiver, ConnectionType type)

Connects a signal to a slot.

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.
bindingStorage
QBindingStorage* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
bindingStorage
const(QBindingStorage)* bindingStorage()
Undocumented in source. Be warned that the author may not have intended to support it.
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