Computer Assited Medical Intervention Tool Kit  version 4.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
QtTreePropertyBrowserPrivate Class Reference

Public Member Functions

QColor calculatedBackgroundColor (QtBrowserItem *item) const
 
QWidget * createEditor (QtProperty *property, QWidget *parent) const
 
QtBrowserItemcurrentItem () const
 
void disableItem (QTreeWidgetItem *item) const
 
QTreeWidgetItem * editedItem () const
 
void editItem (QtBrowserItem *browserItem)
 
void enableItem (QTreeWidgetItem *item) const
 
bool hasValue (QTreeWidgetItem *item) const
 
QtBrowserItemindexToBrowserItem (const QModelIndex &index) const
 
QTreeWidgetItem * indexToItem (const QModelIndex &index) const
 
QtPropertyindexToProperty (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)
 
QtPropertyEditorViewtreeWidget () const
 

Private Member Functions

void updateItem (QTreeWidgetItem *item)
 

Private Attributes

bool m_browserChangedBlocked {false}
 
class QtPropertyEditorDelegatem_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}
 
QtPropertyEditorViewm_treeWidget {nullptr}
 
QtTreePropertyBrowserq_ptr
 

Constructor & Destructor Documentation

◆ QtTreePropertyBrowserPrivate()

QtTreePropertyBrowserPrivate::QtTreePropertyBrowserPrivate ( )

Member Function Documentation

◆ calculatedBackgroundColor()

QColor QtTreePropertyBrowserPrivate::calculatedBackgroundColor ( QtBrowserItem item) const

◆ createEditor()

QWidget* QtTreePropertyBrowserPrivate::createEditor ( QtProperty property,
QWidget *  parent 
) const
inline

◆ currentItem()

QtBrowserItem * QtTreePropertyBrowserPrivate::currentItem ( ) const

◆ disableItem()

void QtTreePropertyBrowserPrivate::disableItem ( QTreeWidgetItem *  item) const

Referenced by createEditor().

◆ editedItem()

QTreeWidgetItem * QtTreePropertyBrowserPrivate::editedItem ( ) const

◆ editItem()

void QtTreePropertyBrowserPrivate::editItem ( QtBrowserItem browserItem)

◆ enableItem()

void QtTreePropertyBrowserPrivate::enableItem ( QTreeWidgetItem *  item) const

Referenced by createEditor().

◆ hasValue()

bool QtTreePropertyBrowserPrivate::hasValue ( QTreeWidgetItem *  item) const

◆ indexToBrowserItem()

QtBrowserItem * QtTreePropertyBrowserPrivate::indexToBrowserItem ( const QModelIndex &  index) const

◆ indexToItem()

QTreeWidgetItem * QtTreePropertyBrowserPrivate::indexToItem ( const QModelIndex &  index) const

◆ indexToProperty()

QtProperty * QtTreePropertyBrowserPrivate::indexToProperty ( const QModelIndex &  index) const

◆ init()

void QtTreePropertyBrowserPrivate::init ( QWidget *  parent)

◆ lastColumn()

bool QtTreePropertyBrowserPrivate::lastColumn ( int  column) const

◆ markPropertiesWithoutValue()

bool QtTreePropertyBrowserPrivate::markPropertiesWithoutValue ( ) const
inline

◆ propertyChanged()

void QtTreePropertyBrowserPrivate::propertyChanged ( QtBrowserItem index)

◆ propertyInserted()

void QtTreePropertyBrowserPrivate::propertyInserted ( QtBrowserItem index,
QtBrowserItem afterIndex 
)

◆ propertyRemoved()

void QtTreePropertyBrowserPrivate::propertyRemoved ( QtBrowserItem index)

◆ setCurrentItem()

void QtTreePropertyBrowserPrivate::setCurrentItem ( QtBrowserItem browserItem,
bool  block 
)

◆ slotCollapsed()

void QtTreePropertyBrowserPrivate::slotCollapsed ( const QModelIndex &  index)

◆ slotCurrentBrowserItemChanged()

void QtTreePropertyBrowserPrivate::slotCurrentBrowserItemChanged ( QtBrowserItem item)

◆ slotCurrentTreeItemChanged()

void QtTreePropertyBrowserPrivate::slotCurrentTreeItemChanged ( QTreeWidgetItem *  newItem,
QTreeWidgetItem *   
)

◆ slotExpanded()

void QtTreePropertyBrowserPrivate::slotExpanded ( const QModelIndex &  index)

◆ treeWidget()

QtPropertyEditorView* QtTreePropertyBrowserPrivate::treeWidget ( ) const
inline

◆ updateItem()

void QtTreePropertyBrowserPrivate::updateItem ( QTreeWidgetItem *  item)
private

Member Data Documentation

◆ m_browserChangedBlocked

bool QtTreePropertyBrowserPrivate::m_browserChangedBlocked {false}
private

◆ m_delegate

class QtPropertyEditorDelegate* QtTreePropertyBrowserPrivate::m_delegate
private
Initial value:
{
nullptr
}

◆ m_expandIcon

QIcon QtTreePropertyBrowserPrivate::m_expandIcon
private

◆ m_headerVisible

bool QtTreePropertyBrowserPrivate::m_headerVisible {true}
private

◆ m_indexToBackgroundColor

QMap<QtBrowserItem*, QColor> QtTreePropertyBrowserPrivate::m_indexToBackgroundColor
private

◆ m_indexToItem

QMap<QtBrowserItem*, QTreeWidgetItem*> QtTreePropertyBrowserPrivate::m_indexToItem
private

◆ m_itemToIndex

QMap<QTreeWidgetItem*, QtBrowserItem*> QtTreePropertyBrowserPrivate::m_itemToIndex
private

◆ m_markPropertiesWithoutValue

bool QtTreePropertyBrowserPrivate::m_markPropertiesWithoutValue {false}
private

◆ m_resizeMode

QtTreePropertyBrowser::ResizeMode QtTreePropertyBrowserPrivate::m_resizeMode {QtTreePropertyBrowser::Stretch}
private

◆ m_treeWidget

QtPropertyEditorView* QtTreePropertyBrowserPrivate::m_treeWidget {nullptr}
private

◆ q_ptr

QtTreePropertyBrowser* QtTreePropertyBrowserPrivate::q_ptr
private

The documentation for this class was generated from the following file: