You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
494 lines
14 KiB
XML
494 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>944</width>
|
|
<height>674</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>qtTrainingPlan</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>300</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Person</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Firstname:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="m_lpFirstName">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Lastname:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="m_lpLastName">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Day of Birth:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDateEdit" name="m_lpDayOfBirth">
|
|
<property name="calendarPopup">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Height:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="m_lpHeight">
|
|
<property name="maximum">
|
|
<number>250</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Weight:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="m_lpWeight">
|
|
<property name="maximum">
|
|
<number>250</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Sport</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QTreeWidget" name="m_lpSportView">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<property name="alternatingRowColors">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="columnCount">
|
|
<number>5</number>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">2</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">3</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">4</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">5</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QTabWidget" name="m_lpMainTab">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Training Plan</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QTreeWidget" name="m_lpPlanView">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<property name="locale">
|
|
<locale language="English" country="UnitedStates"/>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
|
|
</property>
|
|
<property name="columnCount">
|
|
<number>10</number>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">2</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">3</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">4</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">5</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">6</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">7</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">8</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">9</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">10</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_2">
|
|
<attribute name="title">
|
|
<string>Calendar</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>Start Date:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDateEdit" name="m_lpTrainingStart">
|
|
<property name="displayFormat">
|
|
<string>dd.MM.yyyy</string>
|
|
</property>
|
|
<property name="calendarPopup">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Target Date:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDateEdit" name="m_lpTargetDate">
|
|
<property name="displayFormat">
|
|
<string>dd.MM.yyyy</string>
|
|
</property>
|
|
<property name="calendarPopup">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QWebView" name="m_lpCalendar">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::NoContextMenu</enum>
|
|
</property>
|
|
<property name="url">
|
|
<url>
|
|
<string>about:blank</string>
|
|
</url>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>944</width>
|
|
<height>25</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menu_File">
|
|
<property name="title">
|
|
<string>&File</string>
|
|
</property>
|
|
<widget class="QMenu" name="menuExport">
|
|
<property name="title">
|
|
<string>&Export</string>
|
|
</property>
|
|
<addaction name="action_PDF"/>
|
|
</widget>
|
|
<addaction name="action_New"/>
|
|
<addaction name="actionNew_from"/>
|
|
<addaction name="action_Open"/>
|
|
<addaction name="action_Save"/>
|
|
<addaction name="actionSave_as"/>
|
|
<addaction name="menuExport"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="action_Print"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionE_xit"/>
|
|
</widget>
|
|
<addaction name="menu_File"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
<action name="action_New">
|
|
<property name="text">
|
|
<string>&New</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNew_from">
|
|
<property name="text">
|
|
<string>New &from...</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Open">
|
|
<property name="text">
|
|
<string>&Open</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+O</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Save">
|
|
<property name="text">
|
|
<string>&Save</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave_as">
|
|
<property name="text">
|
|
<string>Save &as...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionE_xit">
|
|
<property name="text">
|
|
<string>E&xit</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+X</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Print">
|
|
<property name="text">
|
|
<string>&Print...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_PDF">
|
|
<property name="text">
|
|
<string>PDF...</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>QWebView</class>
|
|
<extends>QWidget</extends>
|
|
<header>QtWebKit/QWebView</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|