Subversion Repositories public

Rev

Rev 168 | Rev 232 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>settingsWidgetBase</class>
<comment>Settings for SportWatcher</comment>
<author>Andreas Theofilu &lt;andreas@theosys.at&gt;</author>
<widget class="QDialog">
    <property name="name">
        <cstring>Settings</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>508</width>
            <height>600</height>
        </rect>
    </property>
    <property name="caption">
        <string>Settings</string>
    </property>
    <property name="icon">
        <pixmap>image0</pixmap>
    </property>
    <grid>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="5">
            <property name="name">
                <cstring>groupBox2</cstring>
            </property>
            <property name="title">
                <string>Other limits</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QLabel" row="0" column="2">
                    <property name="name">
                        <cstring>textLabel5</cstring>
                    </property>
                    <property name="text">
                        <string>Weight (Kg)</string>
                    </property>
                </widget>
                <widget class="QLabel" row="0" column="0">
                    <property name="name">
                        <cstring>textLabel4</cstring>
                    </property>
                    <property name="text">
                        <string>VO2max</string>
                    </property>
                </widget>
                <widget class="QLabel" row="1" column="0">
                    <property name="name">
                        <cstring>textLabel6</cstring>
                    </property>
                    <property name="text">
                        <string>Sample time</string>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="0" column="1">
                    <property name="name">
                        <cstring>intVO2max</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>100</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="0" column="3">
                    <property name="name">
                        <cstring>intWeight</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>1000</number>
                    </property>
                </widget>
                <widget class="KComboBox" row="1" column="1">
                    <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>
                    <property name="name">
                        <cstring>cbSampleTime</cstring>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="QGroupBox" row="0" column="0" rowspan="1" colspan="5">
            <property name="name">
                <cstring>groupBox1</cstring>
            </property>
            <property name="title">
                <string>Heart rate limits</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QLabel" row="1" column="0">
                    <property name="name">
                        <cstring>textLabel1_3</cstring>
                    </property>
                    <property name="text">
                        <string>Lower level 2</string>
                    </property>
                </widget>
                <widget class="QLabel" row="0" column="0">
                    <property name="name">
                        <cstring>textLabel1</cstring>
                    </property>
                    <property name="text">
                        <string>Lower level 1</string>
                    </property>
                </widget>
                <widget class="QLabel" row="2" column="0">
                    <property name="name">
                        <cstring>textLabel1_2</cstring>
                    </property>
                    <property name="text">
                        <string>Lower level 3</string>
                    </property>
                </widget>
                <widget class="QLabel" row="0" column="2">
                    <property name="name">
                        <cstring>textLabel1_4_3</cstring>
                    </property>
                    <property name="text">
                        <string>Upper level 1</string>
                    </property>
                </widget>
                <widget class="QLabel" row="1" column="2">
                    <property name="name">
                        <cstring>textLabel1_4</cstring>
                    </property>
                    <property name="text">
                        <string>Upper level 2</string>
                    </property>
                </widget>
                <widget class="QLabel" row="2" column="2">
                    <property name="name">
                        <cstring>textLabel1_4_2</cstring>
                    </property>
                    <property name="text">
                        <string>Upper level 3</string>
                    </property>
                </widget>
                <widget class="QLabel" row="3" column="2">
                    <property name="name">
                        <cstring>textLabel3</cstring>
                    </property>
                    <property name="text">
                        <string>Rest heart rate</string>
                    </property>
                </widget>
                <widget class="QLabel" row="3" column="0">
                    <property name="name">
                        <cstring>textLabel2</cstring>
                    </property>
                    <property name="text">
                        <string>Max. heart rate</string>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="0" column="1">
                    <property name="name">
                        <cstring>intLower1</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="1" column="1">
                    <property name="name">
                        <cstring>intLower2</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="2" column="1">
                    <property name="name">
                        <cstring>intLower3</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="3" column="1">
                    <property name="name">
                        <cstring>intMaxHr</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="0" column="3">
                    <property name="name">
                        <cstring>intUpper1</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="1" column="3">
                    <property name="name">
                        <cstring>intUpper2</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="2" column="3">
                    <property name="name">
                        <cstring>intUpper3</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
                <widget class="KIntNumInput" row="3" column="3">
                    <property name="name">
                        <cstring>intRestHr</cstring>
                    </property>
                    <property name="minValue">
                        <number>0</number>
                    </property>
                    <property name="maxValue">
                        <number>250</number>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="QGroupBox" row="3" column="0" rowspan="1" colspan="5">
            <property name="name">
                <cstring>groupBox4</cstring>
            </property>
            <property name="title">
                <string>Units</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <spacer row="0" column="2">
                    <property name="name">
                        <cstring>spacer4</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Expanding</enum>
                    </property>
                    <property name="sizeHint">
                        <size>
                            <width>250</width>
                            <height>20</height>
                        </size>
                    </property>
                </spacer>
                <widget class="KComboBox" row="0" column="1">
                    <item>
                        <property name="text">
                            <string>Metric</string>
                        </property>
                    </item>
                    <item>
                        <property name="text">
                            <string>Statute</string>
                        </property>
                    </item>
                    <property name="name">
                        <cstring>cbUnit</cstring>
                    </property>
                </widget>
                <widget class="QLabel" row="0" column="0">
                    <property name="name">
                        <cstring>textLabel1_7</cstring>
                    </property>
                    <property name="text">
                        <string>Scale units</string>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="KPushButton" row="4" column="1">
            <property name="name">
                <cstring>btSave</cstring>
            </property>
            <property name="minimumSize">
                <size>
                    <width>100</width>
                    <height>0</height>
                </size>
            </property>
            <property name="text">
                <string>Save</string>
            </property>
        </widget>
        <widget class="KPushButton" row="4" column="3">
            <property name="name">
                <cstring>btCancel</cstring>
            </property>
            <property name="minimumSize">
                <size>
                    <width>100</width>
                    <height>0</height>
                </size>
            </property>
            <property name="text">
                <string>Cancel</string>
            </property>
        </widget>
        <spacer row="4" column="0">
            <property name="name">
                <cstring>spacer1</cstring>
            </property>
            <property name="orientation">
                <enum>Horizontal</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>50</width>
                    <height>20</height>
                </size>
            </property>
        </spacer>
        <spacer row="4" column="2">
            <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>70</width>
                    <height>20</height>
                </size>
            </property>
        </spacer>
        <spacer row="4" column="4">
            <property name="name">
                <cstring>spacer3</cstring>
            </property>
            <property name="orientation">
                <enum>Horizontal</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>50</width>
                    <height>20</height>
                </size>
            </property>
        </spacer>
        <widget class="QGroupBox" row="2" column="0" rowspan="1" colspan="5">
            <property name="name">
                <cstring>groupBox3</cstring>
            </property>
            <property name="title">
                <string>Device and file settings</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QCheckBox" row="0" column="1" rowspan="1" colspan="3">
                    <property name="name">
                        <cstring>cbContour</cstring>
                    </property>
                    <property name="text">
                        <string>even surface contour line</string>
                    </property>
                </widget>
                <spacer row="7" column="3">
                    <property name="name">
                        <cstring>spacer5</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Expanding</enum>
                    </property>
                    <property name="sizeHint">
                        <size>
                            <width>30</width>
                            <height>20</height>
                        </size>
                    </property>
                </spacer>
                <widget class="QLabel" row="6" column="0">
                    <property name="name">
                        <cstring>textLabel1_6</cstring>
                    </property>
                    <property name="text">
                        <string>Map file</string>
                    </property>
                </widget>
                <widget class="QLabel" row="7" column="0">
                    <property name="name">
                        <cstring>textLabel1_8</cstring>
                    </property>
                    <property name="text">
                        <string>Map type</string>
                    </property>
                </widget>
                <widget class="QLabel" row="5" column="0">
                    <property name="name">
                        <cstring>textLabel3_2</cstring>
                    </property>
                    <property name="text">
                        <string>HRM-files</string>
                    </property>
                </widget>
                <widget class="QLabel" row="4" column="0">
                    <property name="name">
                        <cstring>textLabel2_2</cstring>
                    </property>
                    <property name="text">
                        <string>Data files</string>
                    </property>
                </widget>
                <widget class="QLabel" row="3" column="0">
                    <property name="name">
                        <cstring>textLabel1_5</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                    <property name="text">
                        <string>Serial device</string>
                    </property>
                </widget>
                <widget class="KURLRequester" row="4" column="1" rowspan="1" colspan="3">
                    <property name="name">
                        <cstring>lnData</cstring>
                    </property>
                </widget>
                <widget class="KComboBox" row="7" column="1" rowspan="1" colspan="2">
                    <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>
                    <property name="name">
                        <cstring>cbMapType</cstring>
                    </property>
                </widget>
                <widget class="KURLRequester" row="5" column="1" rowspan="1" colspan="3">
                    <property name="name">
                        <cstring>lnHRM</cstring>
                    </property>
                </widget>
                <widget class="KURLComboRequester" row="3" column="1" rowspan="1" colspan="3">
                    <property name="name">
                        <cstring>cbDevice</cstring>
                    </property>
                    <property name="enabled">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="KURLRequester" row="6" column="1" rowspan="1" colspan="3">
                    <property name="name">
                        <cstring>lnMapFile</cstring>
                    </property>
                </widget>
                <widget class="QCheckBox" row="1" column="1" rowspan="1" colspan="3">
                    <property name="name">
                        <cstring>cbSerial</cstring>
                    </property>
                    <property name="text">
                        <string>Use serial port instead of USB port</string>
                    </property>
                </widget>
                <widget class="QRadioButton" row="2" column="2" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>rbFr405</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="text">
                        <string>Garmin Forerunner 405</string>
                    </property>
                </widget>
                <widget class="QRadioButton" row="2" column="1">
                    <property name="name">
                        <cstring>rbFr50</cstring>
                    </property>
                    <property name="text">
                        <string>Garmin Forerunner 50</string>
                    </property>
                </widget>
            </grid>
        </widget>
    </grid>
</widget>
<images>
    <image name="image0">
        <data format="PNG" length="558">89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff61000001f549444154388d63604003fffeff6184d24cfffeff6181e14fef9f7397461abfcf0b33b9f7fec30756987a167403981859fe43e97f0c0c0cff60e25fbf7c6095f9cbc06161a8c52d2820f01ba701c8a023274ad54e912f41e4f767f3bbcbfb65fd2c74585939f92622abc16b803ef3d362392e7ec5dd47aef1f34afd5713334f65d0e1bcce89e2627c06bcf9c1745b4245ad5f50d7e1bddc99c70c6a5b3631fc7c73efe1cd0575b644b9404146e1cccf278facdf8a9a2a08d49731dc7fb093e1ffa525f98fbffcbdcfc0c07098a001424aba8f1edcbe162bbbbe43e665e03b062b0ff36cbea03533adf804fee2d3870296a8a8565c5710f9ff3cd2eaffcf05f556e8f278c360dd9489125f053ee61ed310f8ff55438481418061d29b6d937891d5c0bdb0b0b5d7e8e37f990077ee83877fbc7eaaa160a4cb75e9d006677d4b5189c7ef3fe7ec38f3ccc8fdc7d724514595360606865c0c035e7e95e95235e651fefd9a5de5ecf54b7cb75f3ce153535490e11155f176c898bd8381e111c34e45ef37a22c6cf6585df0f6fdbb6dcc0f1f4f0a2ceaff0311b9cfc0c07016c54bff7f7ce366e5e2ba88d580cee9997df8c283818181e1dfef9f0fff30327160358018f0ebf7cffbcc7f7f8b208be18d05747046bc4dfc008b5fe6d593e778c872818ae0958be70eb09edffb43b4888181a1898181810100fda5bbe360439b8a0000000049454e44ae426082</data>
    </image>
</images>
<connections>
    <connection>
        <sender>btSave</sender>
        <signal>clicked()</signal>
        <receiver>Settings</receiver>
        <slot>btSaveSlot()</slot>
    </connection>
    <connection>
        <sender>btCancel</sender>
        <signal>clicked()</signal>
        <receiver>Settings</receiver>
        <slot>btCancelSlot()</slot>
    </connection>
    <connection>
        <sender>cbSerial</sender>
        <signal>toggled(bool)</signal>
        <receiver>Settings</receiver>
        <slot>cbSerialSlot(bool)</slot>
    </connection>
    <connection>
        <sender>rbFr50</sender>
        <signal>toggled(bool)</signal>
        <receiver>Settings</receiver>
        <slot>rbFr50Slot(bool)</slot>
    </connection>
    <connection>
        <sender>rbFr405</sender>
        <signal>toggled(bool)</signal>
        <receiver>Settings</receiver>
        <slot>rbFr405Slot(bool)</slot>
    </connection>
</connections>
<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>cbDevice</tabstop>
    <tabstop>lnData</tabstop>
    <tabstop>lnHRM</tabstop>
    <tabstop>lnMapFile</tabstop>
    <tabstop>cbMapType</tabstop>
    <tabstop>cbUnit</tabstop>
    <tabstop>btSave</tabstop>
    <tabstop>btCancel</tabstop>
</tabstops>
<slots>
    <slot>btSaveSlot()</slot>
    <slot>btCancelSlot()</slot>
    <slot>cbSerialSlot(bool)</slot>
    <slot>rbFr50Slot(bool)</slot>
    <slot>rbFr405Slot(bool)</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>kcombobox.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>kcombobox.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kurlrequester.h</includehint>
    <includehint>klineedit.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kcombobox.h</includehint>
    <includehint>kurlrequester.h</includehint>
    <includehint>klineedit.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kurlrequester.h</includehint>
    <includehint>kcombobox.h</includehint>
    <includehint>kpushbutton.h</includehint>
    <includehint>kurlrequester.h</includehint>
    <includehint>klineedit.h</includehint>
    <includehint>kpushbutton.h</includehint>
</includehints>
</UI>