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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Sep 27 05:32:30 EDT 2009


Author: jef
Date: 2009-09-27 05:32:30 -0400 (Sun, 27 Sep 2009)
New Revision: 11720

Added:
   trunk/qgis/src/ui/qgsaddattrdialogbase.ui
Removed:
   trunk/qgis/src/ui/qgsgeomtypedialogbase.ui
Log:
fix r11719

Added: trunk/qgis/src/ui/qgsaddattrdialogbase.ui
===================================================================
--- trunk/qgis/src/ui/qgsaddattrdialogbase.ui	                        (rev 0)
+++ trunk/qgis/src/ui/qgsaddattrdialogbase.ui	2009-09-27 09:32:30 UTC (rev 11720)
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>QgsAddAttrDialogBase</class>
+ <widget class="QDialog" name="QgsAddAttrDialogBase">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>356</width>
+    <height>207</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Add Attribute</string>
+  </property>
+  <property name="modal">
+   <bool>true</bool>
+  </property>
+  <layout class="QGridLayout" name="gridLayout">
+   <item row="0" column="0">
+    <widget class="QLabel" name="textLabel1">
+     <property name="text">
+      <string>Name:</string>
+     </property>
+     <property name="buddy">
+      <cstring>mNameEdit</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="0" column="1">
+    <widget class="QLineEdit" name="mNameEdit"/>
+   </item>
+   <item row="1" column="0">
+    <widget class="QLabel" name="textLabel1_2">
+     <property name="text">
+      <string>Comment:</string>
+     </property>
+     <property name="buddy">
+      <cstring>mCommentEdit</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="1">
+    <widget class="QLineEdit" name="mCommentEdit"/>
+   </item>
+   <item row="2" column="0">
+    <widget class="QLabel" name="textLabel2">
+     <property name="text">
+      <string>Type:</string>
+     </property>
+     <property name="buddy">
+      <cstring>mTypeBox</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="1">
+    <widget class="QComboBox" name="mTypeBox"/>
+   </item>
+   <item row="3" column="1">
+    <widget class="QLabel" name="mTypeName">
+     <property name="text">
+      <string>Type:</string>
+     </property>
+     <property name="buddy">
+      <cstring>mTypeBox</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="4" column="0">
+    <widget class="QLabel" name="textLabel2_2">
+     <property name="text">
+      <string>Width</string>
+     </property>
+     <property name="buddy">
+      <cstring>mLength</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="4" column="1">
+    <widget class="QSpinBox" name="mLength"/>
+   </item>
+   <item row="5" column="0">
+    <widget class="QLabel" name="textLabel2_3">
+     <property name="text">
+      <string>Precision</string>
+     </property>
+     <property name="buddy">
+      <cstring>mPrec</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="5" column="1">
+    <widget class="QSpinBox" name="mPrec"/>
+   </item>
+   <item row="6" column="1">
+    <widget class="QDialogButtonBox" name="buttonBox">
+     <property name="standardButtons">
+      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+     </property>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <tabstops>
+  <tabstop>mNameEdit</tabstop>
+  <tabstop>mTypeBox</tabstop>
+ </tabstops>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>accepted()</signal>
+   <receiver>QgsAddAttrDialogBase</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>260</x>
+     <y>109</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>307</x>
+     <y>68</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>rejected()</signal>
+   <receiver>QgsAddAttrDialogBase</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>196</x>
+     <y>106</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>6</x>
+     <y>77</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>

Deleted: trunk/qgis/src/ui/qgsgeomtypedialogbase.ui
===================================================================
--- trunk/qgis/src/ui/qgsgeomtypedialogbase.ui	2009-09-27 07:55:01 UTC (rev 11719)
+++ trunk/qgis/src/ui/qgsgeomtypedialogbase.ui	2009-09-27 09:32:30 UTC (rev 11720)
@@ -1,273 +0,0 @@
-<ui version="4.0" >
- <class>QgsGeomTypeDialogBase</class>
- <widget class="QDialog" name="QgsGeomTypeDialogBase" >
-  <property name="geometry" >
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>364</width>
-    <height>466</height>
-   </rect>
-  </property>
-  <property name="windowTitle" >
-   <string>New Vector Layer</string>
-  </property>
-  <property name="modal" >
-   <bool>true</bool>
-  </property>
-  <layout class="QGridLayout" >
-   <item row="0" column="0" >
-    <widget class="QLabel" name="mFileFormatLabel" >
-     <property name="enabled" >
-      <bool>true</bool>
-     </property>
-     <property name="text" >
-      <string>File format</string>
-     </property>
-     <property name="buddy" >
-      <cstring>mFileFormatComboBox</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="1" colspan="2" >
-    <widget class="QComboBox" name="mFileFormatComboBox" >
-     <property name="enabled" >
-      <bool>false</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0" colspan="3" >
-    <widget class="QGroupBox" name="buttonGroup1" >
-     <property name="title" >
-      <string>Type</string>
-     </property>
-     <layout class="QGridLayout" >
-      <item row="0" column="0" >
-       <widget class="QRadioButton" name="mPointRadioButton" >
-        <property name="text" >
-         <string>Point</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1" >
-       <widget class="QRadioButton" name="mLineRadioButton" >
-        <property name="text" >
-         <string>Line</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="2" >
-       <widget class="QRadioButton" name="mPolygonRadioButton" >
-        <property name="text" >
-         <string>Polygon</string>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="2" column="0" colspan="3" >
-    <widget class="QGroupBox" name="groupBox" >
-     <property name="title" >
-      <string>Attributes</string>
-     </property>
-     <layout class="QGridLayout" >
-      <item row="0" column="0" >
-       <widget class="QLabel" name="textLabel1" >
-        <property name="text" >
-         <string>Name</string>
-        </property>
-        <property name="buddy" >
-         <cstring>mNameEdit</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1" colspan="3" >
-       <widget class="QLineEdit" name="mNameEdit" />
-      </item>
-      <item row="1" column="0" >
-       <widget class="QLabel" name="textLabel2" >
-        <property name="text" >
-         <string>Type</string>
-        </property>
-        <property name="buddy" >
-         <cstring>mTypeBox</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1" colspan="3" >
-       <widget class="QComboBox" name="mTypeBox" />
-      </item>
-      <item row="2" column="0" >
-       <widget class="QLabel" name="label" >
-        <property name="text" >
-         <string>Width</string>
-        </property>
-        <property name="buddy" >
-         <cstring>mWidth</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="1" >
-       <widget class="QLineEdit" name="mWidth" />
-      </item>
-      <item row="2" column="2" >
-       <widget class="QLabel" name="label_2" >
-        <property name="text" >
-         <string>Precision</string>
-        </property>
-        <property name="buddy" >
-         <cstring>mPrecision</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="2" column="3" >
-       <widget class="QLineEdit" name="mPrecision" >
-        <property name="sizePolicy" >
-         <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="3" column="0" colspan="2" >
-    <widget class="QToolButton" name="mRemoveAttributeButton" >
-     <property name="toolTip" >
-      <string>Delete selected attribute</string>
-     </property>
-     <property name="text" >
-      <string>Removed selected item below</string>
-     </property>
-     <property name="icon" >
-      <iconset>../../images/themes/default/mActionDeleteAttribute.png</iconset>
-     </property>
-     <property name="toolButtonStyle" >
-      <enum>Qt::ToolButtonTextBesideIcon</enum>
-     </property>
-    </widget>
-   </item>
-   <item row="3" column="2" >
-    <widget class="QToolButton" name="mAddAttributeButton" >
-     <property name="toolTip" >
-      <string>Add attribute</string>
-     </property>
-     <property name="layoutDirection" >
-      <enum>Qt::RightToLeft</enum>
-     </property>
-     <property name="text" >
-      <string>Add to list below</string>
-     </property>
-     <property name="icon" >
-      <iconset>../../images/themes/default/mActionNewAttribute.png</iconset>
-     </property>
-     <property name="toolButtonStyle" >
-      <enum>Qt::ToolButtonTextBesideIcon</enum>
-     </property>
-    </widget>
-   </item>
-   <item row="4" column="0" colspan="3" >
-    <widget class="QTreeWidget" name="mAttributeView" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="alternatingRowColors" >
-      <bool>true</bool>
-     </property>
-     <property name="rootIsDecorated" >
-      <bool>false</bool>
-     </property>
-     <property name="columnCount" >
-      <number>4</number>
-     </property>
-     <column>
-      <property name="text" >
-       <string>Name</string>
-      </property>
-     </column>
-     <column>
-      <property name="text" >
-       <string>Type</string>
-      </property>
-     </column>
-     <column>
-      <property name="text" >
-       <string>Width</string>
-      </property>
-     </column>
-     <column>
-      <property name="text" >
-       <string>Precision</string>
-      </property>
-     </column>
-    </widget>
-   </item>
-   <item row="5" column="0" colspan="3" >
-    <widget class="QDialogButtonBox" name="buttonBox" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="standardButtons" >
-      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
-     </property>
-    </widget>
-   </item>
-  </layout>
- </widget>
- <layoutdefault spacing="6" margin="11" />
- <tabstops>
-  <tabstop>mFileFormatComboBox</tabstop>
-  <tabstop>mPointRadioButton</tabstop>
-  <tabstop>mLineRadioButton</tabstop>
-  <tabstop>mPolygonRadioButton</tabstop>
-  <tabstop>mNameEdit</tabstop>
-  <tabstop>mTypeBox</tabstop>
-  <tabstop>mWidth</tabstop>
-  <tabstop>mPrecision</tabstop>
-  <tabstop>mRemoveAttributeButton</tabstop>
-  <tabstop>mAddAttributeButton</tabstop>
-  <tabstop>mAttributeView</tabstop>
-  <tabstop>buttonBox</tabstop>
- </tabstops>
- <resources/>
- <connections>
-  <connection>
-   <sender>buttonBox</sender>
-   <signal>accepted()</signal>
-   <receiver>QgsGeomTypeDialogBase</receiver>
-   <slot>accept()</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>349</x>
-     <y>400</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>387</x>
-     <y>304</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>buttonBox</sender>
-   <signal>rejected()</signal>
-   <receiver>QgsGeomTypeDialogBase</receiver>
-   <slot>reject()</slot>
-   <hints>
-    <hint type="sourcelabel" >
-     <x>275</x>
-     <y>400</y>
-    </hint>
-    <hint type="destinationlabel" >
-     <x>242</x>
-     <y>308</y>
-    </hint>
-   </hints>
-  </connection>
- </connections>
-</ui>



More information about the QGIS-commit mailing list