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

Public Slots | |
| virtual void | onCreateFromOrbat () |
Public Member Functions | |
| virtual | ~DtVrfOrbatPage () |
| DTOR. | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual void | setOrbatActivated (bool) |
| Whether or not the orbat view is activated. It will be active if there is a back-end that can simulate. | |
| virtual void | itemPositioned (DtVrfObjectListViewItem *item) |
| Select object is just created from palette and expand parent if collapsed. | |
| virtual void | setOrbatCreationMode (bool) |
| Sets whether or not this is in creation mode only. | |
| bool | orbatCreationMode () const |
| virtual void | setSignalObjectToCreate (bool) |
| Only signal what item is to be created – don't actually create it. | |
| bool | signalObjectToCreate () const |
| virtual void | setShowInOrbatOnly (bool) |
| Only show items that are in the ORBAT. | |
| bool | showInOrbatOnly () const |
| virtual void | activate () |
| MUST be called to set up logic and widgets. | |
| virtual void | closeDialogs () |
| virtual void | validateButtons () |
Public Member Functions inherited from makVrf::DtVrfEchelonHierarchyPage | |
| virtual | ~DtVrfEchelonHierarchyPage () |
| DTOR. | |
Public Member Functions inherited from makVrf::DtVrfHierarchyPage | |
| virtual | ~DtVrfHierarchyPage () |
| DTOR. | |
| DtVrfTreeWidget * | echelon () |
| virtual void | selectObjects (const std::vector< DtVrfObjectListViewItem::DtVrfObjectState >) |
| Clears current selection and selects object in list. | |
| virtual std::vector < DtVrfObjectListViewItem::DtVrfObjectState > | selectedObjects () const |
| Returns a list of the objects selected. | |
| virtual DtExpandCollapseButton * | createExpandCollapseButton (unsigned int, int numButtons) |
| virtual int | initialSortColumn () const |
| virtual void | changeForceOf (const QStringList &ids, int) |
| virtual void | setAllowNameChange (bool) |
| virtual void | setEditPressTime (double) |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
| virtual PageAction | pageAction () |
| return the current action on the page | |
| virtual void | setPageAction (PageAction action) |
| set the curret action on the page | |
| virtual void | setActionFlag (int flag) |
| set the action flag of the page | |
| virtual int | actionFlag () |
| return the action flag of the page | |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| set the parent dialog that owns this page | |
| virtual QWidget * | parentDialog () |
| return the parent dialog that own this page | |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| test the action flag with the action, return true if we should ask before executing the action /param action the current page action | |
| virtual void | askBeforeAction () |
| Called when the action flag is set and before the action is beind executed, default do nothing. | |
| virtual void | executeAfterAsk (bool revert) |
| Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. | |
| virtual void | resumeLastAction () |
| resume the last action of the page | |
| virtual void | onCloseEvent () |
| will be called when user hit the close button of this page, default do nothing. | |
| virtual void | onSwitchEvent () |
| will be called when user try switch to another page, default do nothing. | |
Protected Slots | |
| virtual void | onAddToOrbat () |
| virtual void | onAddUnitToOrbat () |
| virtual void | entityPanelDestroyed () |
| virtual void | selectUnitDialogDestroyed () |
| virtual void | onRemoveFromOrbat () |
| virtual void | onEditOrbatEntry () |
| virtual void | onEditCancelled () |
| virtual void | onEditComplete () |
| virtual void | onOrganizeOrbat () |
| virtual void | aggregateAsDestroyed () |
| virtual void | onMoveUpInOrbatOrder () |
| virtual void | onMoveDownInOrbatOrder () |
| virtual void | onCopyOrbat () |
| virtual void | onPasteOrbat () |
| virtual void | onAddOrbatItem () |
Protected Member Functions | |
| virtual void | slot_addUnitFromUnitDialog (const DtEntityMapperKey &key, const QString &) |
| virtual void | slot_checkEntityCreateSelection () |
| virtual void | moveSelectedBy (int) |
| virtual void | onMarkingTextChanged (DtVrfObjectListViewItem *, const QString &) |
| virtual void | hideEvent (QHideEvent *) |
| virtual void | cancelCreation () |
| virtual void | slot_stoppedObjectCreation () |
| virtual void | slot_creatingObject () |
| virtual void | slot_itemRemoved (makVrv::DtUniqueID) |
| virtual bool | isForceRootNode (DtVrfObjectListViewItem *) const |
| virtual bool | isForceRootNode (makVrv::DtUniqueID) const |
| virtual int | forceForRootNode (DtVrfObjectListViewItem *) const |
| virtual int | forceForRootNode (makVrv::DtUniqueID) const |
| virtual void | paletteItemsAdded () |
| virtual DtVrfHierarchyPageLogic * | createLogic () |
| virtual void | onItemSelected () |
| Updates button state based on current selection. | |
| virtual DtVrfTreeWidget * | createHierarchyList () |
| virtual void | slot_createObjectType (const DtEntityMapperKey &x) |
| virtual void | slot_reparentOrbatItems (const QStringList &ids, makVrv::DtUniqueID parentID, int newOrbatPosition=-1) |
| Reparent orbat items to the new parent. If orbat position is -1 items wil be added to the end of the parent. | |
| virtual void | editOrbatEntry (makVrv::DtUniqueID) |
| Puts up a dialog to allow the modification of specifics of the selected object. | |
| virtual void | setupForEditMode (const makVrv::DtStateView< DtOrbatState > *) |
| Sets up the palette panel for edit mode. | |
| virtual void | setupForCreateMode () |
| Sets up the palette panel for create mode. | |
| virtual void | createEntityPalettePanel () |
| Creates the basic palette panel. | |
| virtual DtSelectUnitDialog * | createSelectUnitDialog () |
| Creates the unit selection dialog. | |
| virtual void | createRightClickMenu () |
| Creates right click menu and actions. | |
| virtual void | onRightClickOnItem (QTreeWidgetItem *, QMouseEvent *e, int col) |
| If any items selected are orbat items bring up orbat right click menu, else bring up context menu. | |
| virtual void | addObjectsToOrbatFromPalette (const std::vector< DtEntityMapperKey > &, const DtUUID &onTopOf, const QString &name="", bool createSubordinates=true) |
| Adds a new object to the orbat from a drag/drop operation. | |
| virtual void | addChildForCopyToVector (DtVrfObjectListViewItem *, QStringList &nodes, std::set< DtUUID > &processed, bool consideredUnparented=false) |
| Iterate over children and put into xml vector for later copy to clipboard for pasting. | |
| virtual void | createFromTick () |
| virtual void | editFromTick () |
| virtual void | setupForOrbatCreationMode () |
| virtual void | setupForOrbatEditMode () |
| virtual void | changeMaximumNameLength (const DtEntityMapperKey &) |
| virtual void | addObjectItemsFromOrbatPalette (const QByteArray &, DtVrfObjectListViewItem *) |
| virtual void | objectsDroppedFromPalette (const std::vector< DtEntityMapperKey > &keys, const DtUUID &onTopOf) |
| virtual bool | eventFilter (QObject *o, QEvent *e) |
| virtual void | onCreateDone () |
| DtVrfOrbatPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
Protected Member Functions inherited from makVrf::DtVrfEchelonHierarchyPage | |
| DtVrfEchelonHierarchyPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual DtMarkingTextSignalItemDelegate * | createTreeItemDelegate () |
Protected Member Functions inherited from makVrf::DtVrfHierarchyPage | |
| DtVrfHierarchyPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual void | setupUi (QWidget *p) |
| virtual DtScrollButtonArea * | createCollapseButtonConainer (QWidget *parent) |
| virtual void | slot_onDeParent (const QStringList &) |
| virtual void | slot_onReParent (const QStringList &children, makVrv::DtUniqueID parentId) |
| virtual void | createSearchBar () |
| virtual void | showSearchBars (bool) |
| virtual void | deactivate () |
| Called when the page is hidden. | |
Protected Attributes | |
| bool | myCreatingObjectFromOrbat |
| bool | myInCreationMode |
| bool | myOrbatActivated |
| DtEntityMapperKey | myObjectSelected |
| makVrv::DtUniqueID | myEditing |
| DtUUID | myUUIDBeingAdded |
| bool | myOrbatCreationMode |
| makVrv::DtSignalConnectionManager | mySidcConnections |
| bool | mySignalObjectToCreate |
| bool | myShowInOrbatOnly |
Protected Attributes inherited from makVrf::DtVrfEchelonHierarchyPage | |
| std::string | myClassName |
Protected Attributes inherited from makVrf::DtVrfHierarchyPage | |
| DtVrfHierarchyPageLogic * | myLogic |
| makVrv::DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Friends | |
| class | DtVrfOrbatPageCreator |
| Let the creator create the page. | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
|
virtual |
DTOR.
|
protected |
CTOR.
|
virtual |
Get the icon of the page.
Reimplemented from makVrf::DtVrfEchelonHierarchyPage.
|
virtual |
Get the title of the page.
Reimplemented from makVrf::DtVrfEchelonHierarchyPage.
|
virtual |
Get the class name of the page.
Reimplemented from makVrf::DtVrfEchelonHierarchyPage.
Reimplemented in makVrf::DtOrbatPalettePage.
|
virtual |
Whether or not the orbat view is activated. It will be active if there is a back-end that can simulate.
|
virtual |
Select object is just created from palette and expand parent if collapsed.
|
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::DtVrfOrbatPage::orbatCreationMode | ( | ) | const |
|
virtual |
Only signal what item is to be created – don't actually create it.
| bool makVrf::DtVrfOrbatPage::signalObjectToCreate | ( | ) | const |
|
virtual |
Only show items that are in the ORBAT.
| bool makVrf::DtVrfOrbatPage::showInOrbatOnly | ( | ) | const |
|
virtual |
MUST be called to set up logic and widgets.
Reimplemented from makVrf::DtVrfHierarchyPage.
Reimplemented in makVrf::DtOrbatPalettePage.
|
virtual |
|
virtual |
|
virtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from makVrf::DtVrfHierarchyPage.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from makVrf::DtVrfEchelonHierarchyPage.
|
protectedvirtual |
Updates button state based on current selection.
Reimplemented from makVrf::DtVrfHierarchyPage.
|
protectedvirtual |
Reimplemented from makVrf::DtVrfEchelonHierarchyPage.
|
protectedvirtual |
|
protectedvirtual |
Reparent orbat items to the new parent. If orbat position is -1 items wil be added to the end of the parent.
|
protectedvirtual |
Puts up a dialog to allow the modification of specifics of the selected object.
Not that if the object has children you can only select an object that will also take children
|
protectedvirtual |
Sets up the palette panel for edit mode.
|
protectedvirtual |
Sets up the palette panel for create mode.
|
protectedvirtual |
Creates the basic palette panel.
|
protectedvirtual |
Creates the unit selection dialog.
|
protectedvirtual |
Creates right click menu and actions.
|
protectedvirtual |
If any items selected are orbat items bring up orbat right click menu, else bring up context menu.
Reimplemented from makVrf::DtVrfHierarchyPage.
|
protectedvirtual |
Adds a new object to the orbat from a drag/drop operation.
|
protectedvirtual |
Iterate over children and put into xml vector for later copy to clipboard for pasting.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
friend |
Let the creator create the page.
| boost::signal<void (DtEntityMapperKey, std::string, DtUUID)> makVrf::DtVrfOrbatPage::signal_createObject |
| QHBoxLayout* makVrf::DtVrfOrbatPage::myButtonLayout |
| QWidget* makVrf::DtVrfOrbatPage::myButtons |
| QPushButton* makVrf::DtVrfOrbatPage::myAddToOrbat |
| QPushButton* makVrf::DtVrfOrbatPage::myAddUnitToOrbat |
| QPushButton* makVrf::DtVrfOrbatPage::myEditOrbatEntry |
| QPushButton* makVrf::DtVrfOrbatPage::myRemoveFromOrbat |
| QPushButton* makVrf::DtVrfOrbatPage::myOrganize |
| QFrame* makVrf::DtVrfOrbatPage::mySeparator |
| QPushButton* makVrf::DtVrfOrbatPage::myCreateFromOrbat |
| DtEntityCreatePalette* makVrf::DtVrfOrbatPage::myEntityPalettePanel |
Part of entity create palette extension to be able to add items at a particular location and with a particular name.
| DtAggregateAsDialog* makVrf::DtVrfOrbatPage::myAggregateAsDialog |
| DtSelectUnitDialog* makVrf::DtVrfOrbatPage::mySelectUnitDialog |
| QLabel* makVrf::DtVrfOrbatPage::myNameLabel |
| QLabel* makVrf::DtVrfOrbatPage::myCreateHelpText |
| QLineEdit* makVrf::DtVrfOrbatPage::myNameLineEdit |
| QHBoxLayout* makVrf::DtVrfOrbatPage::myPaletteButtonLayout |
| QPushButton* makVrf::DtVrfOrbatPage::myClose |
| QPushButton* makVrf::DtVrfOrbatPage::myOK |
| QPushButton* makVrf::DtVrfOrbatPage::myAddButton |
| QMenu* makVrf::DtVrfOrbatPage::myRightClickMenu |
Right click menu created when right clicking on orbat only items.
| QAction* makVrf::DtVrfOrbatPage::myAddToOrbatAction |
| QAction* makVrf::DtVrfOrbatPage::myAddUnitToOrbatAction |
| QAction* makVrf::DtVrfOrbatPage::myEditOrbatAction |
| QAction* makVrf::DtVrfOrbatPage::myRemoveFromOrbatAction |
| QAction* makVrf::DtVrfOrbatPage::myCreateFromOrbatAction |
| QAction* makVrf::DtVrfOrbatPage::myOrganizeAction |
| QAction* makVrf::DtVrfOrbatPage::myMoveUp |
| QAction* makVrf::DtVrfOrbatPage::myMoveDown |
| QAction* makVrf::DtVrfOrbatPage::myCopyAction |
| QAction* makVrf::DtVrfOrbatPage::myPasteAction |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |