QGIS/plugins/delimited_text/qgsdelimitedtextpluginguibase.ui

503 lines
307 KiB
Plaintext
Raw Normal View History

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>QgsDelimitedTextPluginGuiBase</class>
<widget class="QDialog">
<property name="name">
<cstring>QgsDelimitedTextPluginGuiBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>577</width>
<height>516</height>
</rect>
</property>
<property name="paletteBackgroundColor">
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="caption">
<string>Create a Layer from a Delimited Text File</string>
</property>
<property name="icon">
<pixmap>image0</pixmap>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton" row="0" column="0">
<property name="name">
<cstring>pbnCancel_2</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QLabel" row="0" column="0" rowspan="8" colspan="2">
<property name="name">
<cstring>pixmapLabel1</cstring>
</property>
<property name="pixmap">
<pixmap>image1</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QLayoutWidget" row="7" column="2">
<property name="name">
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>pbnHelp</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
<property name="accel">
<string>Alt+H</string>
</property>
<property name="toolTip" stdset="0">
<string>Help on using the plugin</string>
</property>
<property name="whatsThis" stdset="0">
<string>Opens the Delimited Text Plugin help in your configured browser</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>pbnParse</cstring>
</property>
<property name="text">
<string>&amp;Parse</string>
</property>
<property name="accel">
<string>Alt+P</string>
</property>
<property name="toolTip" stdset="0">
<string>Parse the header row and update the X and Y field lists</string>
</property>
<property name="whatsThis" stdset="0">
<string>Parse the header row of the input file and refresh the fields in the X and Y field drop-down lists. Use this button to refresh the field lists if you change the delimiter after selecting the delimited text file.</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pbnOK</cstring>
</property>
<property name="text">
<string>&amp;Add Layer</string>
</property>
<property name="accel">
<string>Alt+A</string>
</property>
<property name="toolTip" stdset="0">
<string>Add layer using the delimiter, file, and x/y fields specified</string>
</property>
<property name="whatsThis" stdset="0">
<string>Creates a layer using the specified parameters and adds it to the map. The dialog remains open to allow adding of additional layers.</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pbnCancel</cstring>
</property>
<property name="text">
<string>&amp;Close</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
<property name="toolTip" stdset="0">
<string>Close the dialog</string>
</property>
<property name="whatsThis" stdset="0">
<string>Close the dialog without adding anything to the map.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="Line" row="1" column="1" rowspan="7" colspan="1">
<property name="name">
<cstring>line1</cstring>
</property>
<property name="frameShape">
<enum>VLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
</widget>
<widget class="QLayoutWidget" row="5" column="2">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>&lt;p align="right"&gt;X field&lt;/p&gt;</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>cmbXField</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Name of the field containing x values</string>
</property>
<property name="whatsThis" stdset="0">
<string>Name of the field containing x values. Choose a field from the list. The list is generated by parsing the header row of the delimited text file.</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>&lt;p align="right"&gt;Y field&lt;/p&gt;</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>cmbYField</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>120</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Name of the field containing y values</string>
</property>
<property name="whatsThis" stdset="0">
<string>Name of the field containing y values. Choose a field from the list. The list is generated by parsing the header row of the delimited text file.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QGroupBox" row="6" column="2">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Sample text</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QTextEdit" row="0" column="0">
<property name="name">
<cstring>txtSample</cstring>
</property>
<property name="textFormat">
<enum>PlainText</enum>
</property>
<property name="wordWrap">
<enum>NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</grid>
</widget>
<widget class="QTextEdit" row="2" column="2">
<property name="name">
<cstring>teInstructions</cstring>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name="qrichtext" content="1" /&gt;&lt;/head&gt;&lt;body style="font-size:12pt;font-family:Arial"&gt;
&lt;p style="margin-top:16px"&gt;&lt;span style="font-size:16pt;font-weight:600"&gt;Description&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Select a delimited text file containing x and y coordinates that you would like to use as a point layer and this plugin will do the job for you! &lt;/p&gt;
&lt;p&gt;Use the layer name box to specify the legend name for the new layer. Use the delimiter box to specify what delimeter is used in your file (e.g. space, commar or tab). Note this box accepts regular expressions so use \t for tab and so on. After choosing a delimiter, press the parse button an select the columns containing the x and y values for the layer.&lt;/p&gt;
&lt;/body&gt;&lt;/html&gt;
</string>
</property>
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" row="0" column="2" rowspan="2" colspan="1">
<property name="name">
<cstring>txtHeading</cstring>
</property>
<property name="font">
<font>
<pointsize>20</pointsize>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>Delimited Text Layer</string>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
<widget class="QLayoutWidget" row="3" column="2">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Delimited text file</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>txtFilePath</cstring>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Full path to the delimited text file</string>
</property>
<property name="whatsThis" stdset="0">
<string>Full path to the delimited text file. In order to properly parse the fields in the file, the delimiter must be defined prior to entering the file name. Use the Browse button to the right of this field to choose the input file.</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>btnBrowseForFile</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>32767</height>
</size>
</property>
<property name="text">
<string>...</string>
</property>
<property name="toolTip" stdset="0">
<string>Browse to find the delimited text file to be processed</string>
</property>
<property name="whatsThis" stdset="0">
<string>Use this button to browse to the location of the delimited text file. This button will not be enabled until a delimiter has been entered in the &lt;i&gt;Delimiter&lt;/i&gt; box. Once a file is chosen, the X and Y field drop-down boxes will be populated with the fields from the delimited text file.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="4" column="2">
<property name="name">
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Layer name</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>txtLayerName</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Name to display in the map legend</string>
</property>
<property name="whatsThis" stdset="0">
<string>Name displayed in the map legend</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer2_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Delimiter</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>txtDelimiter</cstring>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>32767</height>
</size>
</property>
<property name="toolTip" stdset="0">
<string>Delimiter to use when splitting fields in the text file. The delimiter can be more than one character.</string>
</property>
<property name="whatsThis" stdset="0">
<string>Delimiter to use when splitting fields in the delimited text file. The delimiter can be 1 or more characters in length.</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<images>
<image name="image0">
<data format="XPM.GZ" length="1301">789cd5d1dd0a82301407f0fb3dc5d03b89cc0c12a24728ba0ca28bb94deac282b28b88de3df7fd650515450791fddd8fb3c34c13b85ccc60928263839a2d8678830e3021a7ba3eafd6d30b88f2216c9f31cca21e88fa10c3f97e47d93a6ed7f180178b58c4918ca58845262265b1c815262c566d898854ac2a7eca93fa9989ed7ac748a8d7f7e6715abc6ed017cda7e6f1eeafd3945e611498f62bb1abc4411f412825f2cd886b54136d38718c7f8e24b6719a58c418de84ed6ba388304835d1fb7a166382492835c498e0eefc7bc61df5e05f74d45f9aeb04dc00195d148b</data>
</image>
<image name="image1">
<data format="XPM.GZ" length="405787">789c44bdc972eb408f6e3bafa7f8a338abb8c11225b6833bb02d37926d597227db37ee20a9c67d27f73a2f7f48617dd87b8fbc8222b34122914824f27fffe73f57e3e3fffccffffed7c767f8bc9ffd67761756fff99ff9d7f3f3dffff7ffffbfffe7bffe3ba9d2fff47abdff24dd5e59fea7f7dfffcf7ffd77f47cf29fd97fa2cee65f0bea68c741b70561afe320ddfc64fde0206b415c4c1c141b90fffb49b579c728771036ef78d873506f7e521d38986d7ef2f1ef1df3cd1387d70e169b777c240e969b272ece05928ebdd44b9a241b70ec954b36958b4f6307d61e55e16053dbf8fcd5c1a6b6d1e8c341be7962fced6053fde8ceeb9294d61edec8c9a63da255df41b0777c39b0f6183e3bd8b4475c7e3ab0f6988d1d587bacd60eac3d660b816ec79ef871b0698f68e6ddd0b5f648ff3d61edb1fde7c0da63f8e2c07a3fbd7260edd1d97560edb1ededd1ddb447747cebc0da6371e8c0daa37081e95a7b145d079bf688a63307d61e9dcc81b5c7efbfcf5a7be43d81dea63dc2fbd081c9c7f0cd81b5c7b1bfa3d7b3d1e052d8a33d5c1c7a9bf6087fc1c1a63da2c1a5036b8f6b17a99eb5c7f6c041659dedfdd2b3f19278e57ad61ec7fb0eac3daeffbdc3dae3e0ddc1a63dc28bb769cfda63cf0537b5f6a8bd81d24d7b8499572e356530f29e4bad3dce7c44a59bf6a8e3a903dae3de4161efa81c9876e8de39d8d43664ded9e9a6b6e1dc3b2a35ed70e9c334b5ca9df840ceec2b5f12a9c4145b98e50e3675894eee1c98623baa1c9868772f1d58cfbd4d1c58477562079b92463baf0eaca46fc70eac5f7a89834dd1e3e448c0d456f4347660c3f4e71fb0a23ff61cf44c7f7c3830b14cde1d98da7a4f1dd8309d7b49515bc31f07a6b6e66f0e6c98ce1e1cd8309dfd2bba55ffe9d481a9ad3a38b051395a39d8486188fc2768a99b8103abfe62e6c0a43078ab4b4bdd3b48ed89c88149e1f3ae031b959537105aeae1df4b6d54667d07d6d9e9d4818dca6ccf81557ff0e7c07a7f78e260d3fbe1cebb012d35f206322d154e24fc095aeae2db8155ffe0ca8109eecdad03abed8197c37450f871e1379513563e3c4cc38403177ed44547aa2f49ed277fdb802e23aa4c1d58c17c56ef32a2ae2f1c98145e950eacd5df5f1c602a3c3ab0465e7d3a3065f07cefc054df4dcf81b5e9e59303d374852ad7b521163e2307a6f97bfe0e2c83ead9810db18917dd8658140d1c58e5665e3086d8d99703abed51ecc0646cff5fc1acfa67de1e36c4a2af53072663dbef0eacfaafb70ee6d6c8d70eac3d5e270e96d62f5e0e1b73e17beac034ffc7b9035339e7970ed0fcc70eac3d565e5bc6dc68e6c0a4f073ed8031e7dd60632edcb80461194c570eac3dae130758068503533987b9031b735bdf0e4ce3e65d0736e6624d055dc6dcdc7bdf2c83f0fce0c0647debcc81557fb07460d51fee3ab0a257ff9eb02136aa053401ff3a406da96f7b36e6a29d8903eb97fcd381a9beb35d07f68ecb8503537dd9ab03b3d77b8503d374c9890313bae18e03536c69e400a1bb7260957b9c3bb041d8930dd363102ed70eac2ed373072663ebda813572efde818db9efb103abdc6adf81c9d8ebc0814d6bc58f0393b1cf7f4f58479d4f1d98ca39da72603256950e4cc6b27f2fb53177fcaf1c36e66e25c93de6b903af2dd3da577060d51f3f3bb0597dcf3b9b21f638736043ece2cb8155ffc01b88696dc7c5c18658c8bc2b6d8885f77fefc0d8f406c2f876c1ed31c4ba2e414c6b3fded936c4a233efec1ed3bc4b2143ecc2cb61432cba7249c6f88ebc3d7a4cf31f0eac3dbebc604c7cdb430726eb6e7df698f8f6bd5fcc700e3e23f7527bc7c83b3bb392ce35f65366c2a7c88195b4be756025cd9e1c5849e7570ecc603d3c7260729a7c3a30299c3c3ab041f8f2e5c05a3dfbf70e6bf5528a3ec5b67cfe7360f35c2f7560251df51c5849fbff7e62d3dadeca81157dfdef1d2663d7070e6c88f5330726527b1f0e4ca4760e1d5837847f3fb1caa5fb0e98c53413a68ca84f6f312cc7df3b0736c456c70e6c56af070e50e3deb70cb1dd7f3f310d73fcef2b56fde33d0756fd69edc086d8ebc20146cdc881f56d9d38b0be0dffbe62faf46fec00c359f658ca883a2b1d9851933e38b0eabffb6719518f2e968ca8d37fc0aafffeedc046c3c9da81557feb5f396cf6a8febdc32af7fee3c0fab6d6049c32f14d5cc658689e0d1d58679f6af2cc1873aba903f447ecc0de711339b0beedf41cd8ecd1c91d58e51e4b0756b9c7ca8175e5d79103abdcd6c28149f2e4cc81f5dc9316121913dfddb60393d3f0e48015ce9703eba8fb8903eba8ed13075697835f075697bf030736155c060726a7a73b0e6c98de7e3830e5f8b17660b54dff1cd84c385f393043e06ee8c0e6fddafb0563f3cceb62c334ae6a0756fda78e03abfe45e6c0ba72f8ef09abfebdd78551f9f8efa58ccab9031b84c33b0766e58c7e1c585766ff5e6a82fbb1ebc00661d0a8ccf0180d5f1dd8da749038b082edbf3b3091daf5cf9a2f274cbd91cd0f53c72e8538442a7f8229e956c323c78f1be70e180ddf0eac4d97c18189d4d7b10393a0fd7b07cc51330756f4abca8109ccce95032ba94f163993d660e0c08647fceac0daf449c644ce7879ee3ab0f17278eec02af777e6c05a7dea5f61d2eafd7b878d86cfbe03938fd26bcb5aec6aeec0e4e3f3d081c9870fb11ce19f3a40d6a7fe521656b38e032bfaa1170c594f7f1d58bf541307a6935fbf1c5847fd3e39302b27f1be651d35faf75213fe7f3dc70cf4e51dc50cf472e7c02a37f0be654a9a450eace7dc599edb0c140d6f1d58e54
</image>
</images>
<connections>
<connection>
<sender>pbnOK</sender>
<signal>clicked()</signal>
<receiver>QgsDelimitedTextPluginGuiBase</receiver>
<slot>pbnOK_clicked()</slot>
</connection>
<connection>
<sender>pbnCancel</sender>
<signal>clicked()</signal>
<receiver>QgsDelimitedTextPluginGuiBase</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>btnBrowseForFile</sender>
<signal>clicked()</signal>
<receiver>QgsDelimitedTextPluginGuiBase</receiver>
<slot>getOpenFileName()</slot>
</connection>
<connection>
<sender>txtDelimiter</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>QgsDelimitedTextPluginGuiBase</receiver>
<slot>enableBrowseButton(const QString&amp;)</slot>
</connection>
<connection>
<sender>pbnHelp</sender>
<signal>clicked()</signal>
<receiver>QgsDelimitedTextPluginGuiBase</receiver>
<slot>help()</slot>
</connection>
<connection>
<sender>pbnParse</sender>
<signal>clicked()</signal>
<receiver>QgsDelimitedTextPluginGuiBase</receiver>
<slot>updateFieldLists()</slot>
</connection>
</connections>
<tabstops>
<tabstop>txtLayerName</tabstop>
<tabstop>txtDelimiter</tabstop>
<tabstop>txtFilePath</tabstop>
<tabstop>btnBrowseForFile</tabstop>
<tabstop>cmbXField</tabstop>
<tabstop>cmbYField</tabstop>
<tabstop>pbnHelp</tabstop>
<tabstop>pbnParse</tabstop>
<tabstop>pbnOK</tabstop>
<tabstop>pbnCancel</tabstop>
<tabstop>pbnCancel_2</tabstop>
<tabstop>teInstructions</tabstop>
</tabstops>
<slots>
<slot>pbnOK_clicked()</slot>
<slot>updateFieldLists( const QString &amp; )</slot>
<slot>getOpenFileName()</slot>
<slot>enableBrowseButton(const QString &amp;)</slot>
<slot>help()</slot>
<slot>updateFieldLists()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>