# HG changeset patch
# User insilmaril
# Date 1157546826 0
# Node ID a62478df8d464143a5baf2f8b03c63c3617ca3f5
# Parent  1ab7353f8f4405dc5ba78008657ba1ad1457604b
1.8.55  New history window and showtextwindow

diff -r 1ab7353f8f44 -r a62478df8d46 showtextdialog.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/showtextdialog.cpp	Wed Sep 06 12:47:06 2006 +0000
@@ -0,0 +1,19 @@
+#include "showtextdialog.h"
+
+
+ShowTextDialog::ShowTextDialog (QWidget *parent):QDialog (parent)
+{
+	ui.setupUi (this);
+}
+
+void ShowTextDialog::append  (const QString &s)
+{
+	ui.textEdit->append (s);
+}
+
+void ShowTextDialog::setText (const QString &s)
+{
+	ui.textEdit->setText (s);
+}
+
+
diff -r 1ab7353f8f44 -r a62478df8d46 showtextdialog.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/showtextdialog.h	Wed Sep 06 12:47:06 2006 +0000
@@ -0,0 +1,19 @@
+#ifndef SHOWTEXTDIALOG_H
+#define SHOWTEXTDIALOG_H
+
+#include "ui_showtextdialog.h"
+
+class ShowTextDialog:public QDialog
+{
+	Q_OBJECT
+public:
+	ShowTextDialog (QWidget *parent=0);
+	void append     (const QString &);
+	void setText    (const QString &);
+	
+private:
+	Ui::ShowTextDialog ui;
+};
+
+#endif // SHOWTEXTDIALOG_H
+
diff -r 1ab7353f8f44 -r a62478df8d46 showtextdialog.ui
--- a/showtextdialog.ui	Wed Sep 06 12:47:06 2006 +0000
+++ b/showtextdialog.ui	Wed Sep 06 12:47:06 2006 +0000
@@ -1,136 +1,80 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>ShowTextDialog</class>
-<author>Uwe Drechsel</author>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>ShowTextDialog</cstring>
-    </property>
-    <property name="enabled">
-        <bool>true</bool>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>560</width>
-            <height>383</height>
-        </rect>
-    </property>
-    <property name="sizePolicy">
-        <sizepolicy>
-            <hsizetype>5</hsizetype>
-            <vsizetype>5</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-    </property>
-    <property name="backgroundOrigin">
-        <enum>WidgetOrigin</enum>
-    </property>
-    <property name="caption">
-        <string>VYM - Info</string>
-    </property>
-    <property name="sizeGripEnabled">
-        <bool>false</bool>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout9</cstring>
-            </property>
-            <vbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="QTextEdit">
-                    <property name="name">
-                        <cstring>textEdit1</cstring>
-                    </property>
-                    <property name="sizePolicy">
-                        <sizepolicy>
-                            <hsizetype>7</hsizetype>
-                            <vsizetype>7</vsizetype>
-                            <horstretch>0</horstretch>
-                            <verstretch>0</verstretch>
-                        </sizepolicy>
-                    </property>
-                </widget>
-                <widget class="QLayoutWidget">
-                    <property name="name">
-                        <cstring>layout8</cstring>
-                    </property>
-                    <hbox>
-                        <property name="name">
-                            <cstring>unnamed</cstring>
-                        </property>
-                        <spacer>
-                            <property name="name">
-                                <cstring>spacer4</cstring>
-                            </property>
-                            <property name="orientation">
-                                <enum>Horizontal</enum>
-                            </property>
-                            <property name="sizeType">
-                                <enum>Expanding</enum>
-                            </property>
-                            <property name="sizeHint">
-                                <size>
-                                    <width>141</width>
-                                    <height>21</height>
-                                </size>
-                            </property>
-                        </spacer>
-                        <widget class="QPushButton">
-                            <property name="name">
-                                <cstring>pushButton4</cstring>
-                            </property>
-                            <property name="sizePolicy">
-                                <sizepolicy>
-                                    <hsizetype>7</hsizetype>
-                                    <vsizetype>0</vsizetype>
-                                    <horstretch>0</horstretch>
-                                    <verstretch>0</verstretch>
-                                </sizepolicy>
-                            </property>
-                            <property name="maximumSize">
-                                <size>
-                                    <width>150</width>
-                                    <height>32767</height>
-                                </size>
-                            </property>
-                            <property name="text">
-                                <string>Close</string>
-                            </property>
-                            <property name="default">
-                                <bool>true</bool>
-                            </property>
-                        </widget>
-                    </hbox>
-                </widget>
-            </vbox>
-        </widget>
-    </vbox>
-</widget>
-<connections>
-    <connection>
-        <sender>pushButton4</sender>
-        <signal>clicked()</signal>
-        <receiver>ShowTextDialog</receiver>
-        <slot>accept()</slot>
-    </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in implementation">showtextdialog.ui.h</include>
-</includes>
-<slots>
-    <slot access="private">init()</slot>
-    <slot>setCaption( const QString &amp; t )</slot>
-    <slot>setText( const QString &amp; t )</slot>
-    <slot>append( const QString &amp; t )</slot>
-</slots>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+<ui version="4.0" >
+ <author></author>
+ <comment></comment>
+ <exportmacro></exportmacro>
+ <class>ShowTextDialog</class>
+ <widget class="QDialog" name="ShowTextDialog" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>689</width>
+    <height>370</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Dialog</string>
+  </property>
+  <layout class="QGridLayout" >
+   <property name="margin" >
+    <number>9</number>
+   </property>
+   <property name="spacing" >
+    <number>6</number>
+   </property>
+   <item row="0" column="0" >
+    <widget class="QTextEdit" name="textEdit" />
+   </item>
+   <item row="1" column="0" >
+    <layout class="QHBoxLayout" >
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>131</width>
+         <height>31</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="okButton" >
+       <property name="text" >
+        <string>Close</string>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <pixmapfunction></pixmapfunction>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>okButton</sender>
+   <signal>clicked()</signal>
+   <receiver>ShowTextDialog</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>278</x>
+     <y>253</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>96</x>
+     <y>254</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>