FGx  1
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
statusbar.h
1 // -=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-
2 // FGx FlightGear Launcher // statusbar.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 STATUSBAR_H
10 #define STATUSBAR_H
11 
12 #include <QStatusBar>
13 
14 class StatusBar : public QStatusBar
15 {
16 Q_OBJECT
17 public:
18  explicit StatusBar(QWidget *parent = 0);
19 
20  void showMessage(QString message, int timeout);
21  void showMessage(QString message);
22 
23  void showError(QString message, int timeout);
24  void showError(QString message);
25 
26 
27 signals:
28 
29 public slots:
30 
31 };
32 
33 #endif // STATUSBAR_H