diff --git a/components/drawer.cpp b/components/drawer.cpp new file mode 100644 index 0000000..a8bdf67 --- /dev/null +++ b/components/drawer.cpp @@ -0,0 +1,10 @@ +#include "drawer.h" + +Drawer::Drawer(QWidget *parent) + : QWidget(parent) +{ +} + +Drawer::~Drawer() +{ +} diff --git a/components/drawer.h b/components/drawer.h new file mode 100644 index 0000000..addb8c7 --- /dev/null +++ b/components/drawer.h @@ -0,0 +1,19 @@ +#ifndef DRAWER_H +#define DRAWER_H + +#include + +class Drawer : public QWidget +{ + Q_OBJECT + +public: + explicit Drawer(QWidget *parent = 0); + ~Drawer(); + +private: + Q_DISABLE_COPY(Drawer) + //Q_DECLARE_PRIVATE(Drawer) +}; + +#endif // DRAWER_H diff --git a/qt-material-widgets.pro b/qt-material-widgets.pro index 605532c..8ab6c08 100644 --- a/qt-material-widgets.pro +++ b/qt-material-widgets.pro @@ -63,7 +63,8 @@ SOURCES += main.cpp\ lib/checkable.cpp \ lib/checkable_internal.cpp \ components/snackbar.cpp \ - components/textfield_internal.cpp + components/textfield_internal.cpp \ + components/drawer.cpp HEADERS += mainwindow.h \ components/appbar.h \ @@ -134,7 +135,8 @@ HEADERS += mainwindow.h \ components/snackbar_p.h \ components/textfield_p.h \ components/textfield_internal.h \ - components/badge_p.h + components/badge_p.h \ + components/drawer.h RESOURCES += \ resources.qrc