27 Q_PROPERTY(
Qt::TextFormat textFormat READ textFormat WRITE setTextFormat)
29#if QT_CONFIG(textedit)
33 Q_PROPERTY(
Qt::TextInteractionFlags textInteractionFlags READ textInteractionFlags
34 WRITE setTextInteractionFlags)
39 DontUseNativeDialog = 0x00000001
72 NoButton = 0x00000000,
78 YesToAll = 0x00008000,
90 RestoreDefaults = 0x08000000,
93 LastButton = RestoreDefaults,
100 FlagMask = 0x00000300,
105#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
106 typedef StandardButton
Button;
115 StandardButtons buttons = NoButton,
QWidget *parent =
nullptr,
127 QList<QAbstractButton *> buttons()
const;
131 StandardButtons standardButtons()
const;
141 void setEscapeButton(StandardButton
button);
157 void setTextInteractionFlags(Qt::TextInteractionFlags
flags);
158 Qt::TextInteractionFlags textInteractionFlags()
const;
165 void setOptions(
Options options);
170 StandardButton defaultButton = NoButton);
171#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
174 StandardButton button0, StandardButton button1 = NoButton)
175 {
return information(parent,
title,
text, StandardButtons(button0), button1); }
179 const QString &
text, StandardButtons buttons = StandardButtons(Yes | No),
180 StandardButton defaultButton = NoButton);
181#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
184 StandardButton button0, StandardButton button1)
185 {
return question(parent,
title,
text, StandardButtons(button0), button1); }
190 StandardButton defaultButton = NoButton);
191#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
194 StandardButton button0, StandardButton button1)
200 StandardButton defaultButton = NoButton);
201#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
204 StandardButton button0, StandardButton button1)
205 {
return critical(parent,
title,
text, StandardButtons(button0), button1); }
211#if QT_DEPRECATED_SINCE(6,2)
215 int button0,
int button1,
int button2,
217 Qt::WindowFlags
f =
Qt::Dialog |
Qt::MSWindowsFixedSizeDialogHint);
222 int button0,
int button1 = 0,
int button2 = 0);
229 int defaultButtonNumber = 0,
230 int escapeButtonNumber = -1);
235 int button0,
int button1 = 0,
int button2 = 0);
242 int defaultButtonNumber = 0,
243 int escapeButtonNumber = -1);
248 int button0,
int button1,
int button2 = 0);
255 int defaultButtonNumber = 0,
256 int escapeButtonNumber = -1);
261 int button0,
int button1,
int button2 = 0);
268 int defaultButtonNumber = 0,
269 int escapeButtonNumber = -1);
277 QString informativeText()
const;
280#if QT_CONFIG(textedit)
288#if QT_DEPRECATED_SINCE(6,2)