40 #ifndef __OPENFLUID_UICOMMON_MESSAGEDIALOG_HPP__
41 #define __OPENFLUID_UICOMMON_MESSAGEDIALOG_HPP__
44 #include <QDialogButtonBox>
45 #include <QPushButton>
52 namespace openfluid {
namespace ui {
namespace common {
63 QDialogButtonBox* mp_ButtonBox;
68 void setupMessageUi(
const QString& DefaultMsg,
69 QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
71 void updateDefaultMessage(
const QString& Msg);
73 void setMessage(
const QString& Msg = QString());
75 QPushButton* buttonOfButtonBox(QDialogButtonBox::StandardButton Which);