create separate class for Text Field state machine
This commit is contained in:
parent
84c3ce96b4
commit
07f4478d3f
|
@ -4,6 +4,7 @@
|
||||||
TextFieldPrivate::TextFieldPrivate(TextField *q)
|
TextFieldPrivate::TextFieldPrivate(TextField *q)
|
||||||
: q_ptr(q)
|
: q_ptr(q)
|
||||||
{
|
{
|
||||||
|
q->setFrame(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextFieldPrivate::init()
|
void TextFieldPrivate::init()
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
#include "textfield_internal.h"
|
|
@ -0,0 +1,4 @@
|
||||||
|
#ifndef TEXTFIELD_INTERNAL_H
|
||||||
|
#define TEXTFIELD_INTERNAL_H
|
||||||
|
|
||||||
|
#endif // TEXTFIELD_INTERNAL_H
|
|
@ -62,7 +62,8 @@ SOURCES += main.cpp\
|
||||||
components/selectfield.cpp \
|
components/selectfield.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
|
||||||
|
|
||||||
HEADERS += mainwindow.h \
|
HEADERS += mainwindow.h \
|
||||||
components/appbar.h \
|
components/appbar.h \
|
||||||
|
@ -131,7 +132,8 @@ HEADERS += mainwindow.h \
|
||||||
lib/checkable_internal.h \
|
lib/checkable_internal.h \
|
||||||
components/snackbar.h \
|
components/snackbar.h \
|
||||||
components/snackbar_p.h \
|
components/snackbar_p.h \
|
||||||
components/textfield_p.h
|
components/textfield_p.h \
|
||||||
|
components/textfield_internal.h
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
resources.qrc
|
resources.qrc
|
||||||
|
|
Loading…
Reference in New Issue