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

Public Member Functions | |
| DtVrfOrbatTreeWidget (makVrv::DtDe &de, QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtVrfOrbatTreeWidget () |
| DTOR. | |
| virtual void | setOrbatActivated (bool) |
| virtual void | setOrbatCreationMode (bool) |
| Sets whether or not this is in creation mode only. | |
| bool | orbatCreationMode () const |
Public Member Functions inherited from makVrf::DtVrfEchelonHierarchyTreeWidget | |
| DtVrfEchelonHierarchyTreeWidget (makVrv::DtDe &de, QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtVrfEchelonHierarchyTreeWidget () |
| DTOR. | |
| virtual void | setAllowForceChange (bool b) |
| Set to true to allow drag between force level items. Default is false. | |
| bool | allowForceChange () const |
| virtual void | setUseForceRootOrganization (bool b) |
| Whether or not this is organized by force. | |
| bool | useForceRootOrganization () const |
Public Member Functions inherited from makVrf::DtVrfTreeWidget | |
| DtVrfTreeWidget (makVrv::DtDe &de, QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtVrfTreeWidget () |
| DTOR. | |
| virtual void | startDrag (Qt::DropActions supportedActions) |
| QTreeWidgetItem * | draggingOver () const |
Public Member Functions inherited from makVrf::DtTreeWidget | |
| 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 |
Public Attributes | |
| boost::signal< void(const std::vector< DtEntityMapperKey > &, const DtUUID &onTopOf)> | signal_orbatItemsDroppedForCreation |
| boost::signal< void(const QStringList &ids, makVrv::DtUniqueID parent, int)> | signal_reparentOrbatItems |
| boost::signal< void(const QByteArray &, DtVrfObjectListViewItem *)> | signal_dropOrbatItemsOn |
Public Attributes inherited from makVrf::DtVrfEchelonHierarchyTreeWidget | |
| boost::signal< void(const QStringList &ids, int)> | signal_changeForceOf |
Public Attributes inherited from makVrf::DtVrfTreeWidget | |
| boost::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 |
| Override to tell whether or not dragged item can be dropped on specified list item. | |
| virtual void | dropItems (const QStringList &globalIds, QTreeWidgetItem *item) |
| Override to drop specified items onto the specified parent. | |
| virtual void | keyPressEvent (QKeyEvent *e) |
Protected Attributes | |
| bool | myOrbatActivated |
| bool | myOrbatCreationMode |
Protected Attributes inherited from makVrf::DtVrfEchelonHierarchyTreeWidget | |
| bool | myAllowForceChange |
| bool | myUseForceRootOrganization |
Protected Attributes inherited from makVrf::DtVrfTreeWidget | |
| QTreeWidgetItem * | myDraggingOver |
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 |
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) |
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::signal<void (const std::vector<DtEntityMapperKey>&, const DtUUID& onTopOf)> makVrf::DtVrfOrbatTreeWidget::signal_orbatItemsDroppedForCreation |
| boost::signal<void (const QStringList& ids, makVrv::DtUniqueID parent, int)> makVrf::DtVrfOrbatTreeWidget::signal_reparentOrbatItems |
| boost::signal<void (const QByteArray&, DtVrfObjectListViewItem*)> makVrf::DtVrfOrbatTreeWidget::signal_dropOrbatItemsOn |
|
protected |
|
protected |