Flair
Framework Libre Air
PushButton.h
Go to the documentation of this file.
1 // %flair:license{
2 // This file is part of the Flair framework distributed under the
3 // CECILL-C License, Version 1.0.
4 // %flair:license}
13 #ifndef PUSHBUTTON_H
14 #define PUSHBUTTON_H
15 
16 #include <Widget.h>
17 
18 namespace flair {
19 namespace gui {
20 
21 class LayoutPosition;
22 
28 class PushButton : public Widget {
29 public:
41  PushButton(const LayoutPosition *position, std::string name);
42 
47  ~PushButton();
48 
58  bool Clicked(void);
59 
60 private:
67  void XmlEvent(void);
68 
69  bool clicked;
70 };
71 
72 } // end namespace gui
73 } // end namespace flair
74 
75 #endif // PUSHBUTTON_H
~PushButton()
Destructor.
namespace of the flair Framework
Definition: Ahrs.h:19
Abstract class for all Framework's widget classes.
bool Clicked(void)
Has been clicled?
Class displaying a QPushButton on the ground station.
Definition: PushButton.h:28
Abstract class for all Framework's widget classes.
Definition: Widget.h:38
Class to define a position in a layout on the ground station.
Definition: LayoutPosition.h:28
PushButton(const LayoutPosition *position, std::string name)
Constructor.