39#if QT_CONFIG(accessibility)
40 ,
public QAccessible::ActivationObserver
51 return control->d_func();
56#if QT_CONFIG(quicktemplates2_multitouch)
59 virtual bool handlePress(
const QPointF &point,
ulong timestamp);
60 virtual bool handleMove(
const QPointF &point,
ulong timestamp);
61 virtual bool handleRelease(
const QPointF &point,
ulong timestamp);
62 virtual void handleUngrab();
64 void mirrorChange()
override;
67 inline qreal getTopPadding()
const {
return extra.isAllocated() && extra->hasTopPadding ? extra->topPadding : getVerticalPadding(); }
68 inline qreal getLeftPadding()
const {
return extra.isAllocated() && extra->hasLeftPadding ? extra->leftPadding : getHorizontalPadding(); }
69 inline qreal getRightPadding()
const {
return extra.isAllocated() && extra->hasRightPadding ? extra->rightPadding : getHorizontalPadding(); }
70 inline qreal getBottomPadding()
const {
return extra.isAllocated() && extra->hasBottomPadding ? extra->bottomPadding : getVerticalPadding(); }
92 virtual void resizeBackground();
93 virtual void resizeContent();
98#if QT_CONFIG(accessibility)
99 void accessibilityActiveChanged(
bool active)
override;
100 QAccessible::Role accessibleRole()
const override;
101 static QQuickAccessibleAttached *accessibleAttached(
const QObject *
object);
104 virtual void resolveFont();
115 void updateLocale(
const QLocale &l,
bool e);
119#if QT_CONFIG(quicktemplates2_hover)
120 void updateHoverEnabled(
bool enabled,
bool xplicit);
127 virtual void cancelContentItem();
128 virtual void executeContentItem(
bool complete =
false);
130 virtual void cancelBackground();
131 virtual void executeBackground(
bool complete =
false);
140 UnhideVisibility visibility = UnhideVisibility::Show);
142 void updateBaselineOffset();
146 void addImplicitSizeListener(
QQuickItem *
item, ChangeTypes changes = ImplicitSizeChanges);
147 void removeImplicitSizeListener(
QQuickItem *
item, ChangeTypes changes = ImplicitSizeChanges);
158 virtual qreal getContentWidth()
const;
159 virtual qreal getContentHeight()
const;
161 void updateImplicitContentWidth();
162 void updateImplicitContentHeight();
163 void updateImplicitContentSize();
165 QPalette defaultPalette()
const override;
168 bool hasTopPadding =
false;
169 bool hasLeftPadding =
false;
170 bool hasRightPadding =
false;
171 bool hasBottomPadding =
false;
172 bool hasBaselineOffset =
false;
173 bool hasTopInset =
false;
174 bool hasLeftInset =
false;
175 bool hasRightInset =
false;
176 bool hasBottomInset =
false;
177 bool hasBackgroundWidth =
false;
178 bool hasBackgroundHeight =
false;
191 bool hasHorizontalPadding =
false;
192 bool hasVerticalPadding =
false;
193 bool hasLocale =
false;
194 bool wheelEnabled =
false;
195#if QT_CONFIG(quicktemplates2_hover)
196 bool hovered =
false;
197 bool explicitHoverEnabled =
false;
199 bool resizingBackground =
false;
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)