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 
32 class QCADGUI_EXPORT RDockWidget: public QDockWidget {
33 
34 Q_OBJECT
35 
36 public:
37  RDockWidget(const QString& title, QWidget* parent = NULL, Qt::WindowFlags flags = 0);
38  RDockWidget(QWidget* parent = NULL, Qt::WindowFlags flags = 0);
39 
40 signals:
41  void shown();
42  void hidden();
43 
44 protected:
45  virtual void showEvent(QShowEvent* event);
46  virtual void hideEvent(QHideEvent* event);
47 };
48 
50 
51 #endif
#define QCADGUI_EXPORT
Definition: gui_global.h:10
Q_DECLARE_METATYPE(RMath *)
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RDockWidget.h:32