merge
authorsheepluva
Fri, 29 Mar 2013 14:47:01 +0100
changeset 8816 6f93822e0b2e
parent 8807 509d812ca219 (diff)
parent 8814 01e13871f578 (current diff)
child 8818 8f317ba10675
merge
QTfrontend/util/MessageDialog.h
--- a/QTfrontend/util/MessageDialog.h	Fri Mar 29 08:10:44 2013 -0400
+++ b/QTfrontend/util/MessageDialog.h	Fri Mar 29 14:47:01 2013 +0100
@@ -29,6 +29,14 @@
         static int ShowFatalMessage(const QString & msg, QWidget * parent = 0);
         static int ShowErrorMessage(const QString & msg, QWidget * parent = 0);
         static int ShowInfoMessage(const QString & msg, QWidget * parent = 0);
+        /**
+         * @brief Displays a message.
+         * @param title message title or <code>NULL</code> if no/default title
+         * @param msg message to display
+         * @param icon (optional) icon to be displayed next to the message
+         * @param parent parent Widget
+         * @return a QMessageBox::StandardButton value indicating which button was clicked
+         */
         static int ShowMessage(const QString & title, const QString & msg, QMessageBox::Icon icon = QMessageBox::NoIcon, QWidget * parent = 0);
 };