Qt object tree widget for the control wondow.
More...
#include <anatomist/control/qObjTree.h>
Qt object tree widget for the control wondow.
Definition at line 57 of file qObjTree.h.
◆ QObjectTree()
QObjectTree::QObjectTree |
( |
QWidget * |
parent, |
|
|
const char * |
name |
|
) |
| |
◆ ~QObjectTree()
virtual QObjectTree::~QObjectTree |
( |
| ) |
|
|
virtual |
◆ decorateItem()
virtual void QObjectTree::decorateItem |
( |
QTreeWidgetItem * |
item, |
|
|
anatomist::AObject * |
obj |
|
) |
| |
|
protectedvirtual |
◆ DisplayRefColors()
virtual void QObjectTree::DisplayRefColors |
( |
| ) |
|
|
virtual |
◆ dragEnterEvent()
virtual void QObjectTree::dragEnterEvent |
( |
QDragEnterEvent * |
| ) |
|
|
protectedvirtual |
◆ dragMoveEvent()
virtual void QObjectTree::dragMoveEvent |
( |
QDragMoveEvent * |
| ) |
|
|
protectedvirtual |
◆ dropEvent()
virtual void QObjectTree::dropEvent |
( |
QDropEvent * |
| ) |
|
|
protectedvirtual |
◆ hasObject()
◆ initIcons()
static void QObjectTree::initIcons |
( |
| ) |
|
|
staticprotected |
◆ insertObject() [1/2]
virtual QTreeWidgetItem* QObjectTree::insertObject |
( |
QTreeWidget * |
lview, |
|
|
anatomist::AObject * |
obj |
|
) |
| |
|
protectedvirtual |
◆ insertObject() [2/2]
virtual QTreeWidgetItem* QObjectTree::insertObject |
( |
QTreeWidgetItem * |
item, |
|
|
anatomist::AObject * |
obj |
|
) |
| |
|
protectedvirtual |
◆ isObjectSelected()
◆ NotifyObjectChange()
◆ ObjectOfNumber()
◆ objectRenamed
void QObjectTree::objectRenamed |
( |
QTreeWidgetItem * |
, |
|
|
int |
|
|
) |
| |
|
slot |
◆ RegisterObject()
adds the object at the base level of this tree
◆ RegisterSubObject()
adds the object in a sub-tree.
\ (the corresponding sub-tree has to be searched for first)
- Parameters
-
mobj | immediate parent of obj |
obj | object to map |
◆ registerSubObjects()
virtual void QObjectTree::registerSubObjects |
( |
QTreeWidgetItem * |
li, |
|
|
anatomist::MObject * |
mobj |
|
) |
| |
|
protectedvirtual |
◆ rightButtonPressed [1/2]
◆ rightButtonPressed [2/2]
void QObjectTree::rightButtonPressed |
( |
QTreeWidgetItem * |
, |
|
|
const QPoint & |
|
|
) |
| |
|
slot |
◆ SelectedObjects()
◆ selectionChanged
void QObjectTree::selectionChanged |
( |
| ) |
|
|
signal |
◆ SelectObject()
◆ setObjectTypeIcon()
static void QObjectTree::setObjectTypeIcon |
( |
int |
type, |
|
|
const std::string & |
img |
|
) |
| |
|
static |
◆ setObjectTypeName()
static void QObjectTree::setObjectTypeName |
( |
int |
type, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
◆ sortIndicatorChanged
void QObjectTree::sortIndicatorChanged |
( |
int |
, |
|
|
Qt::SortOrder |
|
|
) |
| |
|
slot |
◆ startDragging
virtual void QObjectTree::startDragging |
( |
QTreeWidgetItem * |
, |
|
|
Qt::MouseButtons |
, |
|
|
Qt::KeyboardModifiers |
|
|
) |
| |
|
virtualslot |
◆ ToggleRefColorsView()
virtual void QObjectTree::ToggleRefColorsView |
( |
| ) |
|
|
virtual |
◆ UndisplayRefColors()
virtual void QObjectTree::UndisplayRefColors |
( |
| ) |
|
|
virtual |
◆ UnregisterObject()
◆ UnregisterSubObject()
◆ unregisterSubObjects()
virtual void QObjectTree::unregisterSubObjects |
( |
QTreeWidgetItem * |
li | ) |
|
|
protectedvirtual |
◆ UnselectAll()
virtual void QObjectTree::UnselectAll |
( |
| ) |
|
|
virtual |
◆ unselectInvisibleItems
void QObjectTree::unselectInvisibleItems |
( |
| ) |
|
|
protectedslot |
◆ ViewingRefColors()
virtual bool QObjectTree::ViewingRefColors |
( |
| ) |
const |
|
virtual |
Are reference colors markers visible ?
◆ _count
unsigned QObjectTree::_count |
|
protected |
◆ _items
◆ _lview
QTreeWidget* QObjectTree::_lview |
|
protected |
◆ _objects
◆ _viewRefCol
bool QObjectTree::_viewRefCol |
|
protected |
◆ RefPixSize
unsigned QObjectTree::RefPixSize |
|
static |
◆ TypeIcons
std::map<int, QPixmap> QObjectTree::TypeIcons |
|
static |
◆ TypeNames
std::map<int, std::string> QObjectTree::TypeNames |
|
static |
The documentation for this class was generated from the following file: