add Drawer boilerplate
This commit is contained in:
parent
654e771563
commit
0581bb0313
|
@ -0,0 +1,10 @@
|
||||||
|
#include "drawer.h"
|
||||||
|
|
||||||
|
Drawer::Drawer(QWidget *parent)
|
||||||
|
: QWidget(parent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
Drawer::~Drawer()
|
||||||
|
{
|
||||||
|
}
|
|
@ -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
|
|
@ -63,7 +63,8 @@ SOURCES += main.cpp\
|
||||||
lib/checkable.cpp \
|
lib/checkable.cpp \
|
||||||
lib/checkable_internal.cpp \
|
lib/checkable_internal.cpp \
|
||||||
components/snackbar.cpp \
|
components/snackbar.cpp \
|
||||||
components/textfield_internal.cpp
|
components/textfield_internal.cpp \
|
||||||
|
components/drawer.cpp
|
||||||
|
|
||||||
HEADERS += mainwindow.h \
|
HEADERS += mainwindow.h \
|
||||||
components/appbar.h \
|
components/appbar.h \
|
||||||
|
@ -134,7 +135,8 @@ HEADERS += mainwindow.h \
|
||||||
components/snackbar_p.h \
|
components/snackbar_p.h \
|
||||||
components/textfield_p.h \
|
components/textfield_p.h \
|
||||||
components/textfield_internal.h \
|
components/textfield_internal.h \
|
||||||
components/badge_p.h
|
components/badge_p.h \
|
||||||
|
components/drawer.h
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
resources.qrc
|
resources.qrc
|
||||||
|
|
Loading…
Reference in New Issue