9 #ifndef federateTree_H_
10 #define federateTree_H_
14 #include <QtGui/QTreeWidget>
18 #include <vlutil/vlTime.h>
19 #include <vlutil/vlString.h>
43 virtual QSize sizeHint()
const;
46 virtual void hideEvent( QHideEvent* event );
55 virtual bool removeFederation(
const QString& name );
58 virtual void removeAllFederations();
61 virtual void updateFederationColor(
const MAKRti::DtString&
federationName,
const QColor& color );
67 const QString& fedexName);
73 virtual bool removeFederate(
int federateHandle,
const QString& fedexName,
74 bool clearedDefunct =
false );
77 virtual void displayLoadingIndication();
80 virtual void removeLoadingIndication();
83 bool isFederateValid(
int federateHandle,
const QString& fedexName )
const;
86 void processInvalidList();
120 void setFederateRemovalTime(
float newTime);
123 float getFederateRemovalTime()
const;
126 void enableDeletion(
bool enable );
129 QString getTreeFederationName(
const MAKRti::DtString& federationName );
132 void forceFederateSelection(
int federateHandle,
const MAKRti::DtString& federation);
135 void forceFederationSelection(
const MAKRti::DtString& federation);
138 void forceClearSelection();
141 void saveGuiConfiguration(
const MAKRti::DtFilename& configFile);
144 void loadGuiConfiguration(
const MAKRti::DtFilename& configFile);
146 void initializeQtToolTips();
161 virtual void updateFederateItemFromForwarderInformation(
194 FederationNameIndex = 0,
195 FederateTypeAndHandleIndex = 0,
240 void setAllColumns(
const std::map<QString, std::pair<int, bool> >& columns );
243 void allColumns( std::map<QString, std::pair<int, bool> >& columns );
246 void showColCustomizeDlg();
249 void deleteSelectedFed();
253 void destroySelectedFederations();
256 void updateEnableNetworkTestingForSelectedFederations();
259 void showLatencyTest();
262 void clearAllDefunctFederates();
265 bool hasValidFederates()
const;
268 void clearCurrDefunctFederates();
274 void signalSelectionChange();
277 void showContextMenu(
const QPoint& );
280 void fedDeleteRequest(
int,
const QString& );
281 void federationDeleteRequest(
const QString& fedexName );
282 void enableNetworkTestingRequest(
const QString& );
283 void disableNetworkTestingRequest(
const QString& );
284 void showFedLatencyTest(
const QString&,
int );
287 void federateSelected(
const MAKRti::DtString& federation,
int federateHandle);
290 void federationSelected(
const MAKRti::DtString& name);
293 void nothingSelected();
296 void multipleItemsSelected();
299 void defunctFederateRemoved(
const MAKRti::DtString& federation,
321 const QString& d,
unsigned sz)