![]() |
VR-Forces 4.6 Class Documentation
|

Signals | |
| void | mouseLeftPressed (QTreeWidgetItem *, QMouseEvent *, int col) |
| Emitted when the mouse button is pressed. | |
| void | rightClickOnItem (QTreeWidgetItem *, QMouseEvent *, int col) |
| Emitted when right button is released. | |
| void | contentsMoving (int, int) |
Public Member Functions | |
| DtTreeWidget (makVrv::DtDe &de, QWidget *parent) | |
| Constructor. | |
| virtual | ~DtTreeWidget () |
| DTOR. | |
| virtual QTreeWidgetItem * | lastItem () const |
| Returns the last item in the list. | |
| QTreeWidgetItem * | itemFromIndex (const QModelIndex &idx) |
| QModelIndex | indexFromItem (QTreeWidgetItem *item, int column=0) const |
| virtual void | setMinimumSizeHint (const QSize &) |
| Set the minimum size hint. If either width or height is -1 uses default. | |
| virtual QSize | minimumSizeHint () const |
| virtual void | setSizeHint (const QSize &s) |
| Sets the size hint in absence of minimum size. | |
| virtual int | indexOfChild (QTreeWidgetItem *) const |
| Returns the index of the child. | |
| unsigned int | depth (QTreeWidgetItem *) const |
| Returns the number of levels down this item is. | |
| QTreeWidgetItem * | nextSibling (QTreeWidgetItem *) const |
| Returns the next item after the supplied item. | |
| void | setAllowEmptySelection (bool) |
| Only valid in single selection mode. | |
| bool | allowEmptySelection () const |
| virtual bool | edit (const QModelIndex &index, EditTrigger trigger, QEvent *event) |
| Override to prevent keystrokes from going to vantage while editing. | |
| virtual void | closeEditor (QWidget *editor, QAbstractItemDelegate::EndEditHint hint) |
| virtual void | itemRightClickedOn (QTreeWidgetItem *, QMouseEvent *, int col) |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
| Turn off in name editing potential if double click. | |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| virtual void | itemLeftClickedOn (QTreeWidgetItem *, QMouseEvent *, int) |
| virtual bool | editingCanceled () const |
| virtual void | setAllowWindowsStyleNameEdit (bool) |
| bool | allowWindowsStyleNameEdit () const |
| virtual void | setEditPressTime (double) |
| double | editPressTime () const |
Protected Slots | |
| virtual void | checkForEdit () |
Protected Member Functions | |
| virtual void | scrollContentsBy (int, int) |
| virtual QSize | sizeHint () const |
| Need to do this as default sizeHint() for an abstract scroll area (in Qt 4.2.2) is too large. | |
| virtual QItemSelectionModel::SelectionFlags | selectionCommand (const QModelIndex &index, const QEvent *event=0) const |
| Override to allow empty selection in single selection mode. | |
| virtual QItemSelectionModel::SelectionFlags | selectionBehaviorFlags () const |
| makVrf::DtTreeWidget::DtTreeWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent | ||
| ) |
Constructor.
|
virtual |
DTOR.
|
virtual |
Returns the last item in the list.
|
inline |
|
inline |
|
virtual |
Set the minimum size hint. If either width or height is -1 uses default.
|
virtual |
Reimplemented in DtSimulationObjectEditorListTreeWidget.
|
inlinevirtual |
Sets the size hint in absence of minimum size.
|
virtual |
Returns the index of the child.
| unsigned int makVrf::DtTreeWidget::depth | ( | QTreeWidgetItem * | ) | const |
Returns the number of levels down this item is.
| QTreeWidgetItem* makVrf::DtTreeWidget::nextSibling | ( | QTreeWidgetItem * | ) | const |
Returns the next item after the supplied item.
|
inline |
Only valid in single selection mode.
References myAllowEmptySelection.
|
inline |
References myAllowEmptySelection.
|
virtual |
Override to prevent keystrokes from going to vantage while editing.
|
virtual |
|
virtual |
Reimplemented in makVrf::DtPlanTreeWidget.
|
virtual |
Reimplemented in makVrf::DtEntityPaletteTreeWidget.
|
virtual |
Turn off in name editing potential if double click.
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
Support for editing (on items that support it) a single press, then, a single press on the item again (for a length of time) to allow rename
|
inline |
|
virtual |
|
inline |
|
signal |
Emitted when the mouse button is pressed.
If the event is accepted, will not process parent message
|
signal |
Emitted when right button is released.
|
protectedvirtualslot |
|
protectedvirtual |
Need to do this as default sizeHint() for an abstract scroll area (in Qt 4.2.2) is too large.
Reimplemented in makVrf::DtEntityPaletteTreeWidget, and DtSimulationObjectEditorListTreeWidget.
|
protectedvirtual |
Override to allow empty selection in single selection mode.
|
protectedvirtual |
|
protected |
|
protected |
Referenced by allowEmptySelection(), and setAllowEmptySelection().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |