Public Member Functions |
| | DtOrbatPalettePage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) |
| virtual | ~DtOrbatPalettePage () |
| virtual const std::string & | pageClassName () const |
| | Get the class name of the page.
|
| virtual void | clear () |
| | Clears contents of widget.
|
| virtual void | update () |
| | Tells widget to update (redraw)
|
| virtual void | setEnabled (bool) |
| | Enables/Disables Gui.
|
| virtual bool | initiallyVisible () const |
| virtual | ~DtVrfOrbatPage () |
| | DTOR.
|
| virtual QIcon | icon () |
| | Get the icon of the page.
|
| virtual QString | title () |
| | Get the title 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 | closeDialogs () |
| virtual void | validateButtons () |
| virtual | ~DtVrfEchelonHierarchyPage () |
| | DTOR.
|
| 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) |
| | 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.
|
| virtual | ~DtGenericPaletteInterface () |
| | Virtual DTOR.
|
Protected Member Functions |
| virtual void | activate () |
| | MUST be called to set up logic and widgets.
|
| 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 bool | eventFilter (QObject *o, QEvent *e) |
| virtual void | onCreateDone () |
| | DtVrfOrbatPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) |
| | CTOR.
|
| | DtVrfEchelonHierarchyPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) |
| | CTOR.
|
virtual
DtMarkingTextSignalItemDelegate * | createTreeItemDelegate () |
| | 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 | deactivate () |
| | Called when the page is hidden.
|
Specialized ORBAT page that will put page into creation mode.