33 Q_PROPERTY(
qreal implicitWidth READ implicitWidth WRITE setImplicitWidth NOTIFY implicitWidthChanged3 FINAL)
34 Q_PROPERTY(
qreal implicitHeight READ implicitHeight WRITE setImplicitHeight NOTIFY implicitHeightChanged3 FINAL)
36 Q_PROPERTY(
QString placeholderText READ placeholderText WRITE setPlaceholderText NOTIFY placeholderTextChanged FINAL)
37 Q_PROPERTY(
Qt::FocusReason focusReason READ focusReason WRITE setFocusReason NOTIFY focusReasonChanged FINAL)
39 Q_PROPERTY(
bool hovered READ isHovered NOTIFY hoveredChanged FINAL REVISION(2, 1))
40 Q_PROPERTY(
bool hoverEnabled READ isHoverEnabled WRITE setHoverEnabled RESET resetHoverEnabled NOTIFY hoverEnabledChanged FINAL REVISION(2, 1))
42 Q_PROPERTY(
QColor placeholderTextColor READ placeholderTextColor WRITE setPlaceholderTextColor NOTIFY placeholderTextColorChanged FINAL REVISION(2, 5))
43 Q_PROPERTY(
qreal implicitBackgroundWidth READ implicitBackgroundWidth NOTIFY implicitBackgroundWidthChanged FINAL REVISION(2, 5))
44 Q_PROPERTY(
qreal implicitBackgroundHeight READ implicitBackgroundHeight NOTIFY implicitBackgroundHeightChanged FINAL REVISION(2, 5))
45 Q_PROPERTY(
qreal topInset READ topInset WRITE setTopInset RESET resetTopInset NOTIFY topInsetChanged FINAL REVISION(2, 5))
46 Q_PROPERTY(
qreal leftInset READ leftInset WRITE setLeftInset RESET resetLeftInset NOTIFY leftInsetChanged FINAL REVISION(2, 5))
47 Q_PROPERTY(
qreal rightInset READ rightInset WRITE setRightInset RESET resetRightInset NOTIFY rightInsetChanged FINAL REVISION(2, 5))
48 Q_PROPERTY(
qreal bottomInset READ bottomInset WRITE setBottomInset RESET resetBottomInset NOTIFY bottomInsetChanged FINAL REVISION(2, 5))
66 QString placeholderText() const;
69 Qt::FocusReason focusReason() const;
70 void setFocusReason(
Qt::FocusReason reason);
75 bool isHovered() const;
76 void setHovered(
bool hovered);
78 bool isHoverEnabled() const;
79 void setHoverEnabled(
bool enabled);
80 void resetHoverEnabled();
83 QColor placeholderTextColor() const;
86 qreal implicitBackgroundWidth() const;
87 qreal implicitBackgroundHeight() const;
89 qreal topInset() const;
90 void setTopInset(
qreal inset);
93 qreal leftInset() const;
94 void setLeftInset(
qreal inset);
95 void resetLeftInset();
97 qreal rightInset() const;
98 void setRightInset(
qreal inset);
99 void resetRightInset();
101 qreal bottomInset() const;
102 void setBottomInset(
qreal inset);
103 void resetBottomInset();
107 void implicitWidthChanged3();
108 void implicitHeightChanged3();
109 void backgroundChanged();
110 void placeholderTextChanged();
111 void focusReasonChanged();
130 void classBegin() override;
131 void componentComplete() override;
134 void geometryChange(const
QRectF &newGeometry, const
QRectF &oldGeometry) override;
141#if QT_CONFIG(quicktemplates2_hover)