QCAD
Open Source 2D CAD
RDockWidget.h
Go to the documentation of this file.
1 
20 #ifndef RDOCKWIDGET_H_
21 #define RDOCKWIDGET_H_
22 
23 #include "gui_global.h"
24 
25 #include <QMetaType>
26 #include <QDockWidget>
27 
28 #include "RFlowLayout.h"
29 
34 class QCADGUI_EXPORT RDockWidget: public QDockWidget {
35 
36 Q_OBJECT
37 
38 public:
39  RDockWidget(const QString& title, QWidget* parent = NULL, Qt::WindowFlags flags = 0);
40  RDockWidget(QWidget* parent = NULL, Qt::WindowFlags flags = 0);
41 
42 signals:
43  void shown();
44  void hidden();
45 
46 protected:
47  virtual void showEvent(QShowEvent* event);
48  virtual void hideEvent(QHideEvent* event);
49  virtual void actionEvent(QActionEvent *event);
50 
51 private:
53 };
54 
56 
57 #endif
#define QCADGUI_EXPORT
Definition: gui_global.h:10
Flow layout.
Definition: RFlowLayout.h:22
Q_DECLARE_METATYPE(RMath *)
Copyright (c) 2011-2016 by Andrew Mustun.
Definition: RDockWidget.h:34
RFlowLayout * layout
Definition: RDockWidget.h:52