11 #if !defined(Q_MOC_RUN)
13 #include <QtWidgets/QDialog>
17 #include <QtGui/QPixmap>
23 #include <vlpi/simulationAddress.h>
44 class DtGuiLocalObject;
45 class DtVrfBackendState;
46 class DtObjectListViewItem;
47 class DtLoadBalancingExtensionWidget;
48 class DtLoadBalancerSelectionWidget;
57 Q_PROPERTY(QColor backendColor1 MEMBER myBackendColor1 USER
true)
58 Q_PROPERTY(QColor backendColor2 MEMBER myBackendColor2 USER true)
59 Q_PROPERTY(QColor backendColor3 MEMBER myBackendColor3 USER true)
60 Q_PROPERTY(QColor backendColor4 MEMBER myBackendColor4 USER true)
61 Q_PROPERTY(QColor backendColor5 MEMBER myBackendColor5 USER true)
62 Q_PROPERTY(QColor backendColor6 MEMBER myBackendColor6 USER true)
63 Q_PROPERTY(QColor backendColor7 MEMBER myBackendColor7 USER true)
64 Q_PROPERTY(QColor backendColor8 MEMBER myBackendColor8 USER true)
65 Q_PROPERTY(QColor backendColor9 MEMBER myBackendColor9 USER true)
77 virtual
void setBackendColors(const QVariantList&);
78 virtual QVariantList getBackendColors() const;
81 virtual
void applyLoadBalance();
83 virtual
void revertBackends();
84 virtual
void executeTextFilter();
85 virtual
void changeObjectView();
89 virtual
void loadBalancingValidityChanged();
90 virtual
bool itemHasSubordinates(QTreeWidgetItem*) const;
92 virtual
void initConnections();
96 virtual
void slot_backendRemoved(const DtVrfBackendState&);
97 virtual
void slot_backendUpdated(const DtVrfBackendState&,
int changedFlags);
106 virtual
void accept() override;
107 virtual
void reject() override;
109 virtual
void initBackendLoads();
110 virtual
void updateBackendLoads();
111 virtual
void setBackendForSubordinatesOf(const
DtUUID&, const QString& address);
112 virtual
void initControls();
113 virtual
void initTrees();
114 virtual const QPixmap& colorPixmapForAddress(const DtSimulationAddress&);
115 virtual
void initTreeAsFlatList();
116 virtual
void initTreeAsHierarchy();
117 virtual
void clearForceNodes();
121 virtual
void restoreForceManager();
122 virtual
void processForceHostilityFile(const DtFilename&);
126 QHBoxLayout* myButtonLayout;
134 QHBoxLayout* myLoadBalancingLayout;
139 QHBoxLayout* mySearchLayout =
nullptr;
143 makVrv::DtSignalConnectionManager myConnectionManager;
144 int myObjectViewId = 0;
145 const DtVrfFileParser* myParser =
nullptr;
147 QString myRightClickChosenBackend;
148 std::set<std::
string> myInitialMappedBackends;
149 QColor myBackendColor1;
150 QColor myBackendColor2;
151 QColor myBackendColor3;
152 QColor myBackendColor4;
153 QColor myBackendColor5;
154 QColor myBackendColor6;
155 QColor myBackendColor7;
156 QColor myBackendColor8;
157 QColor myBackendColor9;
161 std::shared_ptr<DtGuiLocalObject>
view;
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Definition: vrfBackendState.h:65
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Definition: DtForceManager.h:44
Contains the DtUUID class declaration.
ReaderWriter object that maintains a list of reader-writer variable bindings. It keeps a list of name...
Definition: rwVariableBindings.h:27
Definition: addressMap.h:24
Definition: guiLocalObject.h:18
Contains makVrv::DtForceManager class.
Base class to provide boost signal/slot management.
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Definition: vrfFileParser.h:30
This tree widget item can be used in any tree that wants to display an icon next to the name of an ob...
Definition: objectListViewItem.h:45