Subversion Repositories public

Rev

Rev 232 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <author>Andreas Theofilu &lt;andreas@theosys.at&gt;</author>
 <comment>Settings for SportWatcher</comment>
 <class>settingsWidgetBase</class>
 <widget class="QDialog" name="settingsWidgetBase">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>508</width>
    <height>629</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Settings</string>
  </property>
  <property name="locale">
   <locale language="English" country="UnitedStates"/>
  </property>
  <layout class="QGridLayout">
   <item row="1" column="0" colspan="5">
    <widget class="Q3GroupBox" name="groupBox2">
     <property name="title">
      <string>Other limits</string>
     </property>
     <layout class="QGridLayout">
      <item row="0" column="2">
       <widget class="QLabel" name="textLabel5">
        <property name="text">
         <string>Weight (Kg)</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="0">
       <widget class="QLabel" name="textLabel4">
        <property name="text">
         <string>VO2max</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QLabel" name="textLabel6">
        <property name="text">
         <string>Sample time</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="KIntNumInput" name="intVO2max">
        <property name="toolTip">
         <string>Enter the maximum O2 you can get in percent.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>100</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>100</number>
        </property>
       </widget>
      </item>
      <item row="0" column="3">
       <widget class="KIntNumInput" name="intWeight">
        <property name="toolTip">
         <string>Enter your weight in Kg.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>1000</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>1000</number>
        </property>
       </widget>
      </item>
      <item row="1" column="1">
       <widget class="KComboBox" name="cbSampleTime">
        <property name="toolTip">
         <string>Choose the sample time you want to have when storing the heart rate into a Polar compatibel HRM file.</string>
        </property>
        <item>
         <property name="text">
          <string>5</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>15</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>30</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>60</string>
         </property>
        </item>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="0" column="0" colspan="5">
    <widget class="Q3GroupBox" name="groupBox1">
     <property name="title">
      <string>Heart rate limits</string>
     </property>
     <layout class="QGridLayout">
      <item row="1" column="0">
       <widget class="QLabel" name="textLabel1_3">
        <property name="text">
         <string>Lower level 2</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="0">
       <widget class="QLabel" name="textLabel1">
        <property name="text">
         <string>Lower level 1</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="QLabel" name="textLabel1_2">
        <property name="text">
         <string>Lower level 3</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="2">
       <widget class="QLabel" name="textLabel1_4_3">
        <property name="text">
         <string>Upper level 1</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="2">
       <widget class="QLabel" name="textLabel1_4">
        <property name="text">
         <string>Upper level 2</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="2" column="2">
       <widget class="QLabel" name="textLabel1_4_2">
        <property name="text">
         <string>Upper level 3</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="3" column="2">
       <widget class="QLabel" name="textLabel3">
        <property name="text">
         <string>Rest heart rate</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="QLabel" name="textLabel2">
        <property name="text">
         <string>Max. heart rate</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="KIntNumInput" name="intLower1">
        <property name="toolTip">
         <string>Enter the lower level one heart rate.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
      <item row="1" column="1">
       <widget class="KIntNumInput" name="intLower2">
        <property name="toolTip">
         <string>Enter the lower level two heart rate.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
      <item row="2" column="1">
       <widget class="KIntNumInput" name="intLower3">
        <property name="toolTip">
         <string>Enter the lower level three heart rate.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
      <item row="3" column="1">
       <widget class="KIntNumInput" name="intMaxHr">
        <property name="toolTip">
         <string>Enter the maximum heart rate you can reach.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
      <item row="0" column="3">
       <widget class="KIntNumInput" name="intUpper1">
        <property name="toolTip">
         <string>Enter the upper level one heart rate.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
      <item row="1" column="3">
       <widget class="KIntNumInput" name="intUpper2">
        <property name="toolTip">
         <string>Enter the upper level two heart rate.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
      <item row="2" column="3">
       <widget class="KIntNumInput" name="intUpper3">
        <property name="toolTip">
         <string>Enter the upper level three heart rate.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
      <item row="3" column="3">
       <widget class="KIntNumInput" name="intRestHr">
        <property name="toolTip">
         <string>Enter the rest heart rate.</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>250</number>
        </property>
        <property name="minValue" stdset="0">
         <number>0</number>
        </property>
        <property name="maxValue" stdset="0">
         <number>250</number>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="3" column="0" colspan="5">
    <widget class="Q3GroupBox" name="groupBox4">
     <property name="title">
      <string>Units</string>
     </property>
     <layout class="QGridLayout">
      <item row="0" column="2">
       <spacer name="spacer4">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>250</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="0" column="1">
       <widget class="KComboBox" name="cbUnit">
        <property name="toolTip">
         <string>Select between metric and U.S. statute.</string>
        </property>
        <item>
         <property name="text">
          <string>Metric</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Statute</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="0" column="0">
       <widget class="QLabel" name="textLabel1_7">
        <property name="text">
         <string>Scale units</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="4" column="1">
    <widget class="KPushButton" name="btSave">
     <property name="minimumSize">
      <size>
       <width>100</width>
       <height>0</height>
      </size>
     </property>
     <property name="toolTip">
      <string>Click to save the settings.</string>
     </property>
     <property name="text">
      <string>Save</string>
     </property>
     <property name="default">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="4" column="3">
    <widget class="KPushButton" name="btCancel">
     <property name="minimumSize">
      <size>
       <width>100</width>
       <height>0</height>
      </size>
     </property>
     <property name="toolTip">
      <string>Click to close dialog without save settings.</string>
     </property>
     <property name="text">
      <string>Cancel</string>
     </property>
    </widget>
   </item>
   <item row="4" column="0">
    <spacer name="spacer1">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>50</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="4" column="2">
    <spacer name="spacer2">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>70</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="4" column="4">
    <spacer name="spacer3">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>50</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="2" column="0" colspan="5">
    <widget class="Q3GroupBox" name="groupBox3">
     <property name="title">
      <string>Device and file settings</string>
     </property>
     <layout class="QGridLayout">
      <item row="0" column="2" colspan="3">
       <widget class="QCheckBox" name="cbContour">
        <property name="toolTip">
         <string>Check this if you like to have the surface lines to be more even.</string>
        </property>
        <property name="text">
         <string>even surface contour line</string>
        </property>
       </widget>
      </item>
      <item row="7" column="4">
       <spacer name="spacer5">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>30</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="6" column="0">
       <widget class="QLabel" name="textLabel1_6">
        <property name="text">
         <string>Map file</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="7" column="0">
       <widget class="QLabel" name="textLabel1_8">
        <property name="text">
         <string>Map type</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="5" column="0">
       <widget class="QLabel" name="textLabel3_2">
        <property name="text">
         <string>HRM-files</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="4" column="0">
       <widget class="QLabel" name="textLabel2_2">
        <property name="text">
         <string>Data files</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="QLabel" name="textLabel1_5">
        <property name="enabled">
         <bool>true</bool>
        </property>
        <property name="text">
         <string>Serial device</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="7" column="2" colspan="2">
       <widget class="KComboBox" name="cbMapType">
        <property name="toolTip">
         <string>Choose the type of map, you want to use to be shown underneath your track.</string>
        </property>
        <item>
         <property name="text">
          <string>BMP Image format</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>ESRI Shape files (Directory)</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>GDAL virtual (.vrt tag file)</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>GIF image format</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>PNG image format</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>SGI image format</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>TIFF image format</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>WMS Server (tag file)</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>OSM Open Streetmap (file)</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="1" column="2" colspan="3">
       <widget class="QCheckBox" name="cbSerial">
        <property name="toolTip">
         <string>In case you've an old Garmin device with a serial port, you can try this to get the data out of it.</string>
        </property>
        <property name="text">
         <string>Use serial port instead of USB port</string>
        </property>
       </widget>
      </item>
      <item row="2" column="3" colspan="2">
       <widget class="QRadioButton" name="rbFr405">
        <property name="enabled">
         <bool>false</bool>
        </property>
        <property name="toolTip">
         <string>If you've a Garmin Forerunner 405, or compatible, check this.</string>
        </property>
        <property name="text">
         <string>Garmin Forerunner 405</string>
        </property>
       </widget>
      </item>
      <item row="2" column="2">
       <widget class="QRadioButton" name="rbFr50">
        <property name="toolTip">
         <string>If you've a Garmin Forerunner 50, or compatible, check this.</string>
        </property>
        <property name="text">
         <string>Garmin Forerunner 50</string>
        </property>
       </widget>
      </item>
      <item row="3" column="2" colspan="3">
       <widget class="KUrlComboRequester" name="cbDevice">
        <property name="toolTip">
         <string>Select the special device representing the serial device, where your Garmin is connected.</string>
        </property>
       </widget>
      </item>
      <item row="4" column="2" colspan="3">
       <widget class="KUrlRequester" name="lnData">
        <property name="toolTip">
         <string>Enter the path where SportWatcher will store all the data.</string>
        </property>
       </widget>
      </item>
      <item row="5" column="2" colspan="3">
       <widget class="KUrlRequester" name="lnHRM">
        <property name="toolTip">
         <string>In case you've a directory with Polar HRM files, enter it name here.</string>
        </property>
       </widget>
      </item>
      <item row="6" column="2" colspan="3">
       <widget class="KUrlRequester" name="lnMapFile">
        <property name="toolTip">
         <string>Enter the path and name of the map file, or the name of the control file containing instructions for an external map server (WMS server, for example).</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>KComboBox</class>
   <extends>QComboBox</extends>
   <header>kcombobox.h</header>
  </customwidget>
  <customwidget>
   <class>KIntNumInput</class>
   <extends>QWidget</extends>
   <header>knuminput.h</header>
  </customwidget>
  <customwidget>
   <class>KPushButton</class>
   <extends>QPushButton</extends>
   <header>kpushbutton.h</header>
  </customwidget>
  <customwidget>
   <class>KUrlComboRequester</class>
   <extends>KUrlRequester</extends>
   <header>kurlrequester.h</header>
  </customwidget>
  <customwidget>
   <class>KUrlRequester</class>
   <extends>QFrame</extends>
   <header>kurlrequester.h</header>
  </customwidget>
  <customwidget>
   <class>Q3GroupBox</class>
   <extends>QGroupBox</extends>
   <header>Qt3Support/Q3GroupBox</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>intLower1</tabstop>
  <tabstop>intUpper1</tabstop>
  <tabstop>intLower2</tabstop>
  <tabstop>intUpper2</tabstop>
  <tabstop>intLower3</tabstop>
  <tabstop>intUpper3</tabstop>
  <tabstop>intMaxHr</tabstop>
  <tabstop>intRestHr</tabstop>
  <tabstop>intVO2max</tabstop>
  <tabstop>intWeight</tabstop>
  <tabstop>cbSampleTime</tabstop>
  <tabstop>cbContour</tabstop>
  <tabstop>cbSerial</tabstop>
  <tabstop>rbFr50</tabstop>
  <tabstop>rbFr405</tabstop>
  <tabstop>cbMapType</tabstop>
  <tabstop>cbUnit</tabstop>
  <tabstop>btSave</tabstop>
  <tabstop>btCancel</tabstop>
 </tabstops>
 <includes>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">kpushbutton.h</include>
  <include location="local">kpushbutton.h</include>
  <include location="local">kurlrequester.h</include>
  <include location="local">klineedit.h</include>
  <include location="local">kpushbutton.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">kurlrequester.h</include>
  <include location="local">klineedit.h</include>
  <include location="local">kpushbutton.h</include>
  <include location="local">kurlrequester.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">kpushbutton.h</include>
  <include location="local">kurlrequester.h</include>
  <include location="local">klineedit.h</include>
  <include location="local">kpushbutton.h</include>
 </includes>
 <resources/>
 <connections>
  <connection>
   <sender>btSave</sender>
   <signal>clicked()</signal>
   <receiver>settingsWidgetBase</receiver>
   <slot>btSaveSlot()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>btCancel</sender>
   <signal>clicked()</signal>
   <receiver>settingsWidgetBase</receiver>
   <slot>btCancelSlot()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>cbSerial</sender>
   <signal>toggled(bool)</signal>
   <receiver>settingsWidgetBase</receiver>
   <slot>cbSerialSlot(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>rbFr50</sender>
   <signal>toggled(bool)</signal>
   <receiver>settingsWidgetBase</receiver>
   <slot>rbFr50Slot(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>rbFr405</sender>
   <signal>toggled(bool)</signal>
   <receiver>settingsWidgetBase</receiver>
   <slot>rbFr405Slot(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>