Subversion Repositories public

Rev

Rev 245 | Rev 248 | Go to most recent revision | 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>Main window of SportWatcher</comment>
 <class>sportwatcherWidgetBase</class>
 <widget class="QWidget" name="sportwatcherWidgetBase">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>839</width>
    <height>602</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">
   <item row="0" column="1" colspan="13">
    <widget class="K3ListView" name="liLaps">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </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="1">
    <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="2">
    <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="3">
    <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="4" colspan="2">
    <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="6">
    <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="7">
    <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="8">
    <spacer name="spacer8">
     <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="9">
    <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="10">
    <spacer name="spacer9">
     <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="11">
    <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="12" colspan="2">
    <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="1" colspan="13">
    <widget class="QLabel" name="imgMap">
     <property name="minimumSize">
      <size>
       <width>100</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="1" colspan="4">
    <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>
   <item row="3" column="5" colspan="8">
    <widget class="KComboBox" name="kcbCurveTypes">
     <item>
      <property name="text">
       <string>Altitude &amp; heart rate</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Speed &amp; heart rate</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Altitude &amp; speed</string>
      </property>
     </item>
    </widget>
   </item>
   <item row="3" column="13">
    <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="4" column="1" colspan="13">
    <widget class="QLabel" name="imgProfile">
     <property name="minimumSize">
      <size>
       <width>100</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="0" column="0" rowspan="5">
    <widget class="QTreeWidget" name="liActivities">
     <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>
  </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>liLaps</tabstop>
  <tabstop>btHand</tabstop>
  <tabstop>btGlas</tabstop>
  <tabstop>btFlag</tabstop>
  <tabstop>btGlasPlus</tabstop>
  <tabstop>btGlasMinus</tabstop>
  <tabstop>btFullscreen</tabstop>
  <tabstop>kcbCurveTypes</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>224</x>
     <y>102</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>314</x>
     <y>254</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>398</x>
     <y>254</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>748</x>
     <y>254</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>356</x>
     <y>254</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>631</x>
     <y>254</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>515</x>
     <y>254</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>754</x>
     <y>436</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>
 </connections>
 <slots>
  <slot>kcbCurveSlot(int)</slot>
  <slot>liActivitiesSlot(QTreeWidgetItem*,int)</slot>
 </slots>
</ui>