4#ifndef QDIALOGBUTTONBOX_P_H
5#define QDIALOGBUTTONBOX_P_H
18#include <private/qwidget_p.h>
19#include <private/qflatmap_p.h>
47 QVarLengthFlatMap<QAbstractButton *, QDialogButtonBox::ButtonRole, 8>
hiddenButtons;
54 bool ignoreShowAndHide =
false;
56 void createStandardButtons(QDialogButtonBox::StandardButtons buttons);
66 AddRule addRule = AddRule::Connect);
67 void handleButtonDestroyed();
68 void handleButtonClicked();
70 void addButtonsToLayout(
const QList<QAbstractButton *> &buttonList,
bool reverse);
71 void ensureFirstAcceptIsDefault();
72 void retranslateStrings();
74 QList<QAbstractButton *> allButtons()
const;
75 QList<QAbstractButton *> visibleButtons()
const;
The QBoxLayout class lines up child widgets horizontally or vertically.
Combined button and popup list for selecting options.
#define Q_AUTOTEST_EXPORT