获取当前属性的 父属性名称
This commit is contained in:
parent
dca3008d5d
commit
72c2ceb5cb
|
|
@ -173,6 +173,11 @@ QtProperty::~QtProperty()
|
|||
property->d_ptr->m_subItems.removeAll(this);
|
||||
}
|
||||
|
||||
QSet<QtProperty *> QtProperty::getParentItem() const
|
||||
{
|
||||
return d_ptr->m_parentItems;
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the set of subproperties.
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ class QTPROPERTYBROWSER_EXPORT QtProperty
|
|||
public:
|
||||
virtual ~QtProperty();
|
||||
|
||||
QSet<QtProperty *> getParentItem() const;
|
||||
QList<QtProperty *> subProperties() const;
|
||||
|
||||
QtAbstractPropertyManager *propertyManager() const;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user