add Drawer boilerplate

This commit is contained in:
laserpants 2016-06-17 14:45:27 +03:00
parent 654e771563
commit 0581bb0313
3 changed files with 33 additions and 2 deletions

10
components/drawer.cpp Normal file
View File

@ -0,0 +1,10 @@
#include "drawer.h"
Drawer::Drawer(QWidget *parent)
: QWidget(parent)
{
}
Drawer::~Drawer()
{
}

19
components/drawer.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef DRAWER_H
#define DRAWER_H
#include <QWidget>
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

View File

@ -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