|
| | DtVrfHierarchyPageLogic (makVrv::DtDe &de, DtVrfHierarchyPage *iface) |
| |
| virtual | ~DtVrfHierarchyPageLogic () |
| |
| virtual void | slot_itemSelectionChanged () |
| |
| virtual void | slot_rightClickOnItem (QPoint global) |
| |
| virtual QTreeWidgetItem * | itemForState (const DtObjectListViewItem::DtVrfObjectState s) const |
| |
| virtual void | expandToLevel (unsigned int i) |
| |
| virtual void | collapseToLevel (unsigned int i) |
| |
| virtual void | viewItemExpanded (QTreeWidgetItem *i) |
| |
| virtual void | viewItemCollapsed (QTreeWidgetItem *i) |
| |
| virtual DtObjectListViewItem * | itemByUUID (const DtUUID &uuid) const |
| |
| virtual bool | isForceRootNode (makVrv::DtUniqueID) const |
| |
| virtual bool | isOrganizedRootNode (QTreeWidgetItem *) const |
| |
| virtual int | forceForRootNode (makVrv::DtUniqueID) const |
| |
| virtual void | deparent (const QStringList &)=0 |
| |
| virtual void | reparent (const QStringList &children, makVrv::DtUniqueID parentId)=0 |
| |
| virtual bool | hierarchyStateFor (makVrv::DtUniqueID, makVrv::DtElementIDHierarchyState &) const =0 |
| |
| virtual bool | processHierarchyItem (makVrv::DtElementIDHierarchyNode *, bool force=false) |
| |
| virtual void | setShowObjectConsoleWarning (bool b) |
| |
| virtual bool | showObjectConsoleWarningIcon () const |
| |
| virtual void | setTextFilter (const QString &) |
| |
| virtual void | setShowCountsOnObjectList (bool) |
| |
| virtual void | setShowEchelonIdColumn (bool) |
| |
| virtual bool | showEchelonIdColumn () const |
| |
| virtual QTreeWidgetItem * | rootNodeForItem (DtObjectListViewItem *) const |
| |
| virtual QTreeWidgetItem * | parentNodeForItem (DtObjectListViewItem *) const |
| |
| virtual void | activate () |
| |
| virtual int | sortColumn () const |
| |
| virtual int | initialSortColumn () const |
| |
| virtual void | setDoubleClickAttachesAndCenters (bool b) |
| |
| bool | doubleClickAttachesAndCenters () const |
| |
| virtual void | setInitiallyExpand (bool) |
| |
| bool | initiallyExpand () const |
| |
| virtual void | setGrayOutHiddenItems (bool) |
| |
| bool | grayOutHiddenItems () const |
| |
|
| virtual DtObjectListViewItem * | addOrganizedRootNode (const QString &name, const DtFilename &iconFile, const DtVrfSelectionFilter &filter, int index=-1, const QString &beforeItem="", bool keepUnderThisNodeIfTacticalGraphic=false) |
| |
| virtual bool | removeOrganizedRootNode (const QString &) |
| |
| virtual void | addOrganizedParentNode (ParentNodeContext, const DtVrfSelectionFilter &potentialParent, const DtVrfSelectionFilter &potentialChild) |
| |
| virtual void | removeOrganizedParentNode (ParentNodeContext) |
| |
|
| virtual bool | showCountsOnObjectList () const |
| |
| virtual bool | canDisplayChildCounts () const |
| |
|
| virtual void | enableChildCount () |
| |
| virtual void | disableChildCount () |
| |
| virtual bool | handleStealthObjects () const |
| |
| virtual void | slot_gumballSettingsChanged (bool b) |
| |
| virtual void | checkForInitialExpansion (DtObjectListViewItem *) |
| |
| virtual bool | passesFogOfWarFilters (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) const |
| |
| virtual void | scenarioClosed () |
| |
| virtual void | moveItemToNewForceNode (makVrv::DtUniqueID, int force) |
| |
virtual
makVrv::DtSimEntryUpdater::UpdateRate | currentUpdateRate (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *sv) const |
| |
| void | clearChildrenInAdvanceOfDelete (DtObjectListViewItem *item) |
| |
| virtual void | entityStateChanged (makVrv::DtElementID, DtSharedVrfVrlApplicationSettings::EntityStates, bool) |
| |
| virtual void | slot_onTick () |
| |
| virtual void | slot_onStateViewAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) |
| |
| virtual bool | addNode (makVrv::DtElementIDHierarchyNode *) const |
| |
| virtual bool | isValidState (makVrv::DtUniqueID) const |
| |
| virtual bool | isValidState (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s) const |
| |
| virtual void | filterItems () |
| |
| virtual void | filterTDLItems () |
| |
| virtual void | stateViewUpdated () |
| |
| virtual void | resorted () |
| |
virtual
DtVrfStateViewCollectionManager & | vrfStateViewCollectionManager () const |
| |
| virtual void | hookOrganizedParentToChildren () |
| |
| virtual void | onDataChanged (DtObjectListViewItem *item) |
| |
| virtual void | forcesChanged () |
| |
| virtual void | unhandledStateView (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *) |
| |
| virtual void | slot_itemDoubleClicked (QTreeWidgetItem *) |
| |
| virtual void | clearExpansionStateFor (DtObjectListViewItem *) |
| |
| virtual void | removeNode (makVrv::DtElementID) |
| |
| virtual bool | positionNodeInHierarchy (makVrv::DtElementIDHierarchyNode *, bool force=false) |
| |
| virtual void | hookChildToParent (makVrv::DtElementIDHierarchyNode *, bool forceUpdate=false) |
| |
| virtual void | hookParentToChildren (makVrv::DtElementIDHierarchyNode *, bool forceUpdate=false) |
| |
| virtual DtObjectListViewItem * | createItemFor (makVrv::DtElementIDHierarchyNode *) |
| |
| virtual QVariant | echelonId (const DtObjectListViewItem *) const |
| |
| virtual void | slot_stateViewAboutToBeRemoved (const makVrv::DtStateView< DtVrfObjectDataState > &s) |
| |
| virtual void | cleanupHierarchyItem (DtObjectListViewItem *item) |
| |
| virtual void | createdHierarchyItem (DtObjectListViewItem *item) |
| |
| virtual void | deferredItemSelectionChanged () |
| |
| virtual bool | performOperationsImmediately () const |
| |
| virtual void | addDataFunctions (DtObjectListViewItem *item) |
| |
| virtual void | addSortingFunctions (DtObjectListViewItem *item) |
| |
| virtual void | slot_externalSelectionChanged (const makVrv::DtSelectionManager::IdSet &selected, const makVrv::DtSelectionManager::IdSet &deselected) |
| |
| virtual void | updateCollapseButtons () |
| |
| virtual void | updateCollapseButtons (QTreeWidgetItem *) |
| |
| virtual void | createCollapseButton (unsigned int) |
| |
| virtual void | expandToLevel (unsigned int level, QTreeWidgetItem *lvi) |
| |
| virtual void | collapseToLevel (unsigned int level, QTreeWidgetItem *lvi) |
| |
| virtual void | hierarchyItemsModified (const makVrv::DtElementAttributeManager::EntryAttributesList &)=0 |
| |
| virtual short | supportsAttribute () const =0 |
| |
| virtual void | hierarchyItemsRemoved (const makVrv::DtElementData::UniqueIdList &) |
| |
| virtual void | setupForceRootNodes () |
| |
| virtual bool | sortBySubordinatePosition (const DtObjectListViewItem &rhs, const DtObjectListViewItem &lhs) |
| |
| virtual void | checkPendingOperations () |
| |
| virtual void | checkFogOfWar (DtObjectListViewItem *, int oldForce=-1, int newForce=-1) |
| |
| virtual void | onForceChanged (DtObjectListViewItem *, int oldForce=-1, int newForce=-1) |
| |
| virtual void | onDamageStateChanged (DtObjectListViewItem *, bool isDestroyed=false) |
| |
| virtual void | onActivatedStateChanged (DtObjectListViewItem *, bool isActivated=true) |
| |
| virtual void | onMarkingTextFilterChanged (DtObjectListViewItem *) |
| |
| virtual void | slot_extendedApplicationOptionsChanged () |
| |
| virtual void | updateRootNodeVisibility (DtObjectListViewItem *) |
| |
| virtual DtObjectListViewItem * | itemFor (makVrv::DtElementIDHierarchyNode *node) const |
| |
| virtual void | slot_onUpdateRateChanged (makVrv::DtUniqueID id, int rate) |
| |
| virtual void | completeRateChange (makVrv::DtUniqueID id) |
| |
| virtual void | itemPositioned (DtObjectListViewItem *) |
| |
| virtual void | checkParentVisibility (DtObjectListViewItem *) |
| |
| virtual void | restoreExpansionState (QTreeWidgetItem *, bool expanded) |
| |
| virtual void | initialize () |
| |
| virtual void | resetVisuals () |
| |
| virtual void | resetIconColor (DtRwColor, const std::vector< makVrv::DtUniqueID > &ids) |
| |
| virtual void | slot_uuidChanged (makVrv::DtUniqueID id, const DtUUID &oldUUID, const DtUUID &newUUID) |
| |
| virtual void | slot_objectVisibilityChanged (makVrv::DtUniqueID id, bool) |
| |
| virtual void | addToPotentialParents (DtObjectListViewItem *) |
| |
| virtual void | removeFromPotentialParents (DtObjectListViewItem *) |
| |
|
| virtual DtObjectListViewItem * | addForceLevelRootNode (int, const DtString &forceName, bool includeUnkownForForce=false) |
| |
| virtual DtObjectListViewItem* makVrf::DtVrfHierarchyPageLogic::addOrganizedRootNode |
( |
const QString & |
name, |
|
|
const DtFilename & |
iconFile, |
|
|
const DtVrfSelectionFilter & |
filter, |
|
|
int |
index = -1, |
|
|
const QString & |
beforeItem = "", |
|
|
bool |
keepUnderThisNodeIfTacticalGraphic = false |
|
) |
| |
|
virtual |
This section will deal with the adding of organized nodes. There are two types of organized nodes that can be added. One by force (which is protected and only used by the class) and one which is a more general folder (which is part of the public API). Each child can only appear under one node due to the organization of the items in this folder, and, unless otherwise specified, will be organized by echelon hierarchy. The order is which to add it into the existing order. This will not maintain an order, so, the next add could adjust where this item is placed. If -1 is given the item will be placed before the first force node. Note that if a new folder is added items will not be reparented to this new folder, so, make sure to add it before any items are added to the simulation.
If beforeItem is not an empty string, visually place before the named item
| virtual void makVrf::DtVrfHierarchyPageLogic::removeOrganizedParentNode |
( |
ParentNodeContext |
| ) |
|
|
virtual |
This section will deal with the adding of organized nodes. There are two types of organized nodes that can be added. One by force (which is protected and only used by the class) and one which is a more general folder (which is part of the public API). Each child can only appear under one node due to the organization of the items in this folder, and, unless otherwise specified, will be organized by echelon hierarchy. The order is which to add it into the existing order. This will not maintain an order, so, the next add could adjust where this item is placed. If -1 is given the item will be placed before the first force node. Note that if a new folder is added items will not be reparented to this new folder, so, make sure to add it before any items are added to the simulation.
If beforeItem is not an empty string, visually place before the named item