Developer documentation | Axl-2.5.1

axlInspectorStack.h
Go to the documentation of this file.
1 /* axlInspectorStack.h ---
2  *
3  * Author: Meriadeg Perrinel
4  * Copyright (C) 2008 - Julien Wintz, Inria.
5  * Created: Tue Mar 15 14:06:35 2011 (+0100)
6  * Version: $Id$
7  * Last-Updated: Tue Dec 27 12:45:13 2011 (+0100)
8  * By: Julien Wintz
9  * Update #: 16
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLINSPECTORSTACK_H
21 #define AXLINSPECTORSTACK_H
22 
23 #include "axlGuiExport.h"
24 
25 #include <QtWidgets>
26 
27 class axlInspectorStackPrivate;
28 
29 class AXLGUI_EXPORT axlInspectorStack : public QFrame
30 {
31  Q_OBJECT
32 
33  Q_PROPERTY(int width READ width WRITE setWidth)
34 
35 public:
36  axlInspectorStack(QWidget *parent = 0);
37  ~axlInspectorStack(void);
38 
39 public:
40  int width(void) const;
41 
42 public:
43  void addWidget(QString title, QWidget *widget);
44 
45 public slots:
46  void setWidth(int width);
47 
48 protected slots:
49  void onActionClicked(void);
50 
51 private:
52  axlInspectorStackPrivate *d;
53 };
54 
55 #endif
#define AXLGUI_EXPORT
Definition: axlGuiExport2.h:15