create separate class for Text Field state machine

This commit is contained in:
laserpants 2016-06-14 18:33:49 +03:00
parent 84c3ce96b4
commit 07f4478d3f
4 changed files with 10 additions and 2 deletions

View File

@ -4,6 +4,7 @@
TextFieldPrivate::TextFieldPrivate(TextField *q)
: q_ptr(q)
{
q->setFrame(false);
}
void TextFieldPrivate::init()

View File

@ -0,0 +1 @@
#include "textfield_internal.h"

View File

@ -0,0 +1,4 @@
#ifndef TEXTFIELD_INTERNAL_H
#define TEXTFIELD_INTERNAL_H
#endif // TEXTFIELD_INTERNAL_H

View File

@ -62,7 +62,8 @@ SOURCES += main.cpp\
components/selectfield.cpp \
lib/checkable.cpp \
lib/checkable_internal.cpp \
components/snackbar.cpp
components/snackbar.cpp \
components/textfield_internal.cpp
HEADERS += mainwindow.h \
components/appbar.h \
@ -131,7 +132,8 @@ HEADERS += mainwindow.h \
lib/checkable_internal.h \
components/snackbar.h \
components/snackbar_p.h \
components/textfield_p.h
components/textfield_p.h \
components/textfield_internal.h
RESOURCES += \
resources.qrc