Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
PropsTreeWidget Class Reference

#include <propstreewidget.h>

Inheritance diagram for PropsTreeWidget:

Public Types

enum  COLS { C_NODE = 0, C_VALUE = 1, C_TYPE = 2, C_PATH = 3 }
 

Public Slots

void load_nodes ()
 
void on_auto_refresh_enabled ()
 
void on_edit_property ()
 
void on_item_double_clicked (QTreeWidgetItem *, int)
 
void on_item_expanded (QTreeWidgetItem *)
 
void on_item_selection_changed ()
 
void on_props_folder (QString, QString)
 
void on_props_value (QString, QString, QString, QString)
 
void on_set_timer_rate ()
 
void on_telnet_connected (bool)
 
void on_test_ ()
 
void telnet_connect ()
 
void telnet_disconnect ()
 

Public Member Functions

void closeEvent (QCloseEvent *event)
 
QList< QStandardItem * > make_row (QString node_name, QString node_value, QString node_type, QString full_path, bool is_folder)
 
 PropsTreeWidget (MainObject *mOb, QWidget *parent=0)
 

Public Attributes

QAction * actionConnect
 
QAction * actionDisconnect
 
QAction * actionEditProperty
 
QCheckBox * chkAutoRefresh
 
QComboBox * comboAutoRefreshRate
 
QComboBox * comboHost
 
MainObjectmainObject
 
QStandardItemModelmodel
 
QSortFilterProxyModelproxyModel
 
QStringList refreshList
 
QStatusBar * statusBarTree
 
TelnetSlavetelnet
 
QTimer * timer
 
QTreeView * tree
 
QLineEdit * txtPort
 

Detailed Description

Definition at line 34 of file propstreewidget.h.

Member Enumeration Documentation

Enumerator
C_NODE 
C_VALUE 
C_TYPE 
C_PATH 

Definition at line 39 of file propstreewidget.h.

Constructor & Destructor Documentation

PropsTreeWidget::PropsTreeWidget ( MainObject mOb,
QWidget parent = 0 
)
explicit

Definition at line 36 of file propstreewidget.cpp.

Member Function Documentation

void PropsTreeWidget::closeEvent ( QCloseEvent *  event)

Definition at line 392 of file propstreewidget.cpp.

void PropsTreeWidget::load_nodes ( )
slot

Definition at line 238 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

QList< QStandardItem * > PropsTreeWidget::make_row ( QString  node_name,
QString  node_value,
QString  node_type,
QString  full_path,
bool  is_folder 
)

Definition at line 247 of file propstreewidget.cpp.

Referenced by on_props_folder(), and on_props_value().

void PropsTreeWidget::on_auto_refresh_enabled ( )
slot

Definition at line 361 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::on_edit_property ( )
slot

Definition at line 379 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::on_item_double_clicked ( QTreeWidgetItem item,
int  col 
)
slot

Definition at line 338 of file propstreewidget.cpp.

void PropsTreeWidget::on_item_expanded ( QTreeWidgetItem item)
slot

Definition at line 320 of file propstreewidget.cpp.

void PropsTreeWidget::on_item_selection_changed ( )
slot

Definition at line 347 of file propstreewidget.cpp.

void PropsTreeWidget::on_props_folder ( QString  parent_path,
QString  path 
)
slot

Definition at line 265 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::on_props_value ( QString  parent_path,
QString  node_name,
QString  node_value,
QString  node_type 
)
slot

Definition at line 291 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::on_set_timer_rate ( )
slot

Definition at line 369 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::on_telnet_connected ( bool  connected)
slot

Definition at line 405 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::on_test_ ( )
slot

Definition at line 386 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::telnet_connect ( )
slot

Definition at line 398 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

void PropsTreeWidget::telnet_disconnect ( )
slot

Definition at line 401 of file propstreewidget.cpp.

Referenced by PropsTreeWidget().

Member Data Documentation

QAction* PropsTreeWidget::actionConnect

Definition at line 63 of file propstreewidget.h.

Referenced by on_telnet_connected(), and PropsTreeWidget().

QAction* PropsTreeWidget::actionDisconnect

Definition at line 64 of file propstreewidget.h.

Referenced by on_telnet_connected(), and PropsTreeWidget().

QAction* PropsTreeWidget::actionEditProperty

Definition at line 71 of file propstreewidget.h.

Referenced by on_item_double_clicked(), and PropsTreeWidget().

QCheckBox* PropsTreeWidget::chkAutoRefresh

Definition at line 66 of file propstreewidget.h.

Referenced by on_auto_refresh_enabled(), and PropsTreeWidget().

QComboBox* PropsTreeWidget::comboAutoRefreshRate

Definition at line 67 of file propstreewidget.h.

Referenced by on_set_timer_rate(), and PropsTreeWidget().

QComboBox* PropsTreeWidget::comboHost

Definition at line 61 of file propstreewidget.h.

Referenced by PropsTreeWidget(), and telnet_connect().

MainObject* PropsTreeWidget::mainObject

Definition at line 49 of file propstreewidget.h.

Referenced by closeEvent(), and PropsTreeWidget().

QStandardItemModel* PropsTreeWidget::model

Definition at line 57 of file propstreewidget.h.

Referenced by on_props_folder(), on_props_value(), and PropsTreeWidget().

QSortFilterProxyModel* PropsTreeWidget::proxyModel

Definition at line 58 of file propstreewidget.h.

Referenced by PropsTreeWidget().

QStringList PropsTreeWidget::refreshList

Definition at line 54 of file propstreewidget.h.

QStatusBar* PropsTreeWidget::statusBarTree

Definition at line 69 of file propstreewidget.h.

Referenced by PropsTreeWidget().

TelnetSlave* PropsTreeWidget::telnet
QTimer* PropsTreeWidget::timer

Definition at line 53 of file propstreewidget.h.

Referenced by on_auto_refresh_enabled(), on_set_timer_rate(), and PropsTreeWidget().

QTreeView* PropsTreeWidget::tree

Definition at line 56 of file propstreewidget.h.

Referenced by PropsTreeWidget().

QLineEdit* PropsTreeWidget::txtPort

Definition at line 62 of file propstreewidget.h.

Referenced by PropsTreeWidget(), and telnet_connect().


The documentation for this class was generated from the following files: