|
enum | BackgroundType {
AutoBg = 0
, Normal = 0x01
, Hover = 0x02
, Clickable = 0x04
,
Highlight = 0x08
, Warning = 0x10
, ClickStyle = Normal | Hover | Clickable
} |
|
enum | PageType {
EditorPage = 1
, ItemPage
, Menu = 0x40
, MenuEditor
,
Control = 0x20
, Editor = EditorPage | Control
, Item = ItemPage | Control
, UserType = 0x80
} |
|
|
void | active (const QString &cmd) |
|
void | deactive () |
|
void | childAboutToBeAdded (const DccObject *parent, int pos) |
|
void | childAdded (DccObject *child) |
|
void | childAboutToBeRemoved (const DccObject *parent, int pos) |
|
void | childRemoved (DccObject *child) |
|
void | childAboutToBeMoved (const DccObject *parent, int pos, int oldPos) |
|
void | childMoved (DccObject *child) |
|
void | childrenChanged (const QVector< DccObject * > &children) |
|
void | nameChanged (const QString &name) |
|
void | parentNameChanged (const QString &parentName) |
|
void | weightChanged (quint32 weight) |
|
void | displayNameChanged (const QString &displayName) |
|
void | descriptionChanged (const QString &description) |
|
void | iconChanged (const QString &icon) |
|
void | iconSourceChanged (const QUrl &iconSource) |
|
void | badgeChanged (qint8 badge) |
|
void | visibleChanged (bool visible) |
|
void | enabledChanged (bool enabled) |
|
void | visibleToAppChanged (bool visibleToApp) |
|
void | enabledToAppChanged (bool enabledToApp) |
|
void | canSearchChanged (bool canSearch) |
|
void | backgroundTypeChanged (BackgroundTypes type) |
|
void | currentObjectChanged (DccObject *obj) |
|
void | pageTypeChanged (quint8 type) |
|
void | pageChanged (QQmlComponent *page) |
|
void | parentItemChanged (QQuickItem *item) |
|
|
| DccObject (QObject *parent=nullptr) |
|
QString | name () const |
|
void | setName (const QString &name) |
|
QString | parentName () const |
|
void | setParentName (const QString &parentName) |
|
quint32 | weight () const |
|
void | setWeight (quint32 weight) |
|
QString | displayName () const |
|
void | setDisplayName (const QString &displayName) |
|
QString | description () const |
|
void | setDescription (const QString &description) |
|
QString | icon () const |
|
void | setIcon (const QString &icon) |
|
QUrl | iconSource () const |
|
qint8 | badge () const |
|
void | setBadge (qint8 badge) |
|
bool | isVisible () const |
|
void | setVisible (bool isVisible) |
|
bool | isVisibleToApp () const |
|
bool | isEnabled () const |
|
void | setEnabled (bool enabled) |
|
bool | isEnabledToApp () const |
|
bool | canSearch () const |
|
void | setCanSearch (bool canSearch) |
|
BackgroundTypes | backgroundType () const |
|
void | setBackgroundType (BackgroundTypes type) |
|
DccObject * | currentObject () |
|
void | setCurrentObject (DccObject *obj) |
|
quint8 | pageType () const |
|
void | setPageType (quint8 type) |
|
Q_INVOKABLE QQuickItem * | getSectionItem (QObject *parent) |
|
QQuickItem * | parentItem () |
|
void | setParentItem (QQuickItem *item) |
|
QQmlComponent * | page () const |
|
void | setPage (QQmlComponent *page) |
|
QQmlListProperty< QObject > | data () |
|
const QVector< DccObject * > & | getChildren () const |
|