Rev 248 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>Andreas Theofilu <andreas@theosys.at></author>
<comment>Main window of SportWatcher</comment>
<class>sportwatcherWidgetBase</class>
<widget class="QWidget" name="sportwatcherWidgetBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1004</width>
<height>705</height>
</rect>
</property>
<property name="windowTitle">
<string>SportWatcher</string>
</property>
<property name="accessibleName">
<string>sportwatcher</string>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QTreeWidget" name="liActivities">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>16777215</height>
</size>
</property>
<column>
<property name="text">
<string>Activities</string>
</property>
<property name="toolTip">
<string>Saved activities, separated into run, bike and other activities.</string>
</property>
<property name="whatsThis">
<string>Shows all saved activities.</string>
</property>
</column>
</widget>
</item>
<item row="0" column="1">
<widget class="QTabWidget" name="tabView">
<property name="minimumSize">
<size>
<width>400</width>
<height>300</height>
</size>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tabSummary">
<attribute name="title">
<string>Summary</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="9">
<widget class="K3ListView" name="liLaps">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>0</height>
</size>
</property>
<column>
<property name="text">
<string>Name</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Distance</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Elapsed Time</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Avg Pace</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Avg Speed</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Max Speed</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Calories</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Avg Heart Rate</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Max Heart Rate</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Avg Cadence</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Ascent</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Descent</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
</widget>
</item>
<item row="1" column="0">
<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>58</width>
<height>22</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="KPushButton" name="btHand">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="KPushButton" name="btGlas">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="KPushButton" name="btFlag">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="4">
<spacer name="spacer6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>57</width>
<height>22</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="5">
<widget class="KPushButton" name="btGlasPlus">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="KPushButton" name="btGlasMinus">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="7">
<widget class="KPushButton" name="btFullscreen">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="8">
<spacer name="spacer7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>114</width>
<height>22</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" colspan="9">
<widget class="QLabel" name="imgMap">
<property name="minimumSize">
<size>
<width>400</width>
<height>150</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="2" colspan="3">
<widget class="KComboBox" name="kcbCurveTypes">
<item>
<property name="text">
<string>Altitude & heart rate</string>
</property>
</item>
<item>
<property name="text">
<string>Speed & heart rate</string>
</property>
</item>
<item>
<property name="text">
<string>Altitude & speed</string>
</property>
</item>
</widget>
</item>
<item row="4" column="0" colspan="9">
<widget class="QLabel" name="imgProfile">
<property name="minimumSize">
<size>
<width>400</width>
<height>150</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="5" colspan="4">
<spacer name="spacer7_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>108</width>
<height>17</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="0" colspan="2">
<spacer name="spacer6_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabMap">
<attribute name="title">
<string>Map</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QLabel" name="grMap">
<property name="frameShape">
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabHR">
<attribute name="title">
<string>HR / Speed</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Heart rate</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Elevation</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Speed</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="grHR">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>180</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="grElevation">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>180</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="grSpeed">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>180</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tabLap">
<attribute name="title">
<string>Lap details</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QTreeWidget" name="twLaps">
<column>
<property name="text">
<string>Time</string>
</property>
</column>
<column>
<property name="text">
<string>Distance</string>
</property>
</column>
<column>
<property name="text">
<string>Tot. Distance</string>
</property>
</column>
<column>
<property name="text">
<string>Pace</string>
</property>
</column>
<column>
<property name="text">
<string>Avg. Pace</string>
</property>
</column>
<column>
<property name="text">
<string>Avg. Speed</string>
</property>
</column>
<column>
<property name="text">
<string>Max. Speed</string>
</property>
</column>
<column>
<property name="text">
<string>Calories</string>
</property>
</column>
<column>
<property name="text">
<string>Avg. heart rate</string>
</property>
</column>
<column>
<property name="text">
<string>Max. heart rate</string>
</property>
</column>
<column>
<property name="text">
<string>Avg. Cadence</string>
</property>
</column>
<column>
<property name="text">
<string>Up</string>
</property>
</column>
</widget>
</item>
<item row="1" column="0">
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Total distance</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="edTotalDistance">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>154</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Distance of lap</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QLineEdit" name="edLapDistance"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Total time</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="edTotalTime">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="2">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>154</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="3">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Time of lap</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QLineEdit" name="edLapTime"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Average speed</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="edAvgSpeed">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="2">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>154</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="3">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Average speed of lap</string>
</property>
</widget>
</item>
<item row="3" column="4">
<widget class="QLineEdit" name="edLapSpeed"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Total height</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="edTotalHeight">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="4" column="2">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>154</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="3">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Total height of lap</string>
</property>
</widget>
</item>
<item row="4" column="4">
<widget class="QLineEdit" name="edLapHeight"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Average heart rate</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="edAvgHR">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="5" column="2">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>154</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="3">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Average heart rate of lap</string>
</property>
</widget>
</item>
<item row="5" column="4">
<widget class="QLineEdit" name="edLapHR"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Number laps</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="edLapNumber"/>
</item>
<item row="0" column="2">
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Actual lap number</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QLineEdit" name="edActLap"/>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<customwidgets>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KPushButton</class>
<extends>QPushButton</extends>
<header>kpushbutton.h</header>
</customwidget>
<customwidget>
<class>Q3Frame</class>
<extends>QFrame</extends>
<header>Qt3Support/Q3Frame</header>
<container>1</container>
</customwidget>
<customwidget>
<class>Q3ListView</class>
<extends>Q3Frame</extends>
<header>q3listview.h</header>
</customwidget>
<customwidget>
<class>K3ListView</class>
<extends>Q3ListView</extends>
<header>k3listview.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>btHand</tabstop>
</tabstops>
<includes>
<include location="local">K3ListView</include>
<include location="local">kcombobox.h</include>
</includes>
<resources/>
<connections>
<connection>
<sender>liLaps</sender>
<signal>clicked(Q3ListViewItem*)</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>liLapsSlot(Q3ListViewItem*)</slot>
<hints>
<hint type="sourcelabel">
<x>450</x>
<y>145</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>btHand</sender>
<signal>clicked()</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>btHandSlot()</slot>
<hints>
<hint type="sourcelabel">
<x>431</x>
<y>346</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>btFlag</sender>
<signal>clicked()</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>btFlagSlot()</slot>
<hints>
<hint type="sourcelabel">
<x>515</x>
<y>346</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>btFullscreen</sender>
<signal>clicked()</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>btFullscreenSlot()</slot>
<hints>
<hint type="sourcelabel">
<x>813</x>
<y>346</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>btGlas</sender>
<signal>clicked()</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>btGlasSlot()</slot>
<hints>
<hint type="sourcelabel">
<x>473</x>
<y>346</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>btGlasMinus</sender>
<signal>clicked()</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>btGlasMinusSlot()</slot>
<hints>
<hint type="sourcelabel">
<x>771</x>
<y>346</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>btGlasPlus</sender>
<signal>clicked()</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>btGlasPlusSlot()</slot>
<hints>
<hint type="sourcelabel">
<x>729</x>
<y>346</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>kcbCurveTypes</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>kcbCurveSlot(int)</slot>
<hints>
<hint type="sourcelabel">
<x>687</x>
<y>528</y>
</hint>
<hint type="destinationlabel">
<x>838</x>
<y>403</y>
</hint>
</hints>
</connection>
<connection>
<sender>liActivities</sender>
<signal>itemClicked(QTreeWidgetItem*,int)</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>liActivitiesSlot(QTreeWidgetItem*,int)</slot>
<hints>
<hint type="sourcelabel">
<x>76</x>
<y>131</y>
</hint>
<hint type="destinationlabel">
<x>1</x>
<y>185</y>
</hint>
</hints>
</connection>
<connection>
<sender>tabView</sender>
<signal>currentChanged(int)</signal>
<receiver>sportwatcherWidgetBase</receiver>
<slot>tabViewSlot(int)</slot>
<hints>
<hint type="sourcelabel">
<x>989</x>
<y>27</y>
</hint>
<hint type="destinationlabel">
<x>1006</x>
<y>26</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>kcbCurveSlot(int)</slot>
<slot>liActivitiesSlot(QTreeWidgetItem*,int)</slot>
<slot>tabViewSlot(int)</slot>
</slots>
</ui>