31 Q_PROPERTY(
qreal implicitWidth READ implicitWidth WRITE setImplicitWidth NOTIFY implicitWidthChanged3 FINAL)
32 Q_PROPERTY(
qreal implicitHeight READ implicitHeight WRITE setImplicitHeight NOTIFY implicitHeightChanged3 FINAL)
34 Q_PROPERTY(
QString placeholderText READ placeholderText WRITE setPlaceholderText NOTIFY placeholderTextChanged FINAL)
35 Q_PROPERTY(
Qt::FocusReason focusReason READ focusReason WRITE setFocusReason NOTIFY focusReasonChanged FINAL)
37 Q_PROPERTY(
bool hovered READ isHovered NOTIFY hoveredChanged FINAL REVISION(2, 1))
38 Q_PROPERTY(
bool hoverEnabled READ isHoverEnabled WRITE setHoverEnabled RESET resetHoverEnabled NOTIFY hoverEnabledChanged FINAL REVISION(2, 1))
40 Q_PROPERTY(
QColor placeholderTextColor READ placeholderTextColor WRITE setPlaceholderTextColor NOTIFY placeholderTextColorChanged FINAL REVISION(2, 5))
41 Q_PROPERTY(
qreal implicitBackgroundWidth READ implicitBackgroundWidth NOTIFY implicitBackgroundWidthChanged FINAL REVISION(2, 5))
42 Q_PROPERTY(
qreal implicitBackgroundHeight READ implicitBackgroundHeight NOTIFY implicitBackgroundHeightChanged FINAL REVISION(2, 5))
43 Q_PROPERTY(
qreal topInset READ topInset WRITE setTopInset RESET resetTopInset NOTIFY topInsetChanged FINAL REVISION(2, 5))
44 Q_PROPERTY(
qreal leftInset READ leftInset WRITE setLeftInset RESET resetLeftInset NOTIFY leftInsetChanged FINAL REVISION(2, 5))
45 Q_PROPERTY(
qreal rightInset READ rightInset WRITE setRightInset RESET resetRightInset NOTIFY rightInsetChanged FINAL REVISION(2, 5))
46 Q_PROPERTY(
qreal bottomInset READ bottomInset WRITE setBottomInset RESET resetBottomInset NOTIFY bottomInsetChanged FINAL REVISION(2, 5))
61 QString placeholderText() const;
64 Qt::FocusReason focusReason() const;
65 void setFocusReason(
Qt::FocusReason reason);
68 bool isHovered() const;
69 void setHovered(
bool hovered);
71 bool isHoverEnabled() const;
72 void setHoverEnabled(
bool enabled);
73 void resetHoverEnabled();
76 QColor placeholderTextColor() const;
79 qreal implicitBackgroundWidth() const;
80 qreal implicitBackgroundHeight() const;
82 qreal topInset() const;
83 void setTopInset(
qreal inset);
86 qreal leftInset() const;
87 void setLeftInset(
qreal inset);
88 void resetLeftInset();
90 qreal rightInset() const;
91 void setRightInset(
qreal inset);
92 void resetRightInset();
94 qreal bottomInset() const;
95 void setBottomInset(
qreal inset);
96 void resetBottomInset();
100 void implicitWidthChanged3();
101 void implicitHeightChanged3();
102 void backgroundChanged();
103 void placeholderTextChanged();
104 void focusReasonChanged();
123 void classBegin() override;
124 void componentComplete() override;
127 void geometryChange(const
QRectF &newGeometry, const
QRectF &oldGeometry) override;
134#if QT_CONFIG(quicktemplates2_hover)