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;
42 qreal getContentWidth()
const override;
43 qreal getContentHeight()
const override;
47 static QString buttonText(QPlatformDialogHelper::StandardButton standardButton);
49 QQuickAbstractButton *createStandardButton(QPlatformDialogHelper::StandardButton button);
50 void removeStandardButtons();
52 void updateLanguage();
54 QPlatformDialogHelper::StandardButton standardButton(QQuickAbstractButton *button)
const;
56 Qt::Alignment alignment;
57 QQuickDialogButtonBox::Position position = QQuickDialogButtonBox::Footer;
58 QPlatformDialogHelper::StandardButtons standardButtons = QPlatformDialogHelper::NoButton;
59 QPlatformDialogHelper::StandardButton defaultStandardButton = QPlatformDialogHelper::NoButton;
60 QPlatformDialogHelper::ButtonLayout buttonLayout = QPlatformDialogHelper::UnknownLayout;
61 QQuickAbstractButton *defaultButton =
nullptr;
62 QQmlComponent *delegate =
nullptr;