12#include "dabstractdialogprivate_p.h"
18DWIDGET_BEGIN_NAMESPACE
30 QBoxLayout *getContentLayout();
33 bool onButtonClickedClose =
true;
43 QHBoxLayout *iconLayout;
44 QVBoxLayout *contentLayout;
45 QWidget *contentWidget =
nullptr;
46 QHBoxLayout *buttonLayout;
47 const QScreen *targetScreen =
nullptr;
48 QSpacerItem *spacer =
nullptr;
55 int clickedButtonIndex;
58 const QScreen *getScreen()
const;
61 QString elideString(
QString str,
const QFontMetrics &fm,
int width)
const;
64 void setSpacer(
int height);
66 void _q_onButtonClicked();
67 void _q_defaultButtonTriggered();