qt-material-widgets/components/qtmaterialtextfield_p.h

37 lines
1.1 KiB
C
Raw Normal View History

2017-09-29 17:15:25 +00:00
#ifndef QTMATERIALTEXTFIELD_P_H
#define QTMATERIALTEXTFIELD_P_H
#include <QtGlobal>
#include <QColor>
class QtMaterialTextField;
class QtMaterialTextFieldStateMachine;
class QtMaterialTextFieldLabel;
class QtMaterialTextFieldPrivate
{
Q_DISABLE_COPY(QtMaterialTextFieldPrivate)
Q_DECLARE_PUBLIC(QtMaterialTextField)
public:
QtMaterialTextFieldPrivate(QtMaterialTextField *q);
~QtMaterialTextFieldPrivate();
void init();
QtMaterialTextField *const q_ptr;
QtMaterialTextFieldStateMachine *stateMachine;
QtMaterialTextFieldLabel *label;
QColor textColor;
QColor labelColor;
QColor inkColor;
2017-10-06 05:29:38 +00:00
QColor inputLineColor;
2017-09-29 17:15:25 +00:00
QString labelString;
qreal labelFontSize;
bool showLabel;
2017-10-06 05:29:38 +00:00
bool showInputLine;
2017-09-29 17:15:25 +00:00
bool useThemeColors;
};
#endif // QTMATERIALTEXTFIELD_P_H