minor fixes in gui fTools

This commit is contained in:
slarosa 2012-05-25 00:05:57 +02:00
parent 860f66d3b4
commit 474e04b027
2 changed files with 142 additions and 150 deletions

View File

@ -19,8 +19,8 @@
<property name="sizeGripEnabled"> <property name="sizeGripEnabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item row="0" column="0" colspan="3"> <item>
<layout class="QVBoxLayout"> <layout class="QVBoxLayout">
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
@ -34,7 +34,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0" colspan="3"> <item>
<layout class="QVBoxLayout"> <layout class="QVBoxLayout">
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
@ -48,28 +48,24 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="2" column="0" colspan="3"> <item>
<widget class="QGroupBox" name="groupBox_2"> <widget class="QGroupBox" name="groupBox_2">
<property name="title"> <property name="title">
<string>Attribute Summary</string> <string>Attribute Summary</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<item row="0" column="0" colspan="7"> <item row="2" column="6">
<widget class="QRadioButton" name="rdoFirst"> <spacer>
<property name="text"> <property name="orientation">
<string>Take attributes of first located feature</string> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="checked"> <property name="sizeHint" stdset="0">
<bool>true</bool> <size>
<width>40</width>
<height>20</height>
</size>
</property> </property>
</widget> </spacer>
</item>
<item row="1" column="0" colspan="7">
<widget class="QRadioButton" name="rdoSummary">
<property name="text">
<string>Take summary of intersecting features</string>
</property>
</widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<spacer> <spacer>
@ -97,6 +93,13 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="7">
<widget class="QRadioButton" name="rdoSummary">
<property name="text">
<string>Take summary of intersecting features</string>
</property>
</widget>
</item>
<item row="2" column="2"> <item row="2" column="2">
<widget class="QCheckBox" name="chkMin"> <widget class="QCheckBox" name="chkMin">
<property name="enabled"> <property name="enabled">
@ -107,16 +110,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="3">
<widget class="QCheckBox" name="chkMax">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Max</string>
</property>
</widget>
</item>
<item row="2" column="4"> <item row="2" column="4">
<widget class="QCheckBox" name="chkSum"> <widget class="QCheckBox" name="chkSum">
<property name="enabled"> <property name="enabled">
@ -127,19 +120,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="6">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="5"> <item row="2" column="5">
<widget class="QCheckBox" name="chkMedian"> <widget class="QCheckBox" name="chkMedian">
<property name="enabled"> <property name="enabled">
@ -150,10 +130,30 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="3">
<widget class="QCheckBox" name="chkMax">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Max</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="7">
<widget class="QRadioButton" name="rdoFirst">
<property name="text">
<string>Take attributes of first located feature</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="3" column="0" colspan="3"> <item>
<layout class="QVBoxLayout"> <layout class="QVBoxLayout">
<item> <item>
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
@ -182,7 +182,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="4" column="0" colspan="3"> <item>
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="groupBox_3">
<property name="title"> <property name="title">
<string>Output table</string> <string>Output table</string>
@ -208,41 +208,32 @@
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="5" column="0" rowspan="3" colspan="3"> <item>
<spacer> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="orientation"> <item>
<enum>Qt::Vertical</enum> <widget class="QProgressBar" name="progressBar">
</property> <property name="value">
<property name="sizeHint" stdset="0"> <number>24</number>
<size> </property>
<width>359</width> <property name="alignment">
<height>16</height> <set>Qt::AlignCenter</set>
</size> </property>
</property> <property name="textVisible">
</spacer> <bool>true</bool>
</item> </property>
<item row="7" column="1"> </widget>
<widget class="QProgressBar" name="progressBar"> </item>
<property name="value"> <item>
<number>24</number> <widget class="QDialogButtonBox" name="buttonBox_2">
</property> <property name="orientation">
<property name="alignment"> <enum>Qt::Horizontal</enum>
<set>Qt::AlignCenter</set> </property>
</property> <property name="standardButtons">
<property name="textVisible"> <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
<bool>true</bool> </property>
</property> </widget>
</widget> </item>
</item> </layout>
<item row="6" column="2" rowspan="2">
<widget class="QDialogButtonBox" name="buttonBox_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>

View File

@ -1,75 +1,99 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class> <class>Dialog</class>
<widget class="QDialog" name="Dialog" > <widget class="QDialog" name="Dialog">
<property name="windowModality" > <property name="windowModality">
<enum>Qt::NonModal</enum> <enum>Qt::NonModal</enum>
</property> </property>
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>374</width> <width>378</width>
<height>306</height> <height>239</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Vector Split</string> <string>Vector Split</string>
</property> </property>
<property name="sizeGripEnabled" > <property name="sizeGripEnabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<layout class="QGridLayout" name="gridLayout" > <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2" > <item row="5" column="0" colspan="2">
<widget class="QLabel" name="label_3" > <layout class="QHBoxLayout">
<property name="text" >
<string>Input vector layer</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QComboBox" name="inShape" />
</item>
<item row="2" column="0" colspan="2" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Unique ID field</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QComboBox" name="inField" />
</item>
<item row="4" column="0" colspan="2" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Output folder</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2" >
<layout class="QHBoxLayout" >
<item> <item>
<widget class="QLineEdit" name="outShape" > <widget class="QLineEdit" name="outShape">
<property name="readOnly" > <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QToolButton" name="toolOut" > <widget class="QToolButton" name="toolOut">
<property name="text" > <property name="text">
<string>Browse</string> <string>Browse</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="6" column="0" > <item row="2" column="0" colspan="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Unique ID field</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QComboBox" name="inField"/>
</item>
<item row="1" column="0" colspan="2">
<widget class="QComboBox" name="inShape"/>
</item>
<item row="4" column="0" colspan="2">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Output folder</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Input vector layer</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QProgressBar" name="progressBar">
<property name="value">
<number>0</number>
</property>
<property name="alignment">
<set>Qt::AlignHCenter</set>
</property>
<property name="textVisible">
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QDialogButtonBox" name="buttonBox_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
<item row="6" column="0">
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeHint" stdset="0" > <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>40</height> <height>40</height>
@ -77,29 +101,6 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="7" column="0" >
<widget class="QProgressBar" name="progressBar" >
<property name="value" >
<number>0</number>
</property>
<property name="alignment" >
<set>Qt::AlignHCenter</set>
</property>
<property name="textVisible" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="7" column="1" >
<widget class="QDialogButtonBox" name="buttonBox_2" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<resources/> <resources/>
@ -110,11 +111,11 @@
<receiver>Dialog</receiver> <receiver>Dialog</receiver>
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>124</x> <x>124</x>
<y>355</y> <y>355</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>215</x> <x>215</x>
<y>290</y> <y>290</y>
</hint> </hint>
@ -126,11 +127,11 @@
<receiver>Dialog</receiver> <receiver>Dialog</receiver>
<slot>close()</slot> <slot>close()</slot>
<hints> <hints>
<hint type="sourcelabel" > <hint type="sourcelabel">
<x>50</x> <x>50</x>
<y>350</y> <y>350</y>
</hint> </hint>
<hint type="destinationlabel" > <hint type="destinationlabel">
<x>132</x> <x>132</x>
<y>239</y> <y>239</y>
</hint> </hint>