changeset 464:1f2d2953fdbb

Reformatted the about dialog to only contain one QTextEdit. Also added some more links to that text. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@701 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Mon, 26 May 2008 10:18:13 +0000
parents cd6ca4a1dc2b
children eb09281af924
files src/aboutdialog.ui
diffstat 1 files changed, 8 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/src/aboutdialog.ui	Mon May 26 09:47:23 2008 +0000
+++ b/src/aboutdialog.ui	Mon May 26 10:18:13 2008 +0000
@@ -6,7 +6,7 @@
     <x>0</x>
     <y>0</y>
     <width>588</width>
-    <height>451</height>
+    <height>512</height>
    </rect>
   </property>
   <property name="sizePolicy" >
@@ -100,29 +100,13 @@
     </widget>
    </item>
    <item>
-    <widget class="QLabel" name="aboutLabel" >
-     <property name="text" >
-      <string>... is a cross platform compatible GUI for several code formatter, beautifier and indenter like GreatCode, AStyle (Artistic Styler), GNU Indent, BCPP and so on. Main feature is a live preview to directly see how the selected formatting option affects the source code.</string>
-     </property>
-     <property name="wordWrap" >
-      <bool>true</bool>
-     </property>
-    </widget>
-   </item>
-   <item>
     <widget class="QTextBrowser" name="authorTextBrowser" >
      <property name="sizePolicy" >
-      <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
+      <sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
-     <property name="maximumSize" >
-      <size>
-       <width>16777215</width>
-       <height>60</height>
-      </size>
-     </property>
      <property name="acceptDrops" >
       <bool>false</bool>
      </property>
@@ -136,27 +120,12 @@
       <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
 p, li { white-space: pre-wrap; }
 &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:9pt;">&lt;br />Written by : Thomas Schweitzer&lt;/p>
-&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:9pt;">Project Homepage : &lt;a href="http://universalindent.sourceforge.net">&lt;span style=" text-decoration: underline; color:#0000ff;">http://universalindent.sourceforge.net&lt;/span>&lt;/a>&lt;/p>
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:9pt;">    &lt;/p>&lt;/body>&lt;/html></string>
-     </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QLabel" name="licenseLabel" >
-     <property name="text" >
-      <string>License: UniversalIndentGui is released under the GPL 2. For details read the included file LICENSE.GPL visit http://www.gnu.org/licenses/gpl.html.</string>
-     </property>
-     <property name="wordWrap" >
-      <bool>true</bool>
-     </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QLabel" name="creditsLabel" >
-     <property name="text" >
-      <string>&#xd;
-Credits:</string>
+&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-family:'MS Shell Dlg 2';">... is a cross platform compatible GUI for several code formatter, beautifier and indenter like GreatCode, AStyle (Artistic Styler), GNU Indent, BCPP and so on. Main feature is a live preview to directly see how the selected formatting option affects the source code.&lt;/span>&lt;/p>
+&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';">&lt;br />Written by : &lt;a href="http://www.thomas-schweitzer.de">&lt;span style=" text-decoration: underline; color:#0000ff;">Thomas Schweitzer&lt;/span>&lt;/a>&lt;/p>
+&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';">Project Homepage : &lt;a href="http://universalindent.sourceforge.net">&lt;span style=" text-decoration: underline; color:#0000ff;">http://universalindent.sourceforge.net&lt;/span>&lt;/a>&lt;/p>
+&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';">License: UniversalIndentGui is released under the GPL 2. For details read the included file LICENSE.GPL visit &lt;a href="http://www.gnu.org/licenses/gpl.html">&lt;span style=" text-decoration: underline; color:#0000ff;">http://www.gnu.org/licenses/gpl.html&lt;/span>&lt;/a>.&lt;/p>
+&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';">&lt;/p>
+&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';">Credits:&lt;/p>&lt;/body>&lt;/html></string>
      </property>
     </widget>
    </item>