14 #include <QModelIndex>
24 class QAbstractItemModel;
52 virtual QSize sizeHint()
const;
68 unsigned addTree(
const QString& name,
const QString& description,
69 QAbstractItemModel* model, DtRowNameLoc rowNameLoc,
bool hideHeaders =
false);
79 void enableValueGraphing(
unsigned treeIndex,
unsigned column,
80 const QString& units);
84 void enableRateGraphing(
unsigned treeIndex,
unsigned column,
85 const QString& units);
98 void updateGraphs(
double currentTime);
101 void updateGraphsForTree(
unsigned treeIndex,
double currentTime);
105 void saveGuiConfiguration(QFile& configFile);
109 void loadGuiConfiguration(QFile& configFile);
112 void setFederateId(
const QString& federateId) { myFederateId = federateId; }
123 void connectSignals();
126 void getRowAndColNames(DtTreeAndModelIndex modelIndex, QString& rowName,
130 void enableDisableGraphOptions();
140 void writeTreeToStream(
const QTreeView* tree, QTextStream& fileStrm,
141 TableFileFormat format);
146 void deleteDialog(
QWidget* graphDialog);
150 void processItemSelection(
const QModelIndex& index);
153 void showContextMenu(
const QPoint& point);
156 void graphSelectedItem();
159 void graphSelectedItemRate();
162 void updateSortingEnable();
165 void saveTreesToFile();