QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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