![]() |
VR-Forces Developer's Guide
|
A tree widget that represents the synchronization matrix.

Public Types | |
| enum | ObjectItemUserRole { ItemUserRoleUUID = Qt::UserRole, ItemUserRoleHasPlan, ItemUserRoleIsActivated, ItemUserRoleIsHiddenByFOW, ItemUserRoleIsHiddenSyncMatrixUUID, ItemUserRolePlanLinked } |
Signals | |
| void | signal_addPhase (int phaseIndex) |
| void | signal_removePhase (const QString &phaseName) |
| void | signal_editPhase (const QString &phaseName) |
| void | signal_movePhase (const QString &phaseName, int phaseIndex) |
| void | signal_addObject () |
| void | signal_removeObject (const DtUUID &uuid) |
| void | signal_setPlan (const DtUUID &uuid, const QString &phaseName) |
| void | signal_linkPlan (const DtUUID &uuid, const QString &phaseName, const QString &toPhaseName) |
| void | signal_unlinkPlan (const DtUUID &uuid, const QString &phaseName, const QString &toPhaseName) |
| void | signal_removePlan (const DtUUID &uuid, const QString &phaseName) |
| void | signal_copyPlan (const DtUUID &uuid, const QString &phaseName) |
| void | signal_pastePlan (const DtUUID &uuid, const QString &phaseName) |
| void | signal_activatePlan (const DtUUID &uuid, const QString &phaseName, bool activate) |
Public Member Functions | |
| DtSyncMatrixTreeWidget (makVrv::DtDe &de, QWidget *parent=Q_NULLPTR) | |
| virtual | ~DtSyncMatrixTreeWidget () override |
| virtual void | resetMatrix (const DtRwSyncMatrixPhaseList &phases) |
| virtual void | clearObjects () |
| virtual void | clearPlans () |
| virtual void | clearAll () |
| virtual void | addingObjectsStopped () |
| const QColor & | phaseActiveColor () const |
| const QColor & | phaseCompletedColor () const |
| const QColor & | planCellBackgroundColor () const |
| const QColor & | planCellColor () const |
| const QColor & | addContinueColor () const |
| virtual QTreeWidgetItem * | topLevelObjectItem (const DtUUID &uuid) |
| virtual QTreeWidgetItem * | addTopLevelObject (const DtUUID &syncMatrixUUID, const DtUUID &uuid, const QString &name) |
| virtual QTreeWidgetItem * | addChildObject (QTreeWidgetItem *parent, const DtUUID &syncMatrixUUID, const DtUUID &uuid, const QString &name) |
| virtual void | setPlanStatus (const DtUUID &uuid, const QString &phaseName, const DtRwSyncMatrixPlan *planSummary, bool valid, bool activated) |
| virtual void | setPlanStatus (QTreeWidgetItem *item, const QString &phaseName, const DtRwSyncMatrixPlan *planSummary, bool valid, bool activated) |
| virtual void | removeObject (const DtUUID &uuid) |
| virtual void | renameObject (const DtUUID &uuid, const QString &name) |
| virtual bool | phaseNameExists (const QString &phaseName) |
| virtual void | moveToPhase (const QString &requestedPhase, const QString &prevPhase, bool prevPhaseCompleted) |
| virtual QString | getObjectName (const DtUUID &uuid) |
| virtual void | updateDisplay () |
| virtual void | updateDisplay (QTreeWidgetItem *) |
Protected Slots | |
| virtual void | slot_addObject () |
| virtual void | slot_removeObject (const QModelIndex &index) |
| virtual void | slot_setPlan (const QModelIndex &index) |
| virtual void | slot_linkPlan (const QModelIndex &index) |
| virtual void | slot_unlinkPlan (const QModelIndex &index) |
Protected Member Functions | |
| virtual void | syncMatrixItemCopyPlan (QTreeWidgetItem *item, int column) |
| virtual void | syncMatrixItemPastePlan (QTreeWidgetItem *item, int column) |
| virtual void | syncMatrixItemRemovePlan (QTreeWidgetItem *item, int column) |
| virtual void | syncMatrixItemActivatePlan (QTreeWidgetItem *item, int column, bool activate) |
| virtual QTreeWidgetItem * | findObjectItem (const DtUUID &uuid, QTreeWidgetItem *parent) |
| virtual void | deactivateChildItems (QTreeWidgetItem *item, int column) |
| virtual void | clearItemPlan (QTreeWidgetItem *item) |
| virtual void | contextMenuEvent (QContextMenuEvent *event) override |
| virtual QTreeWidgetItem * | createTreeItem (const DtUUID &, const QString &name) const |
| virtual QVariant | displayPlanStatement (const DtObjectListViewItem *, int column) const |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| QColor | myPhaseActiveColor |
| QColor | myPhaseCompletedColor |
| QColor | myPlanCellBackgroundColor |
| QColor | myPlanCellColor |
| QColor | myAddContinueColor |
Properties | |
| QColor | PhaseActiveColor |
| QColor | PhaseCompletedColor |
| QColor | PlanCellBackgroundColor |
| QColor | PlanCellColor |
| QColor | AddContinueColor |
enums for user data stored in the tree widget: uuid - object's uuid in the first column has plan, is activated - plan item from second column to end
| Enumerator | |
|---|---|
| ItemUserRoleUUID | |
| ItemUserRoleHasPlan | |
| ItemUserRoleIsActivated | |
| ItemUserRoleIsHiddenByFOW | |
| ItemUserRoleIsHiddenSyncMatrixUUID | |
| ItemUserRolePlanLinked | |
| makVrf::DtSyncMatrixTreeWidget::DtSyncMatrixTreeWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = Q_NULLPTR |
||
| ) |
|
overridevirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Updates items for fog of war.
|
virtual |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| QColor makVrf::DtSyncMatrixTreeWidget::PhaseActiveColor |
| QColor makVrf::DtSyncMatrixTreeWidget::PhaseCompletedColor |
| QColor makVrf::DtSyncMatrixTreeWidget::PlanCellBackgroundColor |
| QColor makVrf::DtSyncMatrixTreeWidget::PlanCellColor |
| QColor makVrf::DtSyncMatrixTreeWidget::AddContinueColor |