![]() |
VR-Forces Developer's Guide
|

Public Attributes | |
| boost::signals2::signal< void(const std::vector< DtEntityMapperKey > &, const DtUUID &onTopOf)> | signal_orbatItemsDroppedForCreation |
| boost::signals2::signal< void(const QStringList &ids, makVrv::DtUniqueID parent, int)> | signal_reparentOrbatItems |
| boost::signals2::signal< void(const QByteArray &, DtObjectListViewItem *)> | signal_dropOrbatItemsOn |
Public Attributes inherited from makVrf::DtVrfEchelonHierarchyTreeWidget | |
| boost::signals2::signal< void(const QStringList &ids, int)> | signal_changeForceOf |
Public Attributes inherited from makVrf::DtVrfTreeWidget | |
| boost::signals2::signal< void(const QStringList &children, makVrv::DtUniqueID parentId)> | signal_reparent |
Protected Member Functions | |
| virtual void | dragEnterEvent (QDragEnterEvent *event) |
| virtual void | dragMoveEvent (QDragMoveEvent *event) |
| virtual bool | dropMimeData (QTreeWidgetItem *parent, int index, const QMimeData *mimeData, Qt::DropAction action) |
| virtual bool | canDropOnItem (QTreeWidgetItem *item, const QStringList &globalIds, QDragMoveEvent *event) const |
| virtual void | dropItems (const QStringList &globalIds, QTreeWidgetItem *item) |
| virtual void | keyPressEvent (QKeyEvent *e) |
Protected Member Functions inherited from makVrf::DtVrfTreeWidget | |
| virtual QMimeData * | mimeData (const QList< QTreeWidgetItem * > list) const |
| virtual void | updateDraggingOver (QDragMoveEvent *) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *e) |
| virtual bool | viewportEvent (QEvent *event) override |
| virtual void | mousePressEvent (QMouseEvent *event) override |
Protected Member Functions inherited from makVrf::DtTreeWidget | |
| virtual void | scrollContentsBy (int, int) |
| virtual QSize | sizeHint () const |
| virtual QItemSelectionModel::SelectionFlags | selectionCommand (const QModelIndex &index, const QEvent *event=0) const |
| virtual QItemSelectionModel::SelectionFlags | selectionBehaviorFlags () const |
Protected Attributes | |
| bool | myOrbatActivated |
| bool | myOrbatCreationMode |
Protected Attributes inherited from makVrf::DtVrfEchelonHierarchyTreeWidget | |
| bool | myAllowForceChange |
| bool | myUseForceRootOrganization |
Protected Attributes inherited from makVrf::DtVrfTreeWidget | |
| QTreeWidgetItem * | myDraggingOver |
| bool | myChangeCursorWhenOverItem |
Protected Attributes inherited from makVrf::DtTreeWidget | |
| bool | myMouseRightClick |
| bool | myAllowEmptySelection |
| bool | myAllowWindowsStyleNameEdit |
| double | myEditPressTime |
| makVrv::DtDe & | myDe |
| bool | myEditingCanceled |
| QSize | myMinimumSizeHint |
| QSize | mySizeHint |
| bool | myNextReleaseMightBeEdit |
| QTreeWidgetItem * | myCheckForEditAfterTimer |
| bool | myLastEditEventWasDoubleClick |
| bool | myDisableNameEditIfNotWindowsStyleEnabled |
| QItemSelectionModel::SelectionFlags | myLastSelectionCommand |
| bool | myLastSelectHadControlKeyDown |
Additional Inherited Members | |
Signals inherited from makVrf::DtTreeWidget | |
| void | mouseLeftPressed (QTreeWidgetItem *, QMouseEvent *, int col) |
| void | rightClickOnItem (QTreeWidgetItem *, QMouseEvent *, int col) |
| void | contentsMoving (int, int) |
Protected Slots inherited from makVrf::DtTreeWidget | |
| virtual void | checkForEdit () |
| makVrf::DtVrfOrbatTreeWidget::DtVrfOrbatTreeWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
virtual |
Sets whether or not this is in creation mode only. Creation mode does not allow adding/removing/modifying of ORBAT items, the button row is removed and single click on item will go into create mode for that item. On initial creation the default is the creation mode as set in the application.
| bool makVrf::DtVrfOrbatTreeWidget::orbatCreationMode | ( | ) | const |
|
protectedvirtual |
Reimplemented from makVrf::DtVrfTreeWidget.
|
protectedvirtual |
Reimplemented from makVrf::DtVrfTreeWidget.
|
protectedvirtual |
Reimplemented from makVrf::DtVrfTreeWidget.
|
protectedvirtual |
Override to tell whether or not dragged item can be dropped on specified list item.
Reimplemented from makVrf::DtVrfEchelonHierarchyTreeWidget.
|
protectedvirtual |
Override to drop specified items onto the specified parent.
Reimplemented from makVrf::DtVrfEchelonHierarchyTreeWidget.
|
protectedvirtual |
| boost::signals2::signal<void (const std::vector<DtEntityMapperKey>&, const DtUUID& onTopOf)> makVrf::DtVrfOrbatTreeWidget::signal_orbatItemsDroppedForCreation |
| boost::signals2::signal<void (const QStringList& ids, makVrv::DtUniqueID parent, int)> makVrf::DtVrfOrbatTreeWidget::signal_reparentOrbatItems |
| boost::signals2::signal<void (const QByteArray&, DtObjectListViewItem*)> makVrf::DtVrfOrbatTreeWidget::signal_dropOrbatItemsOn |
|
protected |
|
protected |