#include "msgdialog.h"

MsgDialog::MsgDialog( ) : DialogBase()
{
    setButtons(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
    hideCancel();
}



DialogBase *MsgDialog::createWidget( const QString &text )
{
    MsgDialog *dlg = new MsgDialog();
    dlg->setText(text);
    return dlg;
}

