9 #ifndef PROPSTREEWIDGET_H
10 #define PROPSTREEWIDGET_H
14 #include <QtCore/QTimer>
15 #include <QtCore/QStringList>
17 #include <QtGui/QWidget>
19 #include <QtGui/QTreeView>
20 #include <QtGui/QStandardItemModel>
21 #include <QtGui/QStandardItem>
22 #include <QtGui/QSortFilterProxyModel>
23 #include <QtGui/QStatusBar>
25 #include <QtGui/QCheckBox>
26 #include <QtGui/QComboBox>
29 #include "xobjects/mainobject.h"
30 #include "props/telnetslave.h"
54 QStringList refreshList;
57 QStandardItemModel *model;
58 QSortFilterProxyModel *proxyModel;
63 QAction *actionConnect;
64 QAction *actionDisconnect;
66 QCheckBox *chkAutoRefresh;
67 QComboBox *comboAutoRefreshRate;
69 QStatusBar *statusBarTree;
71 QAction *actionEditProperty;
73 void closeEvent(QCloseEvent *event);
75 QList<QStandardItem *> make_row(QString node_name, QString node_value, QString node_type, QString full_path,
bool is_folder);
82 void on_props_folder(QString, QString);
83 void on_props_value(QString, QString, QString, QString);
85 void on_item_expanded(QTreeWidgetItem *);
86 void on_item_double_clicked(QTreeWidgetItem *,
int );
87 void on_item_selection_changed();
89 void on_auto_refresh_enabled();
90 void on_set_timer_rate();
92 void on_edit_property();
95 void telnet_connect();
96 void telnet_disconnect();
98 void on_telnet_connected(
bool);
101 #endif // PROPSTREEWIDGET_H