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@4409 c8812cc2-4d05-0410-92ff-de0c093fc19c
276 lines
7.9 KiB
XML
276 lines
7.9 KiB
XML
<ui version="4.0" >
|
|
<author></author>
|
|
<comment></comment>
|
|
<exportmacro></exportmacro>
|
|
<class>QgsGPSDeviceDialogBase</class>
|
|
<widget class="QDialog" name="QgsGPSDeviceDialogBase" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>515</width>
|
|
<height>435</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>1</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>GPS Device Editor</string>
|
|
</property>
|
|
<property name="modal" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>10</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item rowspan="6" row="0" column="1" >
|
|
<widget class="Line" name="line2" >
|
|
<property name="frameShape" >
|
|
<enum>QFrame::VLine</enum>
|
|
</property>
|
|
<property name="frameShadow" >
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" >
|
|
<widget class="QPushButton" name="pbUpdateDevice" >
|
|
<property name="text" >
|
|
<string>Update device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" >
|
|
<widget class="QPushButton" name="pbDeleteDevice" >
|
|
<property name="text" >
|
|
<string>Delete device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<widget class="QPushButton" name="pbNewDevice" >
|
|
<property name="text" >
|
|
<string>New device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item rowspan="3" row="0" column="0" >
|
|
<widget class="Q3ListBox" name="lbDeviceList" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="4" >
|
|
<widget class="QPushButton" name="pbClose" >
|
|
<property name="text" >
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="default" >
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="4" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>370</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item rowspan="4" row="2" column="2" colspan="3" >
|
|
<widget class="QLabel" name="textLabel1" >
|
|
<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>Qt::RichText</enum>
|
|
</property>
|
|
<property name="alignment" >
|
|
<set>Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" colspan="3" >
|
|
<widget class="Q3GroupBox" name="groupBox1" >
|
|
<property name="title" >
|
|
<string>Commands</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>10</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="textLabel1_2" >
|
|
<property name="text" >
|
|
<string>Waypoint download:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" >
|
|
<widget class="QLabel" name="textLabel1_2_2" >
|
|
<property name="text" >
|
|
<string>Waypoint upload:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" >
|
|
<widget class="QLabel" name="textLabel1_2_3" >
|
|
<property name="text" >
|
|
<string>Route download:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" >
|
|
<widget class="QLabel" name="textLabel1_2_4" >
|
|
<property name="text" >
|
|
<string>Route upload:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" >
|
|
<widget class="QLabel" name="textLabel1_2_5" >
|
|
<property name="text" >
|
|
<string>Track download:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1" >
|
|
<widget class="QLineEdit" name="leTrkUp" >
|
|
<property name="toolTip" >
|
|
<string>The command that is used to upload tracks to the device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" >
|
|
<widget class="QLabel" name="textLabel1_2_5_2" >
|
|
<property name="text" >
|
|
<string>Track upload:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1" >
|
|
<widget class="QLineEdit" name="leTrkDown" >
|
|
<property name="toolTip" >
|
|
<string>The command that is used to download tracks from the device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" >
|
|
<widget class="QLineEdit" name="leRteUp" >
|
|
<property name="toolTip" >
|
|
<string>The command that is used to upload routes to the device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" >
|
|
<widget class="QLineEdit" name="leRteDown" >
|
|
<property name="toolTip" >
|
|
<string>The command that is used to download routes from the device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1" >
|
|
<widget class="QLineEdit" name="leWptUp" >
|
|
<property name="toolTip" >
|
|
<string>The command that is used to upload waypoints to the device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" >
|
|
<widget class="QLineEdit" name="leWptDown" >
|
|
<property name="toolTip" >
|
|
<string>The command that is used to download waypoints from the device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" >
|
|
<widget class="QLabel" name="textLabel3" >
|
|
<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>
|
|
</item>
|
|
<item row="0" column="3" colspan="2" >
|
|
<widget class="QLineEdit" name="leDeviceName" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>2</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>This is the name of the device as it will appear in the lists</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11" />
|
|
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Q3GroupBox</class>
|
|
<extends></extends>
|
|
<header>Qt3Support/Q3GroupBox</header>
|
|
<container>1</container>
|
|
<pixmap></pixmap>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Q3ListBox</class>
|
|
<extends></extends>
|
|
<header>q3listbox.h</header>
|
|
<container>0</container>
|
|
<pixmap></pixmap>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|