#include <widgetdialog.h>
Public Member Functions | |
WidgetDialog (QWidget *widget, QWidget *parent=0, const QStringList &options=QStringList()) | |
QString | chosenOption () |
Private Slots | |
void | handleClick (QAbstractButton *button) |
Private Attributes | |
QString | clickedText |
A simple dialog showing a user defined widget. It shows an Ok and a Cancel button.
Definition at line 15 of file widgetdialog.h.
WidgetDialog::WidgetDialog | ( | QWidget * | widget, | |
QWidget * | parent = 0 , |
|||
const QStringList & | options = QStringList() | |||
) |
Creates a dialog showing widget
as its main widget. The dialog takes ownership over widget
.
Definition at line 9 of file widgetdialog.cpp.