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

Public Member Functions | |
| DtVrfTreeWidget (makVrv::DtDe &de, QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtVrfTreeWidget () |
| DTOR. | |
Public Member Functions inherited from makVrf::DtTreeWidget | |
| DtTreeWidget (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 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 |
Public Attributes | |
| boost::signal< void(const QStringList &children, makVrv::DtUniqueID parentId)> | signal_reparent |
Protected Member Functions | |
| virtual QMimeData * | mimeData (const QList< QTreeWidgetItem * > list) const |
| virtual void | dragEnterEvent (QDragEnterEvent *event) |
| virtual bool | dropMimeData (QTreeWidgetItem *parent, int index, const QMimeData *mimeData, Qt::DropAction action) |
| virtual void | dragMoveEvent (QDragMoveEvent *event) |
| virtual bool | canDropOnItem (QTreeWidgetItem *, const QStringList &globalIds, QDragMoveEvent *event) const |
| Override to tell whether or not dragged item can be dropped on specified list item. | |
| virtual void | dropItems (const QStringList &globalIds, QTreeWidgetItem *) |
| Override to drop specified items onto the specified parent. | |
Protected Member Functions inherited from makVrf::DtTreeWidget | |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| 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 |
Protected Attributes | |
| makVrv::DtDe & | myDe |
Protected Attributes inherited from makVrf::DtTreeWidget | |
| bool | myMouseRightClick |
| bool | myAllowEmptySelection |
Additional Inherited Members | |
Signals inherited from makVrf::DtTreeWidget | |
| 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) |
| makVrf::DtVrfTreeWidget::DtVrfTreeWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
Reimplemented in makVrf::DtVrfOverlayTreeView.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Override to tell whether or not dragged item can be dropped on specified list item.
Reimplemented in makVrf::DtVrfOverlayTreeView, makVrf::DtVrfEchelonHierarchyTreeWidget, and makVrf::DtVrfEmbarkationHierarchyTreeWidget.
|
protectedvirtual |
Override to drop specified items onto the specified parent.
Reimplemented in makVrf::DtVrfOverlayTreeView, makVrf::DtVrfEchelonHierarchyTreeWidget, and makVrf::DtVrfEmbarkationHierarchyTreeWidget.
| boost::signal<void (const QStringList& children, makVrv::DtUniqueID parentId)> makVrf::DtVrfTreeWidget::signal_reparent |
|
protected |