[QGIS Commit] r12111 - trunk/qgis/src/ui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Nov 14 17:39:10 EST 2009


Author: timlinux
Date: 2009-11-14 17:39:07 -0500 (Sat, 14 Nov 2009)
New Revision: 12111

Modified:
   trunk/qgis/src/ui/qgsattributeactiondialogbase.ui
Log:
Layout cleanups for actions widget

Modified: trunk/qgis/src/ui/qgsattributeactiondialogbase.ui
===================================================================
--- trunk/qgis/src/ui/qgsattributeactiondialogbase.ui	2009-11-14 21:45:08 UTC (rev 12110)
+++ trunk/qgis/src/ui/qgsattributeactiondialogbase.ui	2009-11-14 22:39:07 UTC (rev 12111)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>552</width>
-    <height>432</height>
+    <width>695</width>
+    <height>449</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -19,11 +19,107 @@
   <property name="windowTitle">
    <string>Attribute Actions</string>
   </property>
-  <layout class="QGridLayout" name="gridLayout_3">
+  <layout class="QGridLayout" name="gridLayout_2">
    <property name="margin">
     <number>0</number>
    </property>
    <item row="0" column="0">
+    <widget class="QGroupBox" name="groupBox_2">
+     <property name="title">
+      <string>Action list</string>
+     </property>
+     <layout class="QGridLayout" name="gridLayout_3">
+      <item row="0" column="0" colspan="5">
+       <widget class="QTableWidget" name="attributeActionTable">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="whatsThis">
+         <string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
+        </property>
+        <property name="selectionMode">
+         <enum>QAbstractItemView::SingleSelection</enum>
+        </property>
+        <property name="selectionBehavior">
+         <enum>QAbstractItemView::SelectRows</enum>
+        </property>
+        <property name="columnCount">
+         <number>3</number>
+        </property>
+        <column>
+         <property name="text">
+          <string>Name</string>
+         </property>
+        </column>
+        <column>
+         <property name="text">
+          <string>Action</string>
+         </property>
+        </column>
+        <column>
+         <property name="text">
+          <string>Capture</string>
+         </property>
+        </column>
+       </widget>
+      </item>
+      <item row="1" column="0">
+       <widget class="QPushButton" name="insertButton">
+        <property name="toolTip">
+         <string>Inserts the action into the list above</string>
+        </property>
+        <property name="text">
+         <string>Insert action</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1">
+       <widget class="QPushButton" name="updateButton">
+        <property name="toolTip">
+         <string>Update the selected action</string>
+        </property>
+        <property name="text">
+         <string>Update action</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="2">
+       <widget class="QPushButton" name="moveUpButton">
+        <property name="toolTip">
+         <string>Move the selected action up</string>
+        </property>
+        <property name="text">
+         <string>Move up</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="3">
+       <widget class="QPushButton" name="moveDownButton">
+        <property name="toolTip">
+         <string>Move the selected action down</string>
+        </property>
+        <property name="text">
+         <string>Move down</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="4">
+       <widget class="QPushButton" name="removeButton">
+        <property name="toolTip">
+         <string>Remove the selected action</string>
+        </property>
+        <property name="text">
+         <string>Remove</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="1" column="0">
     <widget class="QGroupBox" name="groupBox">
      <property name="title">
       <string>Action properties</string>
@@ -132,150 +228,22 @@
      </layout>
     </widget>
    </item>
-   <item row="1" column="0">
-    <widget class="QGroupBox" name="groupBox_2">
-     <property name="title">
-      <string>Action list</string>
-     </property>
-     <layout class="QGridLayout" name="gridLayout_2">
-      <item row="0" column="0" rowspan="7">
-       <widget class="QTableWidget" name="attributeActionTable">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="whatsThis">
-         <string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
-        </property>
-        <property name="selectionMode">
-         <enum>QAbstractItemView::SingleSelection</enum>
-        </property>
-        <property name="selectionBehavior">
-         <enum>QAbstractItemView::SelectRows</enum>
-        </property>
-        <property name="columnCount">
-         <number>3</number>
-        </property>
-        <column>
-         <property name="text">
-          <string>Name</string>
-         </property>
-        </column>
-        <column>
-         <property name="text">
-          <string>Action</string>
-         </property>
-        </column>
-        <column>
-         <property name="text">
-          <string>Capture</string>
-         </property>
-        </column>
-       </widget>
-      </item>
-      <item row="0" column="1">
-       <widget class="QPushButton" name="insertButton">
-        <property name="toolTip">
-         <string>Inserts the action into the list above</string>
-        </property>
-        <property name="text">
-         <string>Insert action</string>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1">
-       <widget class="QPushButton" name="updateButton">
-        <property name="toolTip">
-         <string>Update the selected action</string>
-        </property>
-        <property name="text">
-         <string>Update action</string>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="1">
-       <spacer>
-        <property name="orientation">
-         <enum>Qt::Vertical</enum>
-        </property>
-        <property name="sizeType">
-         <enum>QSizePolicy::Expanding</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>85</width>
-          <height>35</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
-      <item row="3" column="1">
-       <widget class="QPushButton" name="moveUpButton">
-        <property name="toolTip">
-         <string>Move the selected action up</string>
-        </property>
-        <property name="text">
-         <string>Move up</string>
-        </property>
-       </widget>
-      </item>
-      <item row="4" column="1">
-       <widget class="QPushButton" name="moveDownButton">
-        <property name="toolTip">
-         <string>Move the selected action down</string>
-        </property>
-        <property name="text">
-         <string>Move down</string>
-        </property>
-       </widget>
-      </item>
-      <item row="5" column="1">
-       <spacer>
-        <property name="orientation">
-         <enum>Qt::Vertical</enum>
-        </property>
-        <property name="sizeType">
-         <enum>QSizePolicy::Expanding</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>85</width>
-          <height>41</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
-      <item row="6" column="1">
-       <widget class="QPushButton" name="removeButton">
-        <property name="toolTip">
-         <string>Remove the selected action</string>
-        </property>
-        <property name="text">
-         <string>Remove</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
   </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <tabstops>
-  <tabstop>actionName</tabstop>
-  <tabstop>actionAction</tabstop>
-  <tabstop>browseButton</tabstop>
-  <tabstop>captureCB</tabstop>
-  <tabstop>fieldComboBox</tabstop>
-  <tabstop>insertFieldButton</tabstop>
   <tabstop>attributeActionTable</tabstop>
   <tabstop>insertButton</tabstop>
   <tabstop>updateButton</tabstop>
   <tabstop>moveUpButton</tabstop>
   <tabstop>moveDownButton</tabstop>
   <tabstop>removeButton</tabstop>
+  <tabstop>actionName</tabstop>
+  <tabstop>actionAction</tabstop>
+  <tabstop>browseButton</tabstop>
+  <tabstop>captureCB</tabstop>
+  <tabstop>fieldComboBox</tabstop>
+  <tabstop>insertFieldButton</tabstop>
  </tabstops>
  <resources/>
  <connections/>



More information about the QGIS-commit mailing list