24 #include <QDialogButtonBox>    42                QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close,
    43                Qt::Orientation orientation = Qt::Horizontal );
    46     QVBoxLayout *
layout() { 
return mLayout; }
    48     QDialogButtonBox *
buttonBox() { 
return mButtonBox; }
    51     QVBoxLayout *mLayout = 
nullptr;
    52     QDialogButtonBox *mButtonBox = 
nullptr;
 
A generic dialog with layout and button box. 
 
QDialogButtonBox * buttonBox()
Returns the button box. 
 
QVBoxLayout * layout()
Returns the central layout. Widgets added to it must have this dialog as parent.