OSCAR-code/daily.ui

849 lines
27 KiB
Plaintext
Raw Normal View History

2011-06-26 08:30:44 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Daily</class>
<widget class="QWidget" name="Daily">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>942</width>
<height>666</height>
2011-06-26 08:30:44 +00:00
</rect>
</property>
2011-06-26 11:49:40 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2011-06-26 08:30:44 +00:00
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
2011-06-26 08:30:44 +00:00
<item>
<widget class="QSplitter" name="splitter_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<widget class="QWidget" name="calNavWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>27</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="prevDayButton">
2011-10-30 04:10:29 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Go to the previous day</string>
</property>
<property name="text">
<string>Prev</string>
</property>
<property name="icon">
<iconset resource="Resources.qrc">
2011-12-01 03:12:04 +00:00
<normaloff>:/icons/arrow-left.png</normaloff>:/icons/arrow-left.png</iconset>
2011-10-30 03:58:08 +00:00
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonIconOnly</enum>
2011-10-30 03:58:08 +00:00
</property>
2011-10-30 04:21:35 +00:00
<property name="autoRaise">
<bool>false</bool>
</property>
2011-10-30 03:58:08 +00:00
<property name="arrowType">
2011-10-30 04:21:35 +00:00
<enum>Qt::NoArrow</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="calButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2011-10-30 04:10:29 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Show or hide the calender</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>...</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="arrowType">
2011-10-30 04:21:35 +00:00
<enum>Qt::UpArrow</enum>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="nextDayButton">
2011-10-30 04:10:29 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Go to the next day</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Next</string>
</property>
2011-10-30 09:40:45 +00:00
<property name="icon">
<iconset resource="Resources.qrc">
2011-12-01 03:12:04 +00:00
<normaloff>:/icons/arrow-right.png</normaloff>:/icons/arrow-right.png</iconset>
2011-10-30 09:40:45 +00:00
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonIconOnly</enum>
</property>
2011-10-30 04:21:35 +00:00
<property name="autoRaise">
<bool>false</bool>
</property>
<property name="arrowType">
<enum>Qt::NoArrow</enum>
2011-10-30 04:21:35 +00:00
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="todayButton">
2011-10-30 04:10:29 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="toolTip">
<string>Go to the most recent day with data records</string>
2011-10-30 04:10:29 +00:00
</property>
<property name="icon">
<iconset resource="Resources.qrc">
2011-12-01 03:12:04 +00:00
<normaloff>:/icons/arrow-end.png</normaloff>:/icons/arrow-end.png</iconset>
2011-10-30 03:58:08 +00:00
</property>
<property name="toolButtonStyle">
2011-12-01 03:12:04 +00:00
<enum>Qt::ToolButtonIconOnly</enum>
2011-10-30 03:58:08 +00:00
</property>
2011-10-30 04:21:35 +00:00
<property name="autoRaise">
2011-12-01 03:12:04 +00:00
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
2011-06-26 08:30:44 +00:00
<widget class="QCalendarWidget" name="calendar">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2011-06-26 08:30:44 +00:00
<property name="minimumSize">
<size>
<width>0</width>
2011-10-05 11:51:33 +00:00
<height>200</height>
2011-06-26 08:30:44 +00:00
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
2011-06-26 08:30:44 +00:00
</size>
</property>
<property name="firstDayOfWeek">
<enum>Qt::Monday</enum>
2011-06-26 08:30:44 +00:00
</property>
<property name="gridVisible">
<bool>false</bool>
</property>
<property name="horizontalHeaderFormat">
<enum>QCalendarWidget::ShortDayNames</enum>
</property>
<property name="verticalHeaderFormat">
<enum>QCalendarWidget::NoVerticalHeader</enum>
</property>
<property name="navigationBarVisible">
<bool>true</bool>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
2011-06-26 08:30:44 +00:00
<property name="currentIndex">
<number>0</number>
2011-06-26 08:30:44 +00:00
</property>
<property name="movable">
<bool>true</bool>
</property>
<widget class="QWidget" name="details">
2011-06-26 08:30:44 +00:00
<attribute name="title">
<string>Details</string>
2011-06-26 08:30:44 +00:00
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_8">
2011-06-26 08:30:44 +00:00
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QWebView" name="webView">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2011-06-26 12:25:52 +00:00
<property name="cursor">
<cursorShape>IBeamCursor</cursorShape>
</property>
2011-06-26 08:30:44 +00:00
<property name="url">
<url>
<string>about:blank</string>
</url>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="events">
<attribute name="title">
<string>Events</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
2011-06-26 08:30:44 +00:00
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QTreeWidget" name="treeWidget">
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="animated">
<bool>true</bool>
</property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<attribute name="headerHighlightSections">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<property name="margin">
<number>4</number>
</property>
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>View Size</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="evViewSlider">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>30</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
</property>
<property name="tickInterval">
<number>2</number>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="evViewLCD">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="numDigits">
<number>3</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
</layout>
</item>
2011-06-26 08:30:44 +00:00
</layout>
</widget>
<widget class="QWidget" name="notes">
<attribute name="title">
<string>Notes</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_4">
2011-06-26 08:30:44 +00:00
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
2011-06-26 08:30:44 +00:00
<property name="spacing">
<number>0</number>
2011-06-26 08:30:44 +00:00
</property>
<item>
<widget class="QLabel" name="label_5">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Journal</string>
</property>
</widget>
</item>
2011-10-30 10:29:49 +00:00
<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>
<item>
<widget class="QComboBox" name="JournalNotesFontsize">
<property name="maximumSize">
<size>
<width>85</width>
<height>16777215</height>
</size>
</property>
<property name="maxVisibleItems">
<number>3</number>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
<item>
<property name="text">
<string>Small</string>
</property>
</item>
<item>
<property name="text">
<string>Medium</string>
</property>
</item>
<item>
<property name="text">
<string>Big</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QToolButton" name="JournalNotesColour">
<property name="text">
<string>Color</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="JournalNotesItalic">
<property name="text">
<string> i </string>
</property>
<property name="shortcut">
<string>Ctrl+I</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="JournalNotesUnderline">
<property name="text">
<string>u</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="JournalNotesBold">
<property name="text">
<string>B</string>
</property>
<property name="shortcut">
<string>Ctrl+B</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTextEdit" name="JournalNotes">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="horizontalSpacing">
<number>4</number>
</property>
<property name="verticalSpacing">
<number>4</number>
</property>
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>2</number>
</property>
<item row="0" column="0" colspan="2">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Zombie</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="6">
<widget class="QLabel" name="label_9">
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>I'm feeling...</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
2011-12-02 13:48:05 +00:00
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Weight</string>
</property>
</widget>
</item>
2011-12-03 01:05:17 +00:00
<item row="2" column="1" colspan="2">
2011-12-02 13:48:05 +00:00
<widget class="QDoubleSpinBox" name="weightSpinBox">
<property name="maximum">
2012-01-05 15:26:09 +00:00
<double>1499.000000000000000</double>
2011-12-02 13:48:05 +00:00
</property>
</widget>
</item>
<item row="1" column="0" colspan="8">
2011-12-02 13:48:05 +00:00
<widget class="QSlider" name="ZombieMeter">
<property name="maximum">
<number>10</number>
</property>
<property name="pageStep">
<number>5</number>
</property>
2011-12-02 13:48:05 +00:00
<property name="value">
<number>5</number>
2011-12-02 13:48:05 +00:00
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
</property>
<property name="tickInterval">
<number>1</number>
2011-12-02 13:48:05 +00:00
</property>
</widget>
</item>
2011-12-03 01:05:17 +00:00
<item row="2" column="3">
2011-12-02 13:48:05 +00:00
<widget class="QSpinBox" name="ouncesSpinBox">
<property name="suffix">
<string/>
</property>
</widget>
</item>
<item row="0" column="7">
2011-12-03 01:05:17 +00:00
<widget class="QLabel" name="label_10">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Awesome</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="7">
2011-12-03 01:05:17 +00:00
<widget class="QLCDNumber" name="BMI">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="smallDecimalPoint">
<bool>true</bool>
</property>
<property name="numDigits">
<number>5</number>
</property>
<property name="segmentStyle">
<enum>QLCDNumber::Flat</enum>
</property>
</widget>
</item>
<item row="2" column="4" colspan="3">
<widget class="QLabel" name="BMIlabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2011-12-03 01:05:17 +00:00
</property>
<property name="text">
<string>B.M.I.</string>
2011-12-03 01:05:17 +00:00
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
2011-12-03 01:05:17 +00:00
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="bookmarkTab">
<attribute name="title">
<string>Bookmarks</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QPushButton" name="addBookmarkButton">
<property name="text">
<string>Add Bookmark</string>
</property>
</widget>
</item>
<item>
<widget class="QTableWidget" name="bookmarkTable">
<property name="alternatingRowColors">
<bool>true</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="sortingEnabled">
<bool>true</bool>
</property>
<attribute name="horizontalHeaderStretchLastSection">
<bool>true</bool>
</attribute>
<column>
<property name="text">
<string>Starts</string>
</property>
</column>
<column>
<property name="text">
<string>Notes</string>
</property>
</column>
</widget>
2011-06-26 08:30:44 +00:00
</item>
<item>
<widget class="QPushButton" name="removeBookmarkButton">
<property name="text">
<string>Remove Bookmark</string>
</property>
</widget>
</item>
2011-06-26 08:30:44 +00:00
</layout>
</widget>
</widget>
</widget>
2012-01-05 15:26:09 +00:00
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="graphMainArea" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>2</number>
</property>
<property name="leftMargin">
<number>2</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QToolButton" name="zoomFullyOut">
<property name="toolTip">
<string>Zoom fully out</string>
</property>
<property name="text">
<string>100%</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="resetLayoutButton">
<property name="toolTip">
<string>Reset the graph heights to uniform sizes</string>
</property>
<property name="text">
<string>Reset</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</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>
<item>
<widget class="QToolButton" name="toggleGraphs">
<property name="text">
<string>...</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
<property name="arrowType">
<enum>Qt::DownArrow</enum>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="graphCombo">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Drop down this list to show/hide available graphs.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
2011-06-26 08:30:44 +00:00
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>QWebView</class>
<extends>QWidget</extends>
<header>QtWebKit/QWebView</header>
</customwidget>
</customwidgets>
2011-10-30 09:40:45 +00:00
<resources>
<include location="Resources.qrc"/>
</resources>
2011-06-26 08:30:44 +00:00
<connections/>
</ui>