Developer documentation | Axl-2.5.1

axlInspectorSwitch.h
Go to the documentation of this file.
1 /* axlInspectorSwitch.h ---
2  *
3  * Author: Julien Wintz
4  * Copyright (C) 2008 - Julien Wintz, Inria.
5  * Created: Fri Feb 4 17:07:56 2011 (+0100)
6  * Version: $Id$
7  * Last-Updated: Mon Mar 14 14:55:11 2011 (+0100)
8  * By: Julien Wintz
9  * Update #: 6
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLINSPECTORSWITCH_H
21 #define AXLINSPECTORSWITCH_H
22 
23 #include <QtWidgets>
24 
25 #include "axlGuiExport.h"
26 
27 class axlInspectorSwitchPrivate;
28 
29 class AXLGUI_EXPORT axlInspectorSwitch : public QWidget
30 {
31  Q_OBJECT
32 
33 public:
34  axlInspectorSwitch(QWidget *parent = 0);
35  ~axlInspectorSwitch(void);
36 
37  QSize sizeHint(void) const;
38 
39 signals:
40  void toggled(bool);
41 
42 protected:
43  void mousePressEvent(QMouseEvent *event);
44  void paintEvent(QPaintEvent *event);
45 
46 private:
47  axlInspectorSwitchPrivate *d;
48 };
49 
50 #endif
#define AXLGUI_EXPORT
Definition: axlGuiExport2.h:15