more boilerplate
This commit is contained in:
parent
5bc61013cb
commit
c9908a41c4
|
@ -0,0 +1,10 @@
|
||||||
|
#include "snackbar.h"
|
||||||
|
|
||||||
|
Snackbar::Snackbar(QWidget *parent)
|
||||||
|
: QWidget(parent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
Snackbar::~Snackbar()
|
||||||
|
{
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
#ifndef SNACKBAR_H
|
||||||
|
#define SNACKBAR_H
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
|
class Snackbar : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit Snackbar(QWidget *parent = 0);
|
||||||
|
~Snackbar();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Q_DISABLE_COPY(Snackbar)
|
||||||
|
//Q_DECLARE_PRIVATE(Snackbar)
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // SNACKBAR_H
|
|
@ -0,0 +1,4 @@
|
||||||
|
#ifndef SNACKBAR_P_H
|
||||||
|
#define SNACKBAR_P_H
|
||||||
|
|
||||||
|
#endif // SNACKBAR_P_H
|
|
@ -61,7 +61,8 @@ SOURCES += main.cpp\
|
||||||
components/progress.cpp \
|
components/progress.cpp \
|
||||||
components/selectfield.cpp \
|
components/selectfield.cpp \
|
||||||
lib/checkable.cpp \
|
lib/checkable.cpp \
|
||||||
lib/checkable_internal.cpp
|
lib/checkable_internal.cpp \
|
||||||
|
components/snackbar.cpp
|
||||||
|
|
||||||
HEADERS += mainwindow.h \
|
HEADERS += mainwindow.h \
|
||||||
components/appbar.h \
|
components/appbar.h \
|
||||||
|
@ -127,7 +128,9 @@ HEADERS += mainwindow.h \
|
||||||
components/checkbox_p.h \
|
components/checkbox_p.h \
|
||||||
lib/checkable.h \
|
lib/checkable.h \
|
||||||
lib/checkable_p.h \
|
lib/checkable_p.h \
|
||||||
lib/checkable_internal.h
|
lib/checkable_internal.h \
|
||||||
|
components/snackbar.h \
|
||||||
|
components/snackbar_p.h
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
resources.qrc
|
resources.qrc
|
||||||
|
|
Loading…
Reference in New Issue