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

#include <openlayerwidget.h>

Inheritance diagram for OpenLayerWidget:

Public Slots

void add_runway (QString apt, QString rwy1, QString rwy2, QString lat1, QString lon1, QString lat2, QString lon2)
 
void add_stand (QString apt, QString name, QString lat, QString lon)
 
void add_tower (QString apt, QString lat, QString lon)
 
void clear_airport (QString apt)
 
void clear_map ()
 
void clear_radar ()
 
void closeEvent (QCloseEvent *event)
 
void end_progress (bool Ok)
 
void execute_js (QString js_string)
 
void focus_aircraft (QString callsign)
 
void load_map (QString map_type)
 
void map_click (QVariant lat, QVariant lon)
 
void map_debug (QVariant)
 
void map_error (QVariant err)
 
void map_initialised ()
 
void map_right_click (QVariant lat, QVariant lon)
 
void map_set_coords (QVariant lat, QVariant lon)
 
void map_zoom_changed (QVariant zoom)
 
void marker_clicked (QVariant marker, QVariant mId)
 
void marker_unselected (QVariant curr_idx, QVariant mLocationId)
 
void on_debug_mode (bool)
 
void on_dial (int val)
 
void on_display_layer (QAbstractButton *)
 
void on_lat_changed (QString)
 
void on_lon_changed (QString)
 
void on_show_debugger ()
 
void on_spin (int val)
 
void on_upx (QString option, bool enabled, QString value)
 
void on_zoom_in ()
 
void on_zoom_out ()
 
void show_aircraft (QString callsign, QString lat, QString lon, QString heading, QString altitude)
 
void show_radar (QString callsign, QString lat, QString lon, QString heading, QString altitude, bool is_tower)
 
void start_progress ()
 
void update_progress (int progress)
 
void zoom_to (int zoom)
 
void zoom_to_airport (QString apt)
 
void zoom_to_latlon (QString lat, QString lon, int zoom)
 

Signals

void map_double_clicked (QString lat, QString lon, QString heading)
 
void setv (QString option, QString value)
 
void setx (QString option, bool enabled, QString value)
 

Public Member Functions

 OpenLayerWidget (MainObject *mob, QWidget *parent=0)
 

Public Attributes

QLabellblZoom
 
MainObjectmainObject
 
QString map_type
 
QString * mpmapFollowCallsign
 
QSlider * sliderZoom
 
QToolBar * toolbarAirports
 
QWebView * webView
 

Private Attributes

QToolButton * buttDebug
 
QButtonGroup * buttonGroupViewLayers
 
QCheckBox * chkViewGridLines
 
QCheckBox * chkViewRunwayLabels
 
QCheckBox * chkViewRunwayLines
 
QCheckBox * chkViewStands
 
QComboBox * comboServer
 
QDial * dialHeading
 
QNetworkDiskCache * networkDiskCache
 
QProgressBar * progressBar
 
QSpinBox * spinHeading
 
QStatusBar * statusBar
 
QLineEdit * txtLat
 
QLineEdit * txtLon
 
QWebInspector * webInspector
 

Detailed Description

Definition at line 37 of file openlayerwidget.h.

Constructor & Destructor Documentation

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

Definition at line 33 of file openlayerwidget.cpp.

Member Function Documentation

void OpenLayerWidget::add_runway ( QString  apt,
QString  rwy1,
QString  rwy2,
QString  lat1,
QString  lon1,
QString  lat2,
QString  lon2 
)
slot
void OpenLayerWidget::add_stand ( QString  apt,
QString  name,
QString  lat,
QString  lon 
)
slot

Definition at line 374 of file openlayerwidget.cpp.

Referenced by AirportsWidget::load_parking_node().

void OpenLayerWidget::add_tower ( QString  apt,
QString  lat,
QString  lon 
)
slot

Definition at line 384 of file openlayerwidget.cpp.

Referenced by AirportsWidget::load_tower_node(), and show_radar().

void OpenLayerWidget::clear_airport ( QString  apt)
slot

Definition at line 472 of file openlayerwidget.cpp.

void OpenLayerWidget::clear_map ( )
slot

Definition at line 479 of file openlayerwidget.cpp.

Referenced by AirportsWidget::on_airport_tree_selected().

void OpenLayerWidget::clear_radar ( )
slot

Definition at line 459 of file openlayerwidget.cpp.

Referenced by PilotsWidget::on_server_read_finished().

void OpenLayerWidget::closeEvent ( QCloseEvent *  event)
slot

Definition at line 354 of file openlayerwidget.cpp.

void OpenLayerWidget::end_progress ( bool  Ok)
slot

Definition at line 631 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::focus_aircraft ( QString  callsign)
slot

Definition at line 466 of file openlayerwidget.cpp.

void OpenLayerWidget::load_map ( QString  map_type)
slot
void OpenLayerWidget::map_click ( QVariant  lat,
QVariant  lon 
)
slot

Definition at line 559 of file openlayerwidget.cpp.

void OpenLayerWidget::map_debug ( QVariant  mess)
slot

Definition at line 503 of file openlayerwidget.cpp.

void OpenLayerWidget::map_double_clicked ( QString  lat,
QString  lon,
QString  heading 
)
signal

Referenced by map_set_coords().

void OpenLayerWidget::map_error ( QVariant  err)
slot

Definition at line 573 of file openlayerwidget.cpp.

void OpenLayerWidget::map_initialised ( )
slot

Definition at line 336 of file openlayerwidget.cpp.

void OpenLayerWidget::map_right_click ( QVariant  lat,
QVariant  lon 
)
slot

Definition at line 566 of file openlayerwidget.cpp.

void OpenLayerWidget::map_set_coords ( QVariant  lat,
QVariant  lon 
)
slot

Definition at line 516 of file openlayerwidget.cpp.

void OpenLayerWidget::map_zoom_changed ( QVariant  zoom)
slot

Definition at line 593 of file openlayerwidget.cpp.

void OpenLayerWidget::marker_clicked ( QVariant  marker,
QVariant  mId 
)
slot

Definition at line 578 of file openlayerwidget.cpp.

void OpenLayerWidget::marker_unselected ( QVariant  curr_idx,
QVariant  mLocationId 
)
slot

Definition at line 584 of file openlayerwidget.cpp.

void OpenLayerWidget::on_debug_mode ( bool  debug_mode)
slot

Definition at line 645 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_dial ( int  val)
slot

Definition at line 525 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_display_layer ( QAbstractButton *  chkBox)
slot

Definition at line 609 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_lat_changed ( QString  lat)
slot

Definition at line 652 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_lon_changed ( QString  lon)
slot

Definition at line 658 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_show_debugger ( )
slot

Definition at line 638 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_spin ( int  val)
slot

Definition at line 532 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

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

Definition at line 537 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_zoom_in ( )
slot

Definition at line 418 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::on_zoom_out ( )
slot

Definition at line 421 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::setv ( QString  option,
QString  value 
)
signal
void OpenLayerWidget::setx ( QString  option,
bool  enabled,
QString  value 
)
signal

Referenced by OpenLayerWidget().

void OpenLayerWidget::show_aircraft ( QString  callsign,
QString  lat,
QString  lon,
QString  heading,
QString  altitude 
)
slot
void OpenLayerWidget::show_radar ( QString  callsign,
QString  lat,
QString  lon,
QString  heading,
QString  altitude,
bool  is_tower 
)
slot

Definition at line 448 of file openlayerwidget.cpp.

Referenced by PilotsWidget::on_server_read_finished().

void OpenLayerWidget::start_progress ( )
slot

Definition at line 624 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::update_progress ( int  progress)
slot

Definition at line 628 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::zoom_to ( int  zoom)
slot

Definition at line 410 of file openlayerwidget.cpp.

Referenced by OpenLayerWidget().

void OpenLayerWidget::zoom_to_airport ( QString  apt)
slot
void OpenLayerWidget::zoom_to_latlon ( QString  lat,
QString  lon,
int  zoom 
)
slot

Member Data Documentation

QToolButton* OpenLayerWidget::buttDebug
private

Definition at line 73 of file openlayerwidget.h.

Referenced by on_debug_mode(), and OpenLayerWidget().

QButtonGroup* OpenLayerWidget::buttonGroupViewLayers
private

Definition at line 65 of file openlayerwidget.h.

Referenced by map_initialised(), and OpenLayerWidget().

QCheckBox* OpenLayerWidget::chkViewGridLines
private

Definition at line 70 of file openlayerwidget.h.

QCheckBox* OpenLayerWidget::chkViewRunwayLabels
private

Definition at line 67 of file openlayerwidget.h.

QCheckBox* OpenLayerWidget::chkViewRunwayLines
private

Definition at line 68 of file openlayerwidget.h.

QCheckBox* OpenLayerWidget::chkViewStands
private

Definition at line 66 of file openlayerwidget.h.

QComboBox* OpenLayerWidget::comboServer
private

Definition at line 57 of file openlayerwidget.h.

QDial* OpenLayerWidget::dialHeading
private

Definition at line 62 of file openlayerwidget.h.

Referenced by on_upx(), and OpenLayerWidget().

QLabel* OpenLayerWidget::lblZoom

Definition at line 46 of file openlayerwidget.h.

Referenced by OpenLayerWidget(), and zoom_to().

MainObject* OpenLayerWidget::mainObject

Definition at line 43 of file openlayerwidget.h.

Referenced by closeEvent(), execute_js(), load_map(), on_display_layer(), and OpenLayerWidget().

QString OpenLayerWidget::map_type

Definition at line 48 of file openlayerwidget.h.

Referenced by load_map(), and map_initialised().

QString* OpenLayerWidget::mpmapFollowCallsign

Definition at line 44 of file openlayerwidget.h.

QNetworkDiskCache* OpenLayerWidget::networkDiskCache
private

Definition at line 76 of file openlayerwidget.h.

Referenced by OpenLayerWidget().

QProgressBar* OpenLayerWidget::progressBar
private

Definition at line 55 of file openlayerwidget.h.

Referenced by end_progress(), OpenLayerWidget(), start_progress(), and update_progress().

QSlider* OpenLayerWidget::sliderZoom

Definition at line 45 of file openlayerwidget.h.

Referenced by map_zoom_changed(), on_zoom_in(), on_zoom_out(), and OpenLayerWidget().

QSpinBox* OpenLayerWidget::spinHeading
private

Definition at line 61 of file openlayerwidget.h.

Referenced by map_set_coords(), on_dial(), and OpenLayerWidget().

QStatusBar* OpenLayerWidget::statusBar
private

Definition at line 56 of file openlayerwidget.h.

Referenced by end_progress(), and OpenLayerWidget().

QToolBar* OpenLayerWidget::toolbarAirports

Definition at line 49 of file openlayerwidget.h.

Referenced by load_map(), and OpenLayerWidget().

QLineEdit* OpenLayerWidget::txtLat
private

Definition at line 59 of file openlayerwidget.h.

Referenced by map_set_coords(), on_upx(), and OpenLayerWidget().

QLineEdit* OpenLayerWidget::txtLon
private

Definition at line 60 of file openlayerwidget.h.

Referenced by map_set_coords(), on_upx(), and OpenLayerWidget().

QWebInspector* OpenLayerWidget::webInspector
private

Definition at line 74 of file openlayerwidget.h.

Referenced by load_map(), on_show_debugger(), and OpenLayerWidget().

QWebView* OpenLayerWidget::webView

Definition at line 51 of file openlayerwidget.h.

Referenced by end_progress(), execute_js(), load_map(), on_debug_mode(), and OpenLayerWidget().


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