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

#include <networkwidget.h>

Inheritance diagram for NetworkWidget:

Public Types

enum  COLS {
  C_SERVER_NAME, C_DOMAIN, C_PILOTS_COUNT, C_IP_ADDRESS,
  C_FLAG
}
 

Public Slots

void dns_lookup ()
 
void fgcom_check_path ()
 
void fgcom_set_path ()
 
void on_browse_http ()
 
void on_browse_screenshot ()
 
void on_dns_lookup_callback (const QHostInfo &hostInfo)
 
void on_fgcom_path (QString)
 
void on_http ()
 
void on_open_telnet ()
 
void on_screenshot ()
 
void on_select_fgcombutton ()
 
void on_telnet ()
 
void on_telnet_data (QString, QString)
 
void on_upx (QString option, bool enabled, QString value)
 
void set_fgcom ()
 
void set_mp_server ()
 

Signals

void setx (QString option, bool enabled, QString value)
 

Public Member Functions

void load_local_addresses ()
 
 NetworkWidget (MainObject *mOb, QWidget *parent=0)
 
void populate_combo_hz (QComboBox *combo)
 
QString validate ()
 

Public Attributes

QToolButton * buttonSetFgComPath
 
QComboBox * comboHzIn
 
QComboBox * comboHzOut
 
QComboBox * comboLocalIpAddress
 
QComboBox * comboLocalPort
 
QComboBox * comboRemoteAddress
 
QComboBox * comboRemotePort
 
XGroupGBoxgrpFgCom
 
XGroupHBoxgrpHttp
 
XGroupHBoxgrpMpServerIn
 
XGroupVBoxgrpMpServerOut
 
XGroupHBoxgrpScreenShot
 
XGroupHBoxgrpTelnet
 
QLabellabelFgComCheck
 
QLabellabelFgComProgram
 
QLineEdit * lineEditFgComPath
 
MainObjectmainObject
 
qint64 pid_fgcom
 
QTreeWidget * treeWidget
 
QLineEdit * txtFgComNo
 
QLineEdit * txtFgComPort
 
QLineEdit * txtHttp
 
QLineEdit * txtScreenShot
 
QLineEdit * txtTelnet
 

Detailed Description

Definition at line 27 of file networkwidget.h.

Member Enumeration Documentation

Enumerator
C_SERVER_NAME 
C_DOMAIN 
C_PILOTS_COUNT 
C_IP_ADDRESS 
C_FLAG 

Definition at line 32 of file networkwidget.h.

Constructor & Destructor Documentation

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

Definition at line 43 of file networkwidget.cpp.

Member Function Documentation

void NetworkWidget::dns_lookup ( )
slot

Definition at line 354 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::fgcom_check_path ( )
slot

Definition at line 491 of file networkwidget.cpp.

Referenced by NetworkWidget(), and on_select_fgcombutton().

void NetworkWidget::fgcom_set_path ( )
slot

Definition at line 593 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::load_local_addresses ( )

Definition at line 341 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_browse_http ( )
slot

Definition at line 543 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_browse_screenshot ( )
slot

Definition at line 548 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_dns_lookup_callback ( const QHostInfo &  hostInfo)
slot

Definition at line 364 of file networkwidget.cpp.

Referenced by dns_lookup().

void NetworkWidget::on_fgcom_path ( QString  txt)
slot

Definition at line 525 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_http ( )
slot

Definition at line 583 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_open_telnet ( )
slot

Definition at line 555 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_screenshot ( )
slot

Definition at line 588 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_select_fgcombutton ( )
slot

Definition at line 506 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_telnet ( )
slot

Definition at line 578 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::on_telnet_data ( QString  ip_address,
QString  telnet_reply 
)
slot

Definition at line 402 of file networkwidget.cpp.

Referenced by on_dns_lookup_callback().

void NetworkWidget::on_upx ( QString  option,
bool  enabled,
QString  value 
)
slot

Definition at line 599 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::populate_combo_hz ( QComboBox *  combo)

Definition at line 533 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::set_fgcom ( )
slot

Definition at line 477 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::set_mp_server ( )
slot

Definition at line 442 of file networkwidget.cpp.

Referenced by NetworkWidget().

void NetworkWidget::setx ( QString  option,
bool  enabled,
QString  value 
)
signal
QString NetworkWidget::validate ( )

Definition at line 564 of file networkwidget.cpp.

Referenced by LauncherWindow::validate().

Member Data Documentation

QToolButton* NetworkWidget::buttonSetFgComPath

Definition at line 64 of file networkwidget.h.

Referenced by NetworkWidget().

QComboBox* NetworkWidget::comboHzIn

Definition at line 55 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_mp_server().

QComboBox* NetworkWidget::comboHzOut

Definition at line 54 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_mp_server().

QComboBox* NetworkWidget::comboLocalIpAddress

Definition at line 50 of file networkwidget.h.

Referenced by load_local_addresses(), NetworkWidget(), on_upx(), and set_mp_server().

QComboBox* NetworkWidget::comboLocalPort

Definition at line 53 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_mp_server().

QComboBox* NetworkWidget::comboRemoteAddress

Definition at line 51 of file networkwidget.h.

Referenced by NetworkWidget().

QComboBox* NetworkWidget::comboRemotePort

Definition at line 52 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_mp_server().

XGroupGBox* NetworkWidget::grpFgCom

Definition at line 59 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_fgcom().

XGroupHBox* NetworkWidget::grpHttp

Definition at line 71 of file networkwidget.h.

Referenced by NetworkWidget(), on_http(), and on_upx().

XGroupHBox* NetworkWidget::grpMpServerIn

Definition at line 46 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_mp_server().

XGroupVBox* NetworkWidget::grpMpServerOut

Definition at line 47 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), set_mp_server(), and validate().

XGroupHBox* NetworkWidget::grpScreenShot

Definition at line 74 of file networkwidget.h.

Referenced by NetworkWidget(), on_screenshot(), and on_upx().

XGroupHBox* NetworkWidget::grpTelnet

Definition at line 68 of file networkwidget.h.

Referenced by NetworkWidget(), on_telnet(), and on_upx().

QLabel* NetworkWidget::labelFgComCheck

Definition at line 66 of file networkwidget.h.

Referenced by fgcom_check_path(), and NetworkWidget().

QLabel* NetworkWidget::labelFgComProgram

Definition at line 65 of file networkwidget.h.

Referenced by NetworkWidget().

QLineEdit* NetworkWidget::lineEditFgComPath
MainObject* NetworkWidget::mainObject

Definition at line 44 of file networkwidget.h.

Referenced by NetworkWidget(), on_dns_lookup_callback(), on_fgcom_path(), and on_upx().

qint64 NetworkWidget::pid_fgcom

Definition at line 42 of file networkwidget.h.

QTreeWidget* NetworkWidget::treeWidget
QLineEdit* NetworkWidget::txtFgComNo

Definition at line 60 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_fgcom().

QLineEdit* NetworkWidget::txtFgComPort

Definition at line 61 of file networkwidget.h.

Referenced by NetworkWidget(), on_upx(), and set_fgcom().

QLineEdit* NetworkWidget::txtHttp

Definition at line 72 of file networkwidget.h.

Referenced by NetworkWidget(), on_browse_http(), on_http(), and on_upx().

QLineEdit* NetworkWidget::txtScreenShot

Definition at line 75 of file networkwidget.h.

Referenced by NetworkWidget(), on_browse_screenshot(), on_screenshot(), and on_upx().

QLineEdit* NetworkWidget::txtTelnet

Definition at line 69 of file networkwidget.h.

Referenced by NetworkWidget(), on_telnet(), and on_upx().


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