[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/plugins/render/graticule
From:       Torsten Rahn <tackat () kde ! org>
Date:       2011-01-05 23:07:05
Message-ID: 20110105230705.84881AC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212161 by rahn:

- Tweak ui file.



 M  +103 -121  GraticuleConfigWidget.ui  


--- trunk/KDE/kdeedu/marble/src/plugins/render/graticule/GraticuleConfigWidget.ui #1212160:1212161
@@ -13,110 +13,15 @@
   <property name="windowTitle">
    <string>Coordinate Grid Plugin</string>
   </property>
-  <widget class="QDialogButtonBox" name="m_buttonBox">
-   <property name="geometry">
-    <rect>
-     <x>-40</x>
-     <y>200</y>
-     <width>341</width>
-     <height>32</height>
-    </rect>
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <widget class="QGroupBox" name="groupBox">
+     <property name="title">
+      <string>Colors</string>
    </property>
-   <property name="orientation">
-    <enum>Qt::Horizontal</enum>
-   </property>
-   <property name="standardButtons">
-    <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
-   </property>
-   <property name="centerButtons">
-    <bool>false</bool>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="gridPushButton">
-   <property name="geometry">
-    <rect>
-     <x>100</x>
-     <y>30</y>
-     <width>31</width>
-     <height>31</height>
-    </rect>
-   </property>
-   <property name="palette">
-    <palette>
-     <active>
-      <colorrole role="Button">
-       <brush brushstyle="SolidPattern">
-        <color alpha="255">
-         <red>232</red>
-         <green>231</green>
-         <blue>230</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </active>
-     <inactive>
-      <colorrole role="Button">
-       <brush brushstyle="SolidPattern">
-        <color alpha="255">
-         <red>232</red>
-         <green>231</green>
-         <blue>230</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </inactive>
-     <disabled>
-      <colorrole role="Button">
-       <brush brushstyle="SolidPattern">
-        <color alpha="255">
-         <red>232</red>
-         <green>231</green>
-         <blue>230</blue>
-        </color>
-       </brush>
-      </colorrole>
-     </disabled>
-    </palette>
-   </property>
-   <property name="text">
-    <string/>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="tropicsPushButton">
-   <property name="geometry">
-    <rect>
-     <x>100</x>
-     <y>80</y>
-     <width>31</width>
-     <height>31</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string/>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="equatorPushButton">
-   <property name="geometry">
-    <rect>
-     <x>100</x>
-     <y>130</y>
-     <width>31</width>
-     <height>31</height>
-    </rect>
-   </property>
-   <property name="text">
-    <string/>
-   </property>
-  </widget>
+     <layout class="QFormLayout" name="formLayout">
+      <item row="0" column="0">
   <widget class="QLabel" name="label">
-   <property name="geometry">
-    <rect>
-     <x>140</x>
-     <y>30</y>
-     <width>111</width>
-     <height>31</height>
-    </rect>
-   </property>
    <property name="palette">
     <palette>
      <active>
@@ -538,18 +443,56 @@
     </font>
    </property>
    <property name="text">
-    <string>Grid Color</string>
+         <string>Grid</string>
    </property>
   </widget>
-  <widget class="QLabel" name="label_2">
-   <property name="geometry">
-    <rect>
-     <x>140</x>
-     <y>80</y>
-     <width>111</width>
-     <height>31</height>
-    </rect>
+      </item>
+      <item row="0" column="1">
+       <widget class="QPushButton" name="gridPushButton">
+        <property name="palette">
+         <palette>
+          <active>
+           <colorrole role="Button">
+            <brush brushstyle="SolidPattern">
+             <color alpha="255">
+              <red>232</red>
+              <green>231</green>
+              <blue>230</blue>
+             </color>
+            </brush>
+           </colorrole>
+          </active>
+          <inactive>
+           <colorrole role="Button">
+            <brush brushstyle="SolidPattern">
+             <color alpha="255">
+              <red>232</red>
+              <green>231</green>
+              <blue>230</blue>
+             </color>
+            </brush>
+           </colorrole>
+          </inactive>
+          <disabled>
+           <colorrole role="Button">
+            <brush brushstyle="SolidPattern">
+             <color alpha="255">
+              <red>232</red>
+              <green>231</green>
+              <blue>230</blue>
+             </color>
+            </brush>
+           </colorrole>
+          </disabled>
+         </palette>
    </property>
+        <property name="text">
+         <string/>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0">
+       <widget class="QLabel" name="label_2">
    <property name="palette">
     <palette>
      <active>
@@ -971,18 +914,19 @@
     </font>
    </property>
    <property name="text">
-    <string>Tropics Color</string>
+         <string>Tropics</string>
    </property>
   </widget>
-  <widget class="QLabel" name="label_3">
-   <property name="geometry">
-    <rect>
-     <x>140</x>
-     <y>130</y>
-     <width>111</width>
-     <height>31</height>
-    </rect>
+      </item>
+      <item row="1" column="1">
+       <widget class="QPushButton" name="tropicsPushButton">
+        <property name="text">
+         <string/>
    </property>
+       </widget>
+      </item>
+      <item row="2" column="0">
+       <widget class="QLabel" name="label_3">
    <property name="palette">
     <palette>
      <active>
@@ -1404,10 +1348,48 @@
     </font>
    </property>
    <property name="text">
-    <string>Equator Color</string>
+         <string>Equator</string>
    </property>
   </widget>
+      </item>
+      <item row="2" column="1">
+       <widget class="QPushButton" name="equatorPushButton">
+        <property name="text">
+         <string/>
+        </property>
  </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <spacer name="verticalSpacer">
+     <property name="orientation">
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" stdset="0">
+      <size>
+       <width>20</width>
+       <height>94</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item>
+    <widget class="QDialogButtonBox" name="m_buttonBox">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
+     </property>
+     <property name="standardButtons">
+      <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+     </property>
+     <property name="centerButtons">
+      <bool>false</bool>
+     </property>
+    </widget>
+   </item>
+  </layout>
+ </widget>
  <resources/>
  <connections>
   <connection>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic