<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>PreferencesDialog</class> <widget class="QDialog" name="PreferencesDialog"> <property name="windowModality"> <enum>Qt::ApplicationModal</enum> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>491</width> <height>299</height> </rect> </property> <property name="windowTitle"> <string>Preferences</string> </property> <property name="sizeGripEnabled"> <bool>false</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>4</number> </property> <property name="margin"> <number>4</number> </property> <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="profileTab"> <attribute name="title"> <string>&Profile</string> </attribute> <layout class="QHBoxLayout" name="horizontalLayout_8"> <item> <layout class="QGridLayout" name="gridLayout_2"> <item row="1" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Address:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_13"> <property name="text"> <string>Phone:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="phoneEdit"/> </item> <item row="0" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> <widget class="QLineEdit" name="firstNameEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string/> </property> </widget> </item> </layout> </item> <item row="0" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>First Name:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QLineEdit" name="emailEdit"/> </item> <item row="3" column="0"> <widget class="QLabel" name="label_14"> <property name="text"> <string>Email:</string> </property> </widget> </item> <item row="4" column="1"> <spacer name="verticalSpacer_3"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item row="1" column="1"> <widget class="QPlainTextEdit" name="addressEdit"> <property name="tabChangesFocus"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <layout class="QGridLayout" name="gridLayout"> <item row="1" column="0" colspan="2"> <widget class="QLabel" name="label_12"> <property name="text"> <string>Gender:</string> </property> </widget> </item> <item row="1" column="2"> <layout class="QHBoxLayout" name="horizontalLayout_9"> <item> <widget class="QRadioButton" name="genderMale"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Male</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="genderFemale"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Female</string> </property> </widget> </item> </layout> </item> <item row="2" column="0"> <widget class="QLabel" name="label_10"> <property name="text"> <string>D.O.B.:</string> </property> </widget> </item> <item row="2" column="2"> <widget class="QDateEdit" name="dobEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>You don't have to if you don't want. Some nifty calculations may need it.</string> </property> <property name="displayFormat"> <string>d/MM/yyyy</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_11"> <property name="text"> <string>Height:</string> </property> </widget> </item> <item row="3" column="2"> <widget class="QDoubleSpinBox" name="heightEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Used in BMI calculations. Americans, please us decimal inches here, unless you speak metric.</string> </property> <property name="minimum"> <double>0.000000000000000</double> </property> <property name="maximum"> <double>299.990000000000009</double> </property> </widget> </item> <item row="0" column="2"> <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <widget class="QLineEdit" name="lastNameEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> </layout> </item> <item row="0" column="0"> <widget class="QLabel" name="label_9"> <property name="text"> <string>Last Name:</string> </property> </widget> </item> <item row="4" column="2"> <widget class="QComboBox" name="timeZoneCombo"> <item> <property name="text"> <string>The Moon</string> </property> </item> <item> <property name="text"> <string>Jupiter</string> </property> </item> <item> <property name="text"> <string>Ursa Minor</string> </property> </item> <item> <property name="text"> <string>Yo Momma!</string> </property> </item> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="label_15"> <property name="text"> <string>Time Zone:</string> </property> </widget> </item> <item row="6" column="2"> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item row="5" column="2"> <widget class="QComboBox" name="unitCombo"> <property name="toolTip"> <string/> </property> <item> <property name="text"> <string>Metric</string> </property> </item> <item> <property name="text"> <string>Dark Ages</string> </property> </item> </widget> </item> <item row="5" column="0"> <widget class="QLabel" name="label_16"> <property name="text"> <string>Unit System:</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tab"> <attribute name="title"> <string>&Sessions</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="label_2"> <property name="text"> <string>Day Split Time</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QTimeEdit" name="timeEdit"> <property name="toolTip"> <string>Sessions starting before this time will go to the previous calendar day.</string> </property> <property name="buttonSymbols"> <enum>QAbstractSpinBox::UpDownArrows</enum> </property> <property name="dateTime"> <datetime> <hour>12</hour> <minute>0</minute> <second>0</second> <year>2000</year> <month>1</month> <day>1</day> </datetime> </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> <item> <widget class="QCheckBox" name="memoryHogCheckbox"> <property name="toolTip"> <string>Turn this off if your worried about SleepyHead consuming too much memory. It will be faster changing to days you've already been to if you leave it on. </string> </property> <property name="text"> <string>Retain event data in memory</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="QLabel" name="label"> <property name="text"> <string>Combine Close Sessions </string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="label_4"> <property name="text"> <string>Minutes</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QSlider" name="combineSlider"> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="toolTip"> <string>Multiple sessions closer together than this value will be kept on the same day. </string> </property> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>240</number> </property> <property name="singleStep"> <number>10</number> </property> <property name="pageStep"> <number>60</number> </property> <property name="value"> <number>0</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="invertedAppearance"> <bool>false</bool> </property> <property name="invertedControls"> <bool>false</bool> </property> <property name="tickPosition"> <enum>QSlider::TicksAbove</enum> </property> <property name="tickInterval"> <number>30</number> </property> </widget> </item> <item> <widget class="QLCDNumber" name="combineLCD"> <property name="frameShape"> <enum>QFrame::Box</enum> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QLabel" name="label_3"> <property name="text"> <string>Ignore Short Sessions</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="label_5"> <property name="text"> <string>Minutes</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QSlider" name="IgnoreSlider"> <property name="toolTip"> <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Sessions shorter in duration than this will not be displayed<span style=" font-style:italic;">.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-style:italic;"></p></body></html></string> </property> <property name="maximum"> <number>90</number> </property> <property name="pageStep"> <number>5</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TicksAbove</enum> </property> <property name="tickInterval"> <number>5</number> </property> </widget> </item> <item> <widget class="QLCDNumber" name="IgnoreLCD"> <property name="frameShape"> <enum>QFrame::Box</enum> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>30</height> </size> </property> </spacer> </item> </layout> </widget> <widget class="QWidget" name="tab_2"> <attribute name="title"> <string>&Events</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QLabel" name="label_6"> <property name="text"> <string>This doesn't work yet.. The colours shown are random.</string> </property> </widget> </item> <item> <widget class="QTableWidget" name="eventTable"> <property name="sortingEnabled"> <bool>true</bool> </property> <property name="rowCount"> <number>0</number> </property> <property name="columnCount"> <number>3</number> </property> <attribute name="horizontalHeaderStretchLastSection"> <bool>true</bool> </attribute> <column> <property name="text"> <string>Show</string> </property> <property name="textAlignment"> <set>AlignHCenter|AlignVCenter|AlignCenter</set> </property> </column> <column> <property name="text"> <string>Colour</string> </property> <property name="textAlignment"> <set>AlignHCenter|AlignVCenter|AlignCenter</set> </property> </column> <column> <property name="text"> <string>Event</string> </property> </column> </widget> </item> </layout> </widget> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> <property name="centerButtons"> <bool>false</bool> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>PreferencesDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>PreferencesDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>