Collaboration diagram for QtTreePropertyBrowserPrivate:Public Member Functions | |
| QColor | calculatedBackgroundColor (QtBrowserItem *item) const |
| QWidget * | createEditor (QtProperty *property, QWidget *parent) const |
| QtBrowserItem * | currentItem () const |
| void | disableItem (QTreeWidgetItem *item) const |
| QTreeWidgetItem * | editedItem () const |
| void | editItem (QtBrowserItem *browserItem) |
| void | enableItem (QTreeWidgetItem *item) const |
| bool | hasValue (QTreeWidgetItem *item) const |
| QtBrowserItem * | indexToBrowserItem (const QModelIndex &index) const |
| QTreeWidgetItem * | indexToItem (const QModelIndex &index) const |
| QtProperty * | indexToProperty (const QModelIndex &index) const |
| void | init (QWidget *parent) |
| bool | lastColumn (int column) const |
| bool | markPropertiesWithoutValue () const |
| void | propertyChanged (QtBrowserItem *index) |
| void | propertyInserted (QtBrowserItem *index, QtBrowserItem *afterIndex) |
| void | propertyRemoved (QtBrowserItem *index) |
| QtTreePropertyBrowserPrivate () | |
| void | setCurrentItem (QtBrowserItem *browserItem, bool block) |
| void | slotCollapsed (const QModelIndex &index) |
| void | slotCurrentBrowserItemChanged (QtBrowserItem *item) |
| void | slotCurrentTreeItemChanged (QTreeWidgetItem *newItem, QTreeWidgetItem *) |
| void | slotExpanded (const QModelIndex &index) |
| QtPropertyEditorView * | treeWidget () const |
Private Member Functions | |
| void | updateItem (QTreeWidgetItem *item) |
Private Attributes | |
| bool | m_browserChangedBlocked {false} |
| class QtPropertyEditorDelegate * | m_delegate |
| QIcon | m_expandIcon |
| bool | m_headerVisible {true} |
| QMap< QtBrowserItem *, QColor > | m_indexToBackgroundColor |
| QMap< QtBrowserItem *, QTreeWidgetItem * > | m_indexToItem |
| QMap< QTreeWidgetItem *, QtBrowserItem * > | m_itemToIndex |
| bool | m_markPropertiesWithoutValue {false} |
| QtTreePropertyBrowser::ResizeMode | m_resizeMode {QtTreePropertyBrowser::Stretch} |
| QtPropertyEditorView * | m_treeWidget {nullptr} |
| QtTreePropertyBrowser * | q_ptr |
| QtTreePropertyBrowserPrivate::QtTreePropertyBrowserPrivate | ( | ) |
| QColor QtTreePropertyBrowserPrivate::calculatedBackgroundColor | ( | QtBrowserItem * | item | ) | const |
References m_indexToBackgroundColor, and QtBrowserItem::parent().
Referenced by QtTreePropertyBrowser::calculatedBackgroundColor(), QtPropertyEditorView::drawRow(), and QtPropertyEditorDelegate::paint().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References QtAbstractPropertyBrowser::createEditor(), and q_ptr.
Referenced by QtPropertyEditorDelegate::createEditor().
Here is the call graph for this function:
Here is the caller graph for this function:| QtBrowserItem * QtTreePropertyBrowserPrivate::currentItem | ( | ) | const |
References m_itemToIndex, and m_treeWidget.
Referenced by slotCurrentBrowserItemChanged().
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::disableItem | ( | QTreeWidgetItem * | item | ) | const |
References QtPropertyEditorDelegate::closeEditor(), m_delegate, and m_itemToIndex.
Referenced by updateItem().
Here is the call graph for this function:
Here is the caller graph for this function:| QTreeWidgetItem * QtTreePropertyBrowserPrivate::editedItem | ( | ) | const |
References QtPropertyEditorDelegate::editedItem(), and m_delegate.
Referenced by QtPropertyEditorView::keyPressEvent(), and QtPropertyEditorView::mousePressEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::editItem | ( | QtBrowserItem * | browserItem | ) |
References m_indexToItem, and m_treeWidget.
Referenced by QtTreePropertyBrowser::editItem().
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::enableItem | ( | QTreeWidgetItem * | item | ) | const |
| bool QtTreePropertyBrowserPrivate::hasValue | ( | QTreeWidgetItem * | item | ) | const |
References QtProperty::hasValue(), m_itemToIndex, and QtBrowserItem::property().
Referenced by QtPropertyEditorView::mousePressEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| QtBrowserItem * QtTreePropertyBrowserPrivate::indexToBrowserItem | ( | const QModelIndex & | index | ) | const |
References QtPropertyEditorView::indexToItem(), m_itemToIndex, and m_treeWidget.
Referenced by QtPropertyEditorView::drawRow(), and QtPropertyEditorDelegate::paint().
Here is the call graph for this function:
Here is the caller graph for this function:| QTreeWidgetItem * QtTreePropertyBrowserPrivate::indexToItem | ( | const QModelIndex & | index | ) | const |
References QtPropertyEditorView::indexToItem(), and m_treeWidget.
Referenced by QtPropertyEditorDelegate::createEditor(), QtPropertyEditorDelegate::indentation(), slotCollapsed(), and slotExpanded().
Here is the call graph for this function:
Here is the caller graph for this function:| QtProperty * QtTreePropertyBrowserPrivate::indexToProperty | ( | const QModelIndex & | index | ) | const |
References QtPropertyEditorView::indexToItem(), m_itemToIndex, m_treeWidget, and QtBrowserItem::property().
Referenced by QtPropertyEditorDelegate::createEditor(), QtPropertyEditorView::drawRow(), and QtPropertyEditorDelegate::paint().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::init | ( | QWidget * | parent | ) |
References drawIndicatorIcon(), m_delegate, m_expandIcon, m_treeWidget, q_ptr, QtPropertyEditorView::setEditorPrivate(), QtPropertyEditorDelegate::setEditorPrivate(), slotCollapsed(), slotCurrentTreeItemChanged(), and slotExpanded().
Referenced by QtTreePropertyBrowser::QtTreePropertyBrowser().
Here is the call graph for this function:
Here is the caller graph for this function:| bool QtTreePropertyBrowserPrivate::lastColumn | ( | int | column | ) | const |
References m_treeWidget.
Referenced by QtPropertyEditorDelegate::paint().
Here is the caller graph for this function:
|
inline |
References m_markPropertiesWithoutValue.
Referenced by QtPropertyEditorView::drawRow(), QtPropertyEditorView::mousePressEvent(), QtPropertyEditorDelegate::paint(), and updateItem().
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::propertyChanged | ( | QtBrowserItem * | index | ) |
References m_indexToItem, and updateItem().
Referenced by QtTreePropertyBrowser::itemChanged().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::propertyInserted | ( | QtBrowserItem * | index, |
| QtBrowserItem * | afterIndex | ||
| ) |
References m_indexToItem, m_itemToIndex, m_treeWidget, QtBrowserItem::parent(), and updateItem().
Referenced by QtTreePropertyBrowser::itemInserted().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::propertyRemoved | ( | QtBrowserItem * | index | ) |
References m_indexToBackgroundColor, m_indexToItem, m_itemToIndex, and m_treeWidget.
Referenced by QtTreePropertyBrowser::itemRemoved().
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::setCurrentItem | ( | QtBrowserItem * | browserItem, |
| bool | block | ||
| ) |
References m_indexToItem, and m_treeWidget.
Referenced by slotCurrentBrowserItemChanged().
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::slotCollapsed | ( | const QModelIndex & | index | ) |
References QtTreePropertyBrowser::collapsed(), indexToItem(), m_itemToIndex, and q_ptr.
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::slotCurrentBrowserItemChanged | ( | QtBrowserItem * | item | ) |
References currentItem(), m_browserChangedBlocked, and setCurrentItem().
Here is the call graph for this function:| void QtTreePropertyBrowserPrivate::slotCurrentTreeItemChanged | ( | QTreeWidgetItem * | newItem, |
| QTreeWidgetItem * | |||
| ) |
References m_browserChangedBlocked, m_itemToIndex, q_ptr, and QtAbstractPropertyBrowser::setCurrentItem().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtTreePropertyBrowserPrivate::slotExpanded | ( | const QModelIndex & | index | ) |
References QtTreePropertyBrowser::expanded(), indexToItem(), m_itemToIndex, and q_ptr.
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_treeWidget.
Referenced by QtPropertyEditorDelegate::indentation().
Here is the caller graph for this function:
|
private |
References disableItem(), enableItem(), m_expandIcon, m_itemToIndex, m_treeWidget, and markPropertiesWithoutValue().
Referenced by propertyChanged(), propertyInserted(), QtTreePropertyBrowser::setPropertiesWithoutValueMarked(), and QtTreePropertyBrowser::setRootIsDecorated().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by slotCurrentBrowserItemChanged(), and slotCurrentTreeItemChanged().
|
private |
Referenced by disableItem(), editedItem(), and init().
|
private |
Referenced by init(), and updateItem().
|
private |
Referenced by QtTreePropertyBrowser::isHeaderVisible(), and QtTreePropertyBrowser::setHeaderVisible().
|
private |
|
private |
Referenced by editItem(), QtTreePropertyBrowser::isExpanded(), QtTreePropertyBrowser::isItemVisible(), propertyChanged(), propertyInserted(), propertyRemoved(), QtTreePropertyBrowser::setBackgroundColor(), setCurrentItem(), QtTreePropertyBrowser::setExpanded(), and QtTreePropertyBrowser::setItemVisible().
|
private |
Referenced by currentItem(), disableItem(), enableItem(), hasValue(), indexToBrowserItem(), indexToProperty(), propertyInserted(), propertyRemoved(), QtTreePropertyBrowser::setAlternatingRowColors(), QtTreePropertyBrowser::setPropertiesWithoutValueMarked(), QtTreePropertyBrowser::setRootIsDecorated(), slotCollapsed(), slotCurrentTreeItemChanged(), slotExpanded(), and updateItem().
|
private |
Referenced by markPropertiesWithoutValue(), and QtTreePropertyBrowser::setPropertiesWithoutValueMarked().
|
private |
Referenced by QtTreePropertyBrowser::setResizeMode().
|
private |
Referenced by currentItem(), editItem(), indexToBrowserItem(), indexToItem(), indexToProperty(), init(), lastColumn(), propertyInserted(), propertyRemoved(), QtTreePropertyBrowser::setAlternatingRowColors(), QtTreePropertyBrowser::setBackgroundColor(), setCurrentItem(), QtTreePropertyBrowser::setHeaderVisible(), QtTreePropertyBrowser::setIndentation(), QtTreePropertyBrowser::setPropertiesWithoutValueMarked(), QtTreePropertyBrowser::setRootIsDecorated(), QtTreePropertyBrowser::setSplitterPosition(), treeWidget(), and updateItem().
|
private |