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

#include <pilotswidget.h>

Inheritance diagram for PilotsWidget:

Public Types

enum  COLS {
  C_CALLSIGN = 0, C_AIRCRAFT = 1, C_ALTITUDE =2, C_HEADING = 3,
  C_PITCH = 4, C_LAT = 5, C_LON = 6, C_FLAG = 7,
  C_COUNT = 8
}
 

Public Slots

void fetch_pilots ()
 
void on_check_autorefresh (int)
 
void on_combo_changed (int)
 
void on_item_doubled_clicked (QTreeWidgetItem *, int)
 
void on_server_error (QNetworkReply::NetworkError)
 
void on_server_read_finished ()
 
void on_server_ready_read ()
 
void on_show_cols (QAbstractButton *)
 

Signals

void aircraft_selected (XAero aero)
 

Public Member Functions

 PilotsWidget (MainObject *mob, QWidget *parent=0)
 
void set_map_widget (OpenLayerWidget *mapWidget)
 

Public Attributes

QButtonGroup * buttonGroupCols
 
QCheckBox * checkBoxAutoRefresh
 
QCheckBox * checkBoxFollowSelected
 
QComboBox * comboBoxHz
 
QDomDocument dom
 
MainObjectmainObject
 
OpenLayerWidgetmapWidget
 
QNetworkAccessManager * netMan
 
QNetworkReply * reply
 
QString server_string
 
QStatusBar * statusBar
 
QTreeWidget * tree
 

Detailed Description

Definition at line 32 of file pilotswidget.h.

Member Enumeration Documentation

Enumerator
C_CALLSIGN 
C_AIRCRAFT 
C_ALTITUDE 
C_HEADING 
C_PITCH 
C_LAT 
C_LON 
C_FLAG 
C_COUNT 

Definition at line 38 of file pilotswidget.h.

Constructor & Destructor Documentation

PilotsWidget::PilotsWidget ( MainObject mob,
QWidget parent = 0 
)
explicit

Definition at line 34 of file pilotswidget.cpp.

Member Function Documentation

void PilotsWidget::aircraft_selected ( XAero  aero)
signal

Referenced by on_item_doubled_clicked().

void PilotsWidget::fetch_pilots ( )
slot
void PilotsWidget::on_check_autorefresh ( int  checked)
slot

Definition at line 378 of file pilotswidget.cpp.

Referenced by PilotsWidget().

void PilotsWidget::on_combo_changed ( int  idx)
slot

Definition at line 388 of file pilotswidget.cpp.

Referenced by PilotsWidget().

void PilotsWidget::on_item_doubled_clicked ( QTreeWidgetItem item,
int  colidx 
)
slot

Definition at line 394 of file pilotswidget.cpp.

Referenced by PilotsWidget().

void PilotsWidget::on_server_error ( QNetworkReply::NetworkError  error)
slot

Definition at line 237 of file pilotswidget.cpp.

Referenced by fetch_pilots().

void PilotsWidget::on_server_read_finished ( )
slot

Definition at line 257 of file pilotswidget.cpp.

Referenced by fetch_pilots().

void PilotsWidget::on_server_ready_read ( )
slot

Definition at line 243 of file pilotswidget.cpp.

Referenced by fetch_pilots().

void PilotsWidget::on_show_cols ( QAbstractButton *  button)
slot

Definition at line 405 of file pilotswidget.cpp.

Referenced by PilotsWidget().

void PilotsWidget::set_map_widget ( OpenLayerWidget mapWidget)

Definition at line 419 of file pilotswidget.cpp.

Referenced by MpMapXWidget::MpMapXWidget().

Member Data Documentation

QButtonGroup* PilotsWidget::buttonGroupCols

Definition at line 68 of file pilotswidget.h.

Referenced by on_show_cols(), and PilotsWidget().

QCheckBox* PilotsWidget::checkBoxAutoRefresh

Definition at line 61 of file pilotswidget.h.

Referenced by MpMapXWidget::initialize(), on_server_read_finished(), and PilotsWidget().

QCheckBox* PilotsWidget::checkBoxFollowSelected

Definition at line 59 of file pilotswidget.h.

Referenced by on_server_read_finished(), and PilotsWidget().

QComboBox* PilotsWidget::comboBoxHz

Definition at line 62 of file pilotswidget.h.

Referenced by on_combo_changed(), on_server_read_finished(), and PilotsWidget().

QDomDocument PilotsWidget::dom

Definition at line 53 of file pilotswidget.h.

Referenced by on_server_read_finished().

MainObject* PilotsWidget::mainObject

Definition at line 50 of file pilotswidget.h.

Referenced by on_check_autorefresh(), on_combo_changed(), on_show_cols(), and PilotsWidget().

OpenLayerWidget* PilotsWidget::mapWidget

Definition at line 52 of file pilotswidget.h.

Referenced by on_server_read_finished(), and set_map_widget().

QNetworkAccessManager* PilotsWidget::netMan

Definition at line 55 of file pilotswidget.h.

Referenced by fetch_pilots(), and PilotsWidget().

QNetworkReply* PilotsWidget::reply

Definition at line 56 of file pilotswidget.h.

Referenced by fetch_pilots(), and on_server_ready_read().

QString PilotsWidget::server_string

Definition at line 57 of file pilotswidget.h.

Referenced by fetch_pilots(), on_server_read_finished(), and on_server_ready_read().

QStatusBar* PilotsWidget::statusBar

Definition at line 66 of file pilotswidget.h.

Referenced by fetch_pilots(), on_server_read_finished(), and PilotsWidget().

QTreeWidget* PilotsWidget::tree

Definition at line 64 of file pilotswidget.h.

Referenced by on_server_read_finished(), on_show_cols(), and PilotsWidget().


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