21 QDialogButtonBox::StandardButtons buttons,
22 Qt::Orientation orientation )
23 : QDialog( parent, fl )
26 mButtonBox =
new QDialogButtonBox( buttons, orientation,
this );
27 connect(
mButtonBox, SIGNAL( accepted() ),
this, SLOT( accept() ) );
28 connect(
mButtonBox, SIGNAL( rejected() ),
this, SLOT( reject() ) );
32 if ( orientation == Qt::Horizontal )
33 layout =
new QVBoxLayout();
35 layout =
new QHBoxLayout();