Computer Assited Medical Intervention Tool Kit  version 5.0
QtGroupBoxPropertyBrowserPrivate Class Reference
+ Collaboration diagram for QtGroupBoxPropertyBrowserPrivate:

Classes

struct  WidgetItem
 

Public Member Functions

QWidget * createEditor (QtProperty *property, QWidget *parent) const
 
void init (QWidget *parent)
 
void propertyChanged (QtBrowserItem *index)
 
void propertyInserted (QtBrowserItem *index, QtBrowserItem *afterIndex)
 
void propertyRemoved (QtBrowserItem *index)
 
void slotEditorDestroyed ()
 
void slotUpdate ()
 

Private Member Functions

bool hasHeader (WidgetItem *item) const
 
void insertRow (QGridLayout *layout, int row) const
 
void removeRow (QGridLayout *layout, int row) const
 
void updateItem (WidgetItem *item)
 
void updateLater ()
 

Private Attributes

QList< WidgetItem * > m_children
 
QMap< QtBrowserItem *, WidgetItem * > m_indexToItem
 
QMap< WidgetItem *, QtBrowserItem * > m_itemToIndex
 
QGridLayout * m_mainLayout
 
QList< WidgetItem * > m_recreateQueue
 
QMap< QWidget *, WidgetItem * > m_widgetToItem
 
QtGroupBoxPropertyBrowserq_ptr
 

Member Function Documentation

◆ createEditor()

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

Referenced by propertyInserted().

+ Here is the caller graph for this function:

◆ hasHeader()

bool QtGroupBoxPropertyBrowserPrivate::hasHeader ( WidgetItem item) const
private

References QtGroupBoxPropertyBrowserPrivate::WidgetItem::widget.

Referenced by propertyInserted(), and propertyRemoved().

+ Here is the caller graph for this function:

◆ init()

void QtGroupBoxPropertyBrowserPrivate::init ( QWidget *  parent)

References m_mainLayout.

Referenced by QtGroupBoxPropertyBrowser::QtGroupBoxPropertyBrowser().

+ Here is the caller graph for this function:

◆ insertRow()

void QtGroupBoxPropertyBrowserPrivate::insertRow ( QGridLayout *  layout,
int  row 
) const
private

Referenced by propertyInserted().

+ Here is the caller graph for this function:

◆ propertyChanged()

void QtGroupBoxPropertyBrowserPrivate::propertyChanged ( QtBrowserItem index)

References m_indexToItem, and updateItem().

Referenced by QtGroupBoxPropertyBrowser::itemChanged().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ propertyInserted()

◆ propertyRemoved()

void QtGroupBoxPropertyBrowserPrivate::propertyRemoved ( QtBrowserItem index)

◆ removeRow()

void QtGroupBoxPropertyBrowserPrivate::removeRow ( QGridLayout *  layout,
int  row 
) const
private

Referenced by propertyRemoved().

+ Here is the caller graph for this function:

◆ slotEditorDestroyed()

void QtGroupBoxPropertyBrowserPrivate::slotEditorDestroyed ( )

References q_ptr.

Referenced by propertyInserted().

+ Here is the caller graph for this function:

◆ slotUpdate()

void QtGroupBoxPropertyBrowserPrivate::slotUpdate ( )

References m_recreateQueue, and QtGroupBoxPropertyBrowserPrivate::WidgetItem::parent.

Referenced by updateLater().

+ Here is the caller graph for this function:

◆ updateItem()

void QtGroupBoxPropertyBrowserPrivate::updateItem ( WidgetItem item)
private

References QtGroupBoxPropertyBrowserPrivate::WidgetItem::groupBox, QtGroupBoxPropertyBrowserPrivate::WidgetItem::label, m_itemToIndex, QtGroupBoxPropertyBrowserPrivate::WidgetItem::widget, and QtGroupBoxPropertyBrowserPrivate::WidgetItem::widgetLabel.

Referenced by propertyChanged(), and propertyInserted().

+ Here is the caller graph for this function:

◆ updateLater()

void QtGroupBoxPropertyBrowserPrivate::updateLater ( )
private

References q_ptr, and slotUpdate().

Referenced by propertyRemoved().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_children

QList<WidgetItem*> QtGroupBoxPropertyBrowserPrivate::m_children
private

◆ m_indexToItem

QMap<QtBrowserItem*, WidgetItem*> QtGroupBoxPropertyBrowserPrivate::m_indexToItem
private

◆ m_itemToIndex

QMap<WidgetItem*, QtBrowserItem*> QtGroupBoxPropertyBrowserPrivate::m_itemToIndex
private

◆ m_mainLayout

QGridLayout* QtGroupBoxPropertyBrowserPrivate::m_mainLayout
private

◆ m_recreateQueue

QList<WidgetItem*> QtGroupBoxPropertyBrowserPrivate::m_recreateQueue
private

◆ m_widgetToItem

QMap<QWidget*, WidgetItem*> QtGroupBoxPropertyBrowserPrivate::m_widgetToItem
private

Referenced by propertyInserted().

◆ q_ptr


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