changeset 166:d787cbf88655

Modified the about dialog git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@369 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Sat, 02 Jun 2007 17:54:47 +0000
parents 6f8956c75d8f
children 0a49bbb59ad7
files src/aboutdialog.cpp src/aboutdialog.ui
diffstat 2 files changed, 10 insertions(+), 41 deletions(-) [+]
line wrap: on
line diff
--- a/src/aboutdialog.cpp	Sat Jun 02 17:54:17 2007 +0000
+++ b/src/aboutdialog.cpp	Sat Jun 02 17:54:47 2007 +0000
@@ -47,8 +47,8 @@
     library.  If this is what you want to do, use the GNU Library General<br />Public License instead of this License.<br /><br />-------------------------------------------------------------------------<br /></p></body></html>";
     textEdit->setHtml(gplText);
 	*/
-	textEdit->hide();
-    label_2->setText( "The System Locale is : " + QLocale::system().name() );
+	//textEdit->hide();
+    //label_2->setText( "The System Locale is : " + QLocale::system().name() );
     connect( textBrowser, SIGNAL(anchorClicked (const QUrl)), this, SLOT(linkClicked(const QUrl)) );
     textBrowserSavedContent = textBrowser->toHtml();
 
@@ -79,7 +79,7 @@
 		
 		//TODO: Setting the whole GPL here slows down the program too much. Should write something else.
         //textEdit->setHtml(gplText);
-        label_2->setText( "The System Locale is : " + QLocale::system().name() );
+        //label_2->setText( "The System Locale is : " + QLocale::system().name() );
 
         QString versionString = textBrowser_2->toHtml();
         versionString = versionString.arg(version).arg(revision).arg(buildDate);
--- a/src/aboutdialog.ui	Sat Jun 02 17:54:17 2007 +0000
+++ b/src/aboutdialog.ui	Sat Jun 02 17:54:47 2007 +0000
@@ -6,13 +6,13 @@
     <x>0</x>
     <y>0</y>
     <width>588</width>
-    <height>499</height>
+    <height>333</height>
    </rect>
   </property>
   <property name="sizePolicy" >
    <sizepolicy>
     <hsizetype>0</hsizetype>
-    <vsizetype>1</vsizetype>
+    <vsizetype>5</vsizetype>
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
@@ -20,13 +20,13 @@
   <property name="minimumSize" >
    <size>
     <width>588</width>
-    <height>499</height>
+    <height>333</height>
    </size>
   </property>
   <property name="maximumSize" >
    <size>
-    <width>588</width>
-    <height>16777215</height>
+    <width>16777215</width>
+    <height>333</height>
    </size>
   </property>
   <property name="windowTitle" >
@@ -154,44 +154,13 @@
     </widget>
    </item>
    <item>
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" >
-      <size>
-       <width>20</width>
-       <height>40</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item>
     <widget class="QLabel" name="label_2" >
      <property name="text" >
-      <string>License:</string>
+      <string>License: UniveralIndentGui is released under the GPL 2. For details read the included file LICENSE.GPL visit http://www.gnu.org/licenses/gpl.html</string>
      </property>
-    </widget>
-   </item>
-   <item>
-    <widget class="QTextEdit" name="textEdit" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>7</hsizetype>
-       <vsizetype>7</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="readOnly" >
+     <property name="wordWrap" >
       <bool>true</bool>
      </property>
-     <property name="html" >
-      <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:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">
-&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:'Courier New'; font-size:8pt;">&lt;/p>&lt;/body>&lt;/html></string>
-     </property>
     </widget>
    </item>
    <item>