qt-material-widgets/components/textfield_p.h

35 lines
810 B
C
Raw Normal View History

2016-06-14 15:30:46 +00:00
#ifndef TEXTFIELD_P_H
#define TEXTFIELD_P_H
#include <QObject>
2016-06-19 14:27:21 +00:00
#include <QColor>
2016-06-14 15:30:46 +00:00
class TextField;
2016-06-14 17:29:20 +00:00
class TextFieldStateMachine;
2016-06-16 16:08:54 +00:00
class TextFieldLabel;
2016-06-14 15:30:46 +00:00
class TextFieldPrivate
{
Q_DISABLE_COPY(TextFieldPrivate)
Q_DECLARE_PUBLIC(TextField)
public:
TextFieldPrivate(TextField *q);
void init();
2016-06-21 12:42:49 +00:00
TextField *const q_ptr;
2016-06-16 16:08:54 +00:00
TextFieldLabel *label;
2016-06-14 17:29:20 +00:00
TextFieldStateMachine *machine;
2016-06-21 12:42:49 +00:00
QColor textColor;
QColor backgroundColor;
QColor inkColor;
QColor underlineColor;
QColor hintColor;
QString labelString;
qreal labelFontSize;
bool showLabel;
bool useThemeColors;
2016-06-14 15:30:46 +00:00
};
#endif // TEXTFIELD_P_H