#
#
# add_file "res/forms/dialogs/message.ui"
# content [f8208ef0a1ebfaeae1a2260410daa0f0f140a8c9]
#
# add_file "src/view/dialogs/Message.cpp"
# content [ac0fac32b19c603be4eac6af68230b5ed0ac2d18]
#
# add_file "src/view/dialogs/Message.h"
# content [d8ff01342e07e6c2162f3d28719cdc1b7998972a]
#
# patch "guitone.pro"
# from [9e9f6076507b5ff262bcbb37c9f0a9abd1e35d8e]
# to [2c4b59235aaabdc70220a1008e72e6dd6c6a32a5]
#
============================================================
--- res/forms/dialogs/message.ui f8208ef0a1ebfaeae1a2260410daa0f0f140a8c9
+++ res/forms/dialogs/message.ui f8208ef0a1ebfaeae1a2260410daa0f0f140a8c9
@@ -0,0 +1,90 @@
+
+
+ MessageDialog
+
+
+
+ 0
+ 0
+ 410
+ 299
+
+
+
+ Dialog
+
+
+ -
+
+
+
+ false
+ false
+ false
+
+
+
+ QPlainTextEdit::WidgetWidth
+
+
+ true
+
+
+
+
+
+ Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+ QDialogButtonBox::Close
+
+
+ true
+
+
+
+
+
+
+
+
+ buttonBox
+ accepted()
+ MessageDialog
+ accept()
+
+
+ 248
+ 254
+
+
+ 157
+ 274
+
+
+
+
+ buttonBox
+ rejected()
+ MessageDialog
+ reject()
+
+
+ 316
+ 260
+
+
+ 286
+ 274
+
+
+
+
+
============================================================
--- src/view/dialogs/Message.cpp ac0fac32b19c603be4eac6af68230b5ed0ac2d18
+++ src/view/dialogs/Message.cpp ac0fac32b19c603be4eac6af68230b5ed0ac2d18
@@ -0,0 +1,38 @@
+/***************************************************************************
+ * Copyright (C) 2009 by Thomas Keller *
+ * address@hidden *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation, either version 3 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program. If not, see . *
+ ***************************************************************************/
+
+#include "Message.h"
+
+#include
+
+Message::Message(QWidget * parent, const QString & title, const QString & msg) : Dialog(parent)
+{
+ setupUi(this);
+ Dialog::init();
+
+ setWindowTitle(title);
+
+ QFont f;
+ f.setStyleHint(QFont::Courier);
+ f.setFamily("Courier");
+ message->setFont(f);
+ message->setPlainText(msg);
+}
+
+Message::~Message() {}
+
============================================================
--- src/view/dialogs/Message.h d8ff01342e07e6c2162f3d28719cdc1b7998972a
+++ src/view/dialogs/Message.h d8ff01342e07e6c2162f3d28719cdc1b7998972a
@@ -0,0 +1,33 @@
+/***************************************************************************
+ * Copyright (C) 2009 by Thomas Keller *
+ * address@hidden *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation, either version 3 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program. If not, see . *
+ ***************************************************************************/
+
+#ifndef MESSAGE_H
+#define MESSAGE_H
+
+#include "ui_message.h"
+#include "Dialog.h"
+
+class Message : public Dialog, private Ui::MessageDialog
+{
+ Q_OBJECT
+public:
+ Message(QWidget *, const QString &, const QString &);
+ ~Message();
+};
+
+#endif
============================================================
--- guitone.pro 9e9f6076507b5ff262bcbb37c9f0a9abd1e35d8e
+++ guitone.pro 2c4b59235aaabdc70220a1008e72e6dd6c6a32a5
@@ -66,6 +66,7 @@ HEADERS = src/view/widgets/TreeView.h \
src/view/dialogs/CreateDatabase.h \
src/view/dialogs/Netsync.h \
src/view/dialogs/NewProjectSetup.h \
+ src/view/dialogs/Message.h \
src/view/panels/IconHelp.h \
src/view/panels/DatabaseVariables.h \
src/view/panels/NodeInfo.h \
@@ -157,6 +158,7 @@ SOURCES += src/view/widgets/TreeView.cpp
src/view/dialogs/CreateDatabase.cpp \
src/view/dialogs/Netsync.cpp \
src/view/dialogs/NewProjectSetup.cpp \
+ src/view/dialogs/Message.cpp \
src/view/panels/IconHelp.cpp \
src/view/panels/DatabaseVariables.cpp \
src/view/panels/NodeInfo.cpp \
@@ -224,6 +226,7 @@ FORMS += res/forms/dialogs/select_revi
res/forms/dialogs/unaccounted_renames.ui \
res/forms/dialogs/add_edit_attribute.ui \
res/forms/dialogs/open_prompt.ui \
+ res/forms/dialogs/message.ui \
res/forms/dialogs/add_edit_variables.ui \
res/forms/dialogs/create_database.ui \
res/forms/dialogs/netsync.ui \