FGx
1
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
src
panes
timeweatherwidget.h
1
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2
// FGx FlightGear Launcher // timeweather.h
3
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
4
// (c) 2010-2012
5
// Yves Sablonier, Pete Morgan
6
// Geoff McLane
7
// GNU GPLv2, see main.cpp and shipped licence.txt for further information
8
9
#ifndef TIMEWEATHERWIDGET_H
10
#define TIMEWEATHERWIDGET_H
11
12
13
#include <QtCore/QString>
14
#include <QtCore/QMap>
15
16
17
#include <QtGui/QWidget>
18
#include <QtGui/QButtonGroup>
19
#include <QtGui/QPlainTextEdit>
20
21
22
#include "xobjects/mainobject.h"
23
class
MainObject
;
24
25
26
class
TimeWeatherWidget
:
public
QWidget
27
{
28
Q_OBJECT
29
public
:
30
explicit
TimeWeatherWidget
(
MainObject
*mOb, QWidget *parent = 0);
31
32
MainObject
*mainObject;
33
34
QMap<QString, QString> mpMapServers;
35
36
QButtonGroup *buttonGroupTime;
37
QButtonGroup *buttonGroupSeason;
38
39
QButtonGroup *buttonGroupMetar;
40
QPlainTextEdit *txtMetar;
41
42
QString validate();
43
44
signals:
45
void
setx(QString option,
bool
enabled, QString value);
46
47
public
slots:
48
void
on_weather();
49
void
on_time_clicked();
50
void
on_season_clicked(
int
);
51
52
void
on_upx(QString option,
bool
enabled, QString value);
53
};
54
55
#endif // TIMEWEATHERWIDGET_H
MainObject
The MainObject is an extended QObject, and the main "controller" for FGx.
Definition:
mainobject.h:61
TimeWeatherWidget
Definition:
timeweatherwidget.h:26
Generated on Thu Oct 16 2014 08:33:50 for FGx by
1.8.8