Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
execontrols.h
Go to the documentation of this file.
1 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2 // FGx FlightGear Launcher // execontrols.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 EXECONTROLS_H
10 #define EXECONTROLS_H
11 
12 #include <QString>
13 #include <QStringList>
14 
15 #include <QWidget>
16 #include <QGroupBox>
17 #include <QPushButton>
18 #include <QToolButton>
19 #include <QStatusBar>
20 #include <QProcess>
21 
22 class ExeControls : public QGroupBox
23 {
24 Q_OBJECT
25 public:
26  explicit ExeControls(QString title, QWidget *parent = 0);
27 
28  QToolButton *buttonStart;
29  QToolButton *buttonStop;
30 
31 signals:
32  void start();
33  void stop();
34 
35 
36 public slots:
37  void on_start_clicked();
38  void on_stop_clicked();
39 
40  void set_running(bool running);
41 };
42 
43 #endif // EXECONTROLS_H
void start()
void on_start_clicked()
Definition: execontrols.cpp:63
ExeControls(QString title, QWidget *parent=0)
Definition: execontrols.cpp:20
void set_running(bool running)
Definition: execontrols.cpp:75
void on_stop_clicked()
Definition: execontrols.cpp:69
QToolButton * buttonStart
Definition: execontrols.h:28
QToolButton * buttonStop
Definition: execontrols.h:29