qtmaterialtextfield_p.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef QTMATERIALTEXTFIELD_P_H
  2. #define QTMATERIALTEXTFIELD_P_H
  3. #include <QtGlobal>
  4. #include <QColor>
  5. class QtMaterialTextField;
  6. class QtMaterialTextFieldStateMachine;
  7. class QtMaterialTextFieldLabel;
  8. class QtMaterialTextFieldPrivate
  9. {
  10. Q_DISABLE_COPY(QtMaterialTextFieldPrivate)
  11. Q_DECLARE_PUBLIC(QtMaterialTextField)
  12. public:
  13. QtMaterialTextFieldPrivate(QtMaterialTextField *q);
  14. virtual ~QtMaterialTextFieldPrivate();
  15. void init();
  16. QtMaterialTextField *const q_ptr;
  17. QtMaterialTextFieldStateMachine *stateMachine;
  18. QtMaterialTextFieldLabel *label;
  19. QColor textColor;
  20. QColor labelColor;
  21. QColor inkColor;
  22. QColor inputLineColor;
  23. QString labelString;
  24. qreal labelFontSize;
  25. bool showLabel;
  26. bool showInputLine;
  27. bool useThemeColors;
  28. };
  29. #endif // QTMATERIALTEXTFIELD_P_H