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