QGIS/python/plugins/fTools/tools/frmRegPoints.ui
jef 6c79e997f7 new fix for #2836
git-svn-id: http://svn.osgeo.org/qgis/trunk@13876 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-02 15:01:11 +00:00

402 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>373</width>
<height>451</height>
</rect>
</property>
<property name="windowTitle">
<string>Generate Regular Points</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Area</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0" colspan="4">
<widget class="QRadioButton" name="rdoBoundary">
<property name="text">
<string>Input Boundary Layer</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" colspan="4">
<widget class="QComboBox" name="inShape"/>
</item>
<item row="2" column="0" colspan="4">
<widget class="QRadioButton" name="rdoCoordinates">
<property name="text">
<string>Input Coordinates</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>X Min</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="xMin">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Y Min</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QLineEdit" name="yMin">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>X Max</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="xMax">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Y Max</string>
</property>
</widget>
</item>
<item row="4" column="3">
<widget class="QLineEdit" name="yMax">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QGroupBox" name="gridBox">
<property name="title">
<string>Grid Spacing</string>
</property>
<layout class="QGridLayout">
<item row="0" column="0" colspan="2">
<layout class="QHBoxLayout">
<item>
<widget class="QRadioButton" name="rdoSpacing">
<property name="text">
<string>Use this point spacing</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spnSpacing">
<property name="decimals">
<number>4</number>
</property>
<property name="minimum">
<double>0.000100000000000</double>
</property>
<property name="maximum">
<double>1000000000.000000000000000</double>
</property>
<property name="singleStep">
<double>0.000100000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0" colspan="2">
<layout class="QHBoxLayout">
<item>
<widget class="QRadioButton" name="rdoNumber">
<property name="text">
<string>Use this number of points</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spnNumber">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>9999</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="chkRandom">
<property name="text">
<string>Apply random offset to point spacing</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QDoubleSpinBox" name="spnInset">
<property name="decimals">
<number>4</number>
</property>
<property name="maximum">
<double>9999.000000000000000</double>
</property>
<property name="singleStep">
<double>0.000100000000000</double>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Initial inset from corner (LH side)</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Output Shapefile</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2">
<layout class="QHBoxLayout">
<item>
<widget class="QLineEdit" name="outShape">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolOut">
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="4" column="0">
<widget class="QProgressBar" name="progressBar">
<property name="value">
<number>0</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="textVisible">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" 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>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox_2</sender>
<signal>accepted()</signal>
<receiver>Dialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>142</x>
<y>444</y>
</hint>
<hint type="destinationlabel">
<x>215</x>
<y>290</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox_2</sender>
<signal>rejected()</signal>
<receiver>Dialog</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>68</x>
<y>444</y>
</hint>
<hint type="destinationlabel">
<x>132</x>
<y>239</y>
</hint>
</hints>
</connection>
<connection>
<sender>rdoBoundary</sender>
<signal>toggled(bool)</signal>
<receiver>inShape</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>105</x>
<y>26</y>
</hint>
<hint type="destinationlabel">
<x>103</x>
<y>51</y>
</hint>
</hints>
</connection>
<connection>
<sender>rdoCoordinates</sender>
<signal>toggled(bool)</signal>
<receiver>xMin</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>37</x>
<y>84</y>
</hint>
<hint type="destinationlabel">
<x>58</x>
<y>115</y>
</hint>
</hints>
</connection>
<connection>
<sender>rdoCoordinates</sender>
<signal>toggled(bool)</signal>
<receiver>xMax</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>19</x>
<y>82</y>
</hint>
<hint type="destinationlabel">
<x>69</x>
<y>146</y>
</hint>
</hints>
</connection>
<connection>
<sender>rdoCoordinates</sender>
<signal>toggled(bool)</signal>
<receiver>yMin</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>82</x>
<y>83</y>
</hint>
<hint type="destinationlabel">
<x>238</x>
<y>110</y>
</hint>
</hints>
</connection>
<connection>
<sender>rdoCoordinates</sender>
<signal>toggled(bool)</signal>
<receiver>yMax</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>58</x>
<y>88</y>
</hint>
<hint type="destinationlabel">
<x>239</x>
<y>149</y>
</hint>
</hints>
</connection>
<connection>
<sender>rdoSpacing</sender>
<signal>toggled(bool)</signal>
<receiver>spnSpacing</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>107</x>
<y>207</y>
</hint>
<hint type="destinationlabel">
<x>213</x>
<y>210</y>
</hint>
</hints>
</connection>
<connection>
<sender>rdoNumber</sender>
<signal>toggled(bool)</signal>
<receiver>spnNumber</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>100</x>
<y>244</y>
</hint>
<hint type="destinationlabel">
<x>209</x>
<y>243</y>
</hint>
</hints>
</connection>
</connections>
</ui>