This class combines the functionallity of a QAction and a ak::ui::core::aPaintable.
More...
|
| aAction (QToolButton::ToolButtonPopupMode _popupMode=QToolButton::ToolButtonPopupMode::InstantPopup, QObject *_parent=(QObject *) nullptr) |
| Constructor.
|
|
| aAction (const QString &_text, QToolButton::ToolButtonPopupMode _popupMode=QToolButton::ToolButtonPopupMode::InstantPopup, QObject *_parent=(QObject *) nullptr) |
| Constructor.
|
|
| aAction (const QIcon &_icon, const QString &_text, QToolButton::ToolButtonPopupMode _popupMode=QToolButton::ToolButtonPopupMode::InstantPopup, QObject *_parent=(QObject *) nullptr) |
| Constructor.
|
|
virtual | ~aAction () |
| Deconstructor.
|
|
QToolButton::ToolButtonPopupMode | popupMode (void) |
| Retuns the popup mode this Action is using.
|
|
| aObject (objectType _type=otNone, UID _UID=ak::invalidUID) |
| Constructor.
|
|
| aObject (const aObject &_other) |
| Copy constructor.
|
|
aObject & | operator= (const aObject &_other) |
| Assignment operator.
|
|
virtual | ~aObject () |
| Deconstructor.
|
|
virtual void | removeChildObject (aObject *_child) |
| Will remove the child from this object (not destroy it) This function should be called from the deconstructor of a child.
|
|
virtual void | addChildObject (aObject *_child) |
| Will add the child to this object.
|
|
void | setUniqueName (const QString &_name) |
| Will set this objects unique name.
|
|
virtual void | setParentObject (aObject *_parentObject) |
| Will set the parent object of this object.
|
|
QString | uniqueName (void) const |
| Will return the unique name of this object.
|
|
aObject * | parentObject (void) const |
| Will return a pointer to the parent object.
|
|
int | childObjectCount (void) const |
| Will return the count of sub objects.
|
|
aObject * | childObject (UID _childUID) |
| Will return the child with the specified UID.
|
|
void | setOwner (aObject *_object) |
| Will set the owner of this object.
|
|
aObject * | owner (void) const |
| Will return the owner of this object.
|
|
void | setUid (UID _UID) |
| Will set the objects UID.
|
|
UID | uid (void) const |
| Returns the objects UID.
|
|
objectType | type (void) const |
| Returns the objects type.
|
|
virtual bool | isWidgetType (void) const |
| Returns true if the object is an object derived from aWidget.
|
|
This class combines the functionallity of a QAction and a ak::ui::core::aPaintable.