mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
301 lines
13 KiB
XML
301 lines
13 KiB
XML
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>PluginGuiBase</class>
|
|
<widget class="QDialog">
|
|
<property name="name">
|
|
<cstring>PluginGuiBase</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>384</width>
|
|
<height>157</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="QLayoutWidget" row="1" column="0">
|
|
<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>false</bool>
|
|
</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 <i>Delimiter</i> 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="2" column="0">
|
|
<property name="name">
|
|
<cstring>layout2</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>textLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><p align="right">X field</p></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox">
|
|
<property name="name">
|
|
<cstring>cmbXField</cstring>
|
|
</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><p align="right">Y field</p></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox">
|
|
<property name="name">
|
|
<cstring>cmbYField</cstring>
|
|
</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="QLayoutWidget" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>layout4</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>pbnCancel</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close</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>
|
|
<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>441</width>
|
|
<height>21</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>pbnOK</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add Layer</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Add layer using the deimiter, file, and x/y fields specifed</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>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>layout6</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<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>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer2_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>320</width>
|
|
<height>21</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</hbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<images>
|
|
<image name="image0">
|
|
<data format="PNG" length="620">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000023349444154789c85933d68535114c77f37bce15632bc8ac30b5430a24306879be2d04687a4164c4a418b0ea674f163d08ead4a45273f8656b72e7ed145eba2594aea208d83b4110a66b0f8064b52109a070de60de1f50e85eb20a97db5dae972eefd9ff3e7fcee3922a806e0010e54bc0aca51ff8d5fcf0d18dfcbf0e2de2b51f12ab0b8b448500df63d9d4b18791d23cf6176de8ba01aeceb3c70fba8297779681fe48664e1ce8268bf47dae28a5709253f994919f77bb729ac749bdc59896e0175a0a5793879d7b4f59176a57611e528685c30572e6a6657e2e8af437c6cf8108523bec3a895872dfdc77477afd34fd3c61865c66ee64c500d902318ae61e419ccd4cb84d9adb742ce1ee47a5c4a6549dccaff66d005b8f038eb309a6ef2ee43c9007b33b8fabccf346db0e9400df68a836f0e18dd00db936c5a09886bdc5629c42cc4405a92a40d959a44390abd05fc8098152779d8870d4844132166919df4a7278aa2b822c91cd78ccfa4ccd8299ba91187a9ac4d6db3095128af7aa1dffa6b0e3c2b65ea560d1b9bd40d8f07fd8ac4f93aca81f9cf9df8cb79d460efbfe760fc91a4f049e25b3eb99371beacd64948cdd29aa6f43ebe9ddcd68bddbbd0379732da0375c8267f4c918c26d8a4406c0b66d762f438197227ee8bb63ec4607872c0c865094da82f4b46fb8b42c6874552c5e8ec87b1aca6a6dd1083c8ce39f8766b5dac3ffb29a4864c946dda85720cd91866de75e868a443ccf6dc05c793b8bedc8e2fa7df8a5a6b48e44f1785ca8619fc02e03f7348caab910d0000000049454e44ae426082</data>
|
|
</image>
|
|
</images>
|
|
<connections>
|
|
<connection>
|
|
<sender>pbnOK</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>PluginGuiBase</receiver>
|
|
<slot>pbnOK_clicked()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>pbnCancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>PluginGuiBase</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>txtFilePath</sender>
|
|
<signal>textChanged(const QString&)</signal>
|
|
<receiver>PluginGuiBase</receiver>
|
|
<slot>updateFieldLists(const QString&)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>btnBrowseForFile</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>PluginGuiBase</receiver>
|
|
<slot>getOpenFileName()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>txtDelimiter</sender>
|
|
<signal>textChanged(const QString&)</signal>
|
|
<receiver>PluginGuiBase</receiver>
|
|
<slot>enableBrowseButton(const QString&)</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>txtDelimiter</tabstop>
|
|
<tabstop>txtFilePath</tabstop>
|
|
<tabstop>btnBrowseForFile</tabstop>
|
|
<tabstop>cmbXField</tabstop>
|
|
<tabstop>cmbYField</tabstop>
|
|
<tabstop>pbnCancel</tabstop>
|
|
<tabstop>pbnOK</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">pluginguibase.ui.h</include>
|
|
</includes>
|
|
<slots>
|
|
<slot>pbnOK_clicked()</slot>
|
|
<slot>updateFieldLists( const QString & )</slot>
|
|
<slot>getOpenFileName()</slot>
|
|
<slot>enableBrowseButton(const QString &)</slot>
|
|
</slots>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|