Public Member Functions | |
void | clearIndex (QtBrowserItem *index) |
QtBrowserItem * | createBrowserIndex (QtProperty *property, QtBrowserItem *parentIndex, QtBrowserItem *afterIndex) |
void | createBrowserIndexes (QtProperty *property, QtProperty *parentProperty, QtProperty *afterProperty) |
void | insertSubTree (QtProperty *property, QtProperty *parentProperty) |
QtAbstractPropertyBrowserPrivate () | |
void | removeBrowserIndex (QtBrowserItem *index) |
void | removeBrowserIndexes (QtProperty *property, QtProperty *parentProperty) |
void | removeSubTree (QtProperty *property, QtProperty *parentProperty) |
void | slotPropertyDataChanged (QtProperty *property) |
void | slotPropertyDestroyed (QtProperty *property) |
void | slotPropertyInserted (QtProperty *property, QtProperty *parentProperty, QtProperty *afterProperty) |
void | slotPropertyRemoved (QtProperty *property, QtProperty *parentProperty) |
Public Attributes | |
QtBrowserItem * | m_currentItem {nullptr} |
QMap< QtAbstractPropertyManager *, QList< QtProperty * > > | m_managerToProperties |
QMap< QtProperty *, QList< QtBrowserItem * > > | m_propertyToIndexes |
QMap< QtProperty *, QList< QtProperty * > > | m_propertyToParents |
QList< QtProperty * > | m_subItems |
QList< QtBrowserItem * > | m_topLevelIndexes |
QMap< QtProperty *, QtBrowserItem * > | m_topLevelPropertyToIndex |
QtAbstractPropertyBrowserPrivate::QtAbstractPropertyBrowserPrivate | ( | ) |
void QtAbstractPropertyBrowserPrivate::clearIndex | ( | QtBrowserItem * | index | ) |
References QtBrowserItem::children().
Referenced by QtAbstractPropertyBrowser::~QtAbstractPropertyBrowser().
QtBrowserItem * QtAbstractPropertyBrowserPrivate::createBrowserIndex | ( | QtProperty * | property, |
QtBrowserItem * | parentIndex, | ||
QtBrowserItem * | afterIndex | ||
) |
References QtBrowserItemPrivate::addChild(), QtAbstractPropertyBrowser::itemInserted(), m_propertyToIndexes, m_topLevelIndexes, and m_topLevelPropertyToIndex.
Referenced by createBrowserIndexes().
void QtAbstractPropertyBrowserPrivate::createBrowserIndexes | ( | QtProperty * | property, |
QtProperty * | parentProperty, | ||
QtProperty * | afterProperty | ||
) |
References createBrowserIndex(), m_propertyToIndexes, QtBrowserItem::parent(), and QtBrowserItem::property().
Referenced by QtAbstractPropertyBrowser::insertProperty(), and slotPropertyInserted().
void QtAbstractPropertyBrowserPrivate::insertSubTree | ( | QtProperty * | property, |
QtProperty * | parentProperty | ||
) |
References m_managerToProperties, m_propertyToParents, slotPropertyDataChanged(), slotPropertyDestroyed(), slotPropertyInserted(), and slotPropertyRemoved().
Referenced by QtAbstractPropertyBrowser::insertProperty(), and slotPropertyInserted().
void QtAbstractPropertyBrowserPrivate::removeBrowserIndex | ( | QtBrowserItem * | index | ) |
References QtBrowserItem::children(), QtAbstractPropertyBrowser::itemRemoved(), m_propertyToIndexes, m_topLevelIndexes, m_topLevelPropertyToIndex, QtBrowserItem::parent(), QtBrowserItem::property(), and QtBrowserItemPrivate::removeChild().
Referenced by removeBrowserIndexes().
void QtAbstractPropertyBrowserPrivate::removeBrowserIndexes | ( | QtProperty * | property, |
QtProperty * | parentProperty | ||
) |
References m_propertyToIndexes, QtBrowserItem::parent(), QtBrowserItem::property(), and removeBrowserIndex().
Referenced by QtAbstractPropertyBrowser::removeProperty(), and slotPropertyRemoved().
void QtAbstractPropertyBrowserPrivate::removeSubTree | ( | QtProperty * | property, |
QtProperty * | parentProperty | ||
) |
References m_managerToProperties, m_propertyToParents, slotPropertyDataChanged(), slotPropertyDestroyed(), slotPropertyInserted(), and slotPropertyRemoved().
Referenced by QtAbstractPropertyBrowser::removeProperty(), and slotPropertyRemoved().
void QtAbstractPropertyBrowserPrivate::slotPropertyDataChanged | ( | QtProperty * | property | ) |
References QtAbstractPropertyBrowser::itemChanged(), m_propertyToIndexes, and m_propertyToParents.
Referenced by insertSubTree(), and removeSubTree().
void QtAbstractPropertyBrowserPrivate::slotPropertyDestroyed | ( | QtProperty * | property | ) |
References m_subItems, and QtAbstractPropertyBrowser::removeProperty().
Referenced by insertSubTree(), and removeSubTree().
void QtAbstractPropertyBrowserPrivate::slotPropertyInserted | ( | QtProperty * | property, |
QtProperty * | parentProperty, | ||
QtProperty * | afterProperty | ||
) |
References createBrowserIndexes(), insertSubTree(), and m_propertyToParents.
Referenced by insertSubTree(), and removeSubTree().
void QtAbstractPropertyBrowserPrivate::slotPropertyRemoved | ( | QtProperty * | property, |
QtProperty * | parentProperty | ||
) |
References m_propertyToParents, removeBrowserIndexes(), and removeSubTree().
Referenced by insertSubTree(), and removeSubTree().
QtBrowserItem* QtAbstractPropertyBrowserPrivate::m_currentItem {nullptr} |
Referenced by QtAbstractPropertyBrowser::currentItem(), and QtAbstractPropertyBrowser::setCurrentItem().
QMap<QtAbstractPropertyManager*, QList<QtProperty*> > QtAbstractPropertyBrowserPrivate::m_managerToProperties |
Referenced by insertSubTree(), and removeSubTree().
QMap<QtProperty*, QList<QtBrowserItem*> > QtAbstractPropertyBrowserPrivate::m_propertyToIndexes |
QMap<QtProperty*, QList<QtProperty*> > QtAbstractPropertyBrowserPrivate::m_propertyToParents |
Referenced by insertSubTree(), removeSubTree(), slotPropertyDataChanged(), slotPropertyInserted(), and slotPropertyRemoved().
QList<QtProperty*> QtAbstractPropertyBrowserPrivate::m_subItems |
QList<QtBrowserItem*> QtAbstractPropertyBrowserPrivate::m_topLevelIndexes |
Referenced by createBrowserIndex(), removeBrowserIndex(), and QtAbstractPropertyBrowser::topLevelItems().
QMap<QtProperty*, QtBrowserItem*> QtAbstractPropertyBrowserPrivate::m_topLevelPropertyToIndex |
Referenced by createBrowserIndex(), removeBrowserIndex(), and QtAbstractPropertyBrowser::topLevelItem().