1 #ifndef __libquark_gui_AlertDialogBuilder_hxx 2 #define __libquark_gui_AlertDialogBuilder_hxx 4 #include <QDialogButtonBox> 76 QMessageBox::ButtonRole role);
102 {
return(setSlot(NULL, slot)); }
118 closure()->
addSlotArg(QVariant::fromValue(arg));
124 QMessageBox *_dialog;
132 #endif // __libquark_gui_AlertDialogBuilder_hxx A Warning dialog.
Definition: AlertDialogBuilder.h++:30
An informational dialog.
Definition: AlertDialogBuilder.h++:28
AlertDialogBuilder & addSlotArg(const T &arg)
Adds an argument to be passed to the slot when the dialog is accepted.
Definition: AlertDialogBuilder.h++:116
Definition: BarChartView.h++:6
An abstract base class for dialog builders.
Definition: DialogBuilder.h++:23
#define LIBQUARK_API
Definition: Quark.h++:18
AlertDialogBuilder & setSlot(const char *slot)
Specifies a slot of the dialog's parent widget to be invoked when the dialog is accepted.
Definition: AlertDialogBuilder.h++:101
DialogType
Alert dialog types.
Definition: AlertDialogBuilder.h++:25
An error dialog.
Definition: AlertDialogBuilder.h++:32
A builder object for constructing simple alert dialogs.
Definition: AlertDialogBuilder.h++:20