mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2810 c8812cc2-4d05-0410-92ff-de0c093fc19c
313 lines
12 KiB
XML
313 lines
12 KiB
XML
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>QgsGPSDeviceDialogBase</class>
|
|
<widget class="QDialog">
|
|
<property name="name">
|
|
<cstring>QgsGPSDeviceDialogBase</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>515</width>
|
|
<height>409</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>1</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="caption">
|
|
<string>GPS Device Editor</string>
|
|
</property>
|
|
<property name="modal">
|
|
<bool>true</bool>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="Line" row="0" column="1" rowspan="6" colspan="1">
|
|
<property name="name">
|
|
<cstring>line2</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="QPushButton" row="5" column="0">
|
|
<property name="name">
|
|
<cstring>pbUpdateDevice</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Update device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>pbDeleteDevice</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Delete device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>pbNewDevice</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>New device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QListBox" row="0" column="0" rowspan="3" colspan="1">
|
|
<property name="name">
|
|
<cstring>lbDeviceList</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" row="6" column="4">
|
|
<property name="name">
|
|
<cstring>pbClose</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<spacer row="6" column="0" rowspan="1" colspan="4">
|
|
<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>370</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QLabel" row="2" column="2" rowspan="4" colspan="3">
|
|
<property name="name">
|
|
<cstring>textLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><p>In the download and upload commands there can be special words that will be replaced by QGIS when the commands are used. These words are:</p>
|
|
<i>%babel</i> - the path to GPSBabel<br>
|
|
<i>%in</i> - the GPX filename when uploading or the port when downloading<br>
|
|
<i>%out</i> - the port when uploading or the GPX filename when downloading</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>RichText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>WordBreak|AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" row="1" column="2" rowspan="1" colspan="3">
|
|
<property name="name">
|
|
<cstring>groupBox1</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Commands</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Waypoint download:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Waypoint upload:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2_3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Route download:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2_4</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Route upload:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2_5</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Track download:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" row="5" column="1">
|
|
<property name="name">
|
|
<cstring>leTrkUp</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The command that is used to upload tracks to the device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="5" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2_5_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Track upload:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" row="4" column="1">
|
|
<property name="name">
|
|
<cstring>leTrkDown</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The command that is used to download tracks from the device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" row="3" column="1">
|
|
<property name="name">
|
|
<cstring>leRteUp</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The command that is used to upload routes to the device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" row="2" column="1">
|
|
<property name="name">
|
|
<cstring>leRteDown</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The command that is used to download routes from the device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>leWptUp</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The command that is used to upload waypoints to the device</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>leWptDown</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The command that is used to download waypoints from the device</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="QLabel" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>textLabel3</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Device name:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" row="0" column="3" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>leDeviceName</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>2</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>This is the name of the device as it will appear in the lists</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>pbNewDevice</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsGPSDeviceDialogBase</receiver>
|
|
<slot>slotNewDevice()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>pbDeleteDevice</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsGPSDeviceDialogBase</receiver>
|
|
<slot>slotDeleteDevice()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>pbUpdateDevice</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsGPSDeviceDialogBase</receiver>
|
|
<slot>slotUpdateDevice()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>pbClose</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsGPSDeviceDialogBase</receiver>
|
|
<slot>close()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>lbDeviceList</sender>
|
|
<signal>selectionChanged()</signal>
|
|
<receiver>QgsGPSDeviceDialogBase</receiver>
|
|
<slot>slotSelectionChanged()</slot>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>slotProtocolChanged(const QString&)</slot>
|
|
<slot>slotNewDevice()</slot>
|
|
<slot>slotDeleteDevice()</slot>
|
|
<slot>slotUpdateDevice()</slot>
|
|
<slot>slotSelectionChanged()</slot>
|
|
</slots>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|