document visualParent

This commit is contained in:
Marco Martin 2011-12-30 16:38:18 +01:00
parent a529db32fd
commit edf08a8cdb

View File

@ -34,6 +34,10 @@ class QMenuProxy : public QObject
Q_PROPERTY(QDeclarativeListProperty<QMenuItem> content READ content CONSTANT) Q_PROPERTY(QDeclarativeListProperty<QMenuItem> content READ content CONSTANT)
Q_CLASSINFO("DefaultProperty", "content") Q_CLASSINFO("DefaultProperty", "content")
/**
* the visualParent is used to position the menu. it can be an item on the scene, like a button (that will open the menu on clicked) or another menuitem (in this case this will be a submenu)
*/
Q_PROPERTY(QObject *visualParent READ visualParent WRITE setVisualParent NOTIFY visualParentChanged()) Q_PROPERTY(QObject *visualParent READ visualParent WRITE setVisualParent NOTIFY visualParentChanged())
Q_PROPERTY(DialogStatus::Status status READ status NOTIFY statusChanged) Q_PROPERTY(DialogStatus::Status status READ status NOTIFY statusChanged)