5 #include <QDialogButtonBox>
14 /** Maemo- and Mac-friendly dialog box. */
21 explicit Dyalog(QWidget *parent, bool showButtons = true);
23 /** Add widget to the scrollable content pane. */
24 void addWidget(QWidget *widget);
26 /** Add stretch to the scrollable content pane. */
27 void addStretch(int stretch = 0);
29 /** Add button to the dialog button box. */
30 void addButton(const QString &label, QObject *receiver, const char *slot,
31 QDialogButtonBox::ButtonRole role = QDialogButtonBox::AcceptRole);
40 QScrollArea *scroller;
42 QVBoxLayout *contentLayout;
43 QDialogButtonBox *buttonBox;