27 Q_DECLARE_PUBLIC(QQuickDialogButtonBox)
29 static QQuickDialogButtonBoxPrivate *get(QQuickDialogButtonBox *box)
34 void itemImplicitWidthChanged(QQuickItem *item) override;
35 void itemImplicitHeightChanged(QQuickItem *item) override;
37 void resizeContent() override;
41 qreal getContentWidth()
const override;
42 qreal getContentHeight()
const override;
46 static QString buttonText(QPlatformDialogHelper::StandardButton standardButton);
48 QQuickAbstractButton *createStandardButton(QPlatformDialogHelper::StandardButton button);
49 void removeStandardButtons();
51 void updateLanguage();
53 QPlatformDialogHelper::StandardButton standardButton(QQuickAbstractButton *button)
const;
55 Qt::Alignment alignment;
56 QQuickDialogButtonBox::Position position = QQuickDialogButtonBox::Footer;
57 QPlatformDialogHelper::StandardButtons standardButtons = QPlatformDialogHelper::NoButton;
58 QPlatformDialogHelper::ButtonLayout buttonLayout = QPlatformDialogHelper::UnknownLayout;
59 QQmlComponent *delegate =
nullptr;