Created
August 31, 2016 21:32
-
-
Save dossjh/95d14b15c63cee6bb0b5d2db631b755d to your computer and use it in GitHub Desktop.
QDesigner ui files for Stackoverflow post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ui version="4.0"> | |
<class>Form</class> | |
<widget class="QWidget" name="Form"> | |
<property name="geometry"> | |
<rect> | |
<x>0</x> | |
<y>0</y> | |
<width>848</width> | |
<height>46</height> | |
</rect> | |
</property> | |
<property name="windowTitle"> | |
<string>Form</string> | |
</property> | |
<widget class="QWidget" name="layoutWidget"> | |
<property name="geometry"> | |
<rect> | |
<x>13</x> | |
<y>8</y> | |
<width>732</width> | |
<height>25</height> | |
</rect> | |
</property> | |
<layout class="QHBoxLayout" name="horizontalLayout"> | |
<property name="sizeConstraint"> | |
<enum>QLayout::SetFixedSize</enum> | |
</property> | |
<property name="leftMargin"> | |
<number>1</number> | |
</property> | |
<property name="topMargin"> | |
<number>1</number> | |
</property> | |
<property name="rightMargin"> | |
<number>1</number> | |
</property> | |
<property name="bottomMargin"> | |
<number>1</number> | |
</property> | |
<item> | |
<widget class="QTimeEdit" name="timeStart"> | |
<property name="maximumSize"> | |
<size> | |
<width>69</width> | |
<height>16777215</height> | |
</size> | |
</property> | |
<property name="focusPolicy"> | |
<enum>Qt::StrongFocus</enum> | |
</property> | |
<property name="frame"> | |
<bool>false</bool> | |
</property> | |
<property name="displayFormat"> | |
<string>h:mm AP</string> | |
</property> | |
<property name="time"> | |
<time> | |
<hour>7</hour> | |
<minute>45</minute> | |
<second>0</second> | |
</time> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QTimeEdit" name="timeFinish"> | |
<property name="minimumSize"> | |
<size> | |
<width>0</width> | |
<height>18</height> | |
</size> | |
</property> | |
<property name="maximumSize"> | |
<size> | |
<width>69</width> | |
<height>16777215</height> | |
</size> | |
</property> | |
<property name="focusPolicy"> | |
<enum>Qt::StrongFocus</enum> | |
</property> | |
<property name="frame"> | |
<bool>false</bool> | |
</property> | |
<property name="displayFormat"> | |
<string>h:mm AP</string> | |
</property> | |
<property name="time"> | |
<time> | |
<hour>8</hour> | |
<minute>45</minute> | |
<second>0</second> | |
</time> | |
</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="QPushButton" name="addButton"> | |
<property name="sizePolicy"> | |
<sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
<horstretch>0</horstretch> | |
<verstretch>0</verstretch> | |
</sizepolicy> | |
</property> | |
<property name="minimumSize"> | |
<size> | |
<width>75</width> | |
<height>23</height> | |
</size> | |
</property> | |
<property name="maximumSize"> | |
<size> | |
<width>75</width> | |
<height>23</height> | |
</size> | |
</property> | |
<property name="text"> | |
<string>Add Row</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="deleteButton"> | |
<property name="minimumSize"> | |
<size> | |
<width>75</width> | |
<height>23</height> | |
</size> | |
</property> | |
<property name="maximumSize"> | |
<size> | |
<width>75</width> | |
<height>23</height> | |
</size> | |
</property> | |
<property name="text"> | |
<string>Delete Row</string> | |
</property> | |
</widget> | |
</item> | |
</layout> | |
</widget> | |
</widget> | |
<tabstops> | |
<tabstop>timeStart</tabstop> | |
<tabstop>timeFinish</tabstop> | |
<tabstop>addButton</tabstop> | |
<tabstop>deleteButton</tabstop> | |
</tabstops> | |
<resources/> | |
<connections/> | |
</ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ui version="4.0"> | |
<class>Form</class> | |
<widget class="QWidget" name="Form"> | |
<property name="geometry"> | |
<rect> | |
<x>0</x> | |
<y>0</y> | |
<width>830</width> | |
<height>479</height> | |
</rect> | |
</property> | |
<property name="windowTitle"> | |
<string>Form</string> | |
</property> | |
<layout class="QVBoxLayout" name="verticalLayout_2"> | |
<item> | |
<layout class="QVBoxLayout" name="verticalLayout"> | |
<item> | |
<layout class="QHBoxLayout" name="horizontalLayout"> | |
<item> | |
<spacer name="horizontalSpacer_7"> | |
<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="QLabel" name="label_4"> | |
<property name="text"> | |
<string>Date:</string> | |
</property> | |
<property name="buddy"> | |
<cstring>dateEdit</cstring> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QDateEdit" name="dateEdit"> | |
<property name="focusPolicy"> | |
<enum>Qt::StrongFocus</enum> | |
</property> | |
<property name="frame"> | |
<bool>false</bool> | |
</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> | |
<item> | |
<widget class="QLabel" name="label_2"> | |
<property name="text"> | |
<string>Time in:</string> | |
</property> | |
<property name="buddy"> | |
<cstring>timeInEdit</cstring> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QTimeEdit" name="timeInEdit"> | |
<property name="minimumSize"> | |
<size> | |
<width>0</width> | |
<height>18</height> | |
</size> | |
</property> | |
<property name="focusPolicy"> | |
<enum>Qt::StrongFocus</enum> | |
</property> | |
<property name="frame"> | |
<bool>false</bool> | |
</property> | |
<property name="displayFormat"> | |
<string>h:mm AP</string> | |
</property> | |
<property name="time"> | |
<time> | |
<hour>7</hour> | |
<minute>45</minute> | |
<second>0</second> | |
</time> | |
</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="QLabel" name="label_3"> | |
<property name="text"> | |
<string>Time out:</string> | |
</property> | |
<property name="buddy"> | |
<cstring>timeOutEdit</cstring> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QTimeEdit" name="timeOutEdit"> | |
<property name="minimumSize"> | |
<size> | |
<width>0</width> | |
<height>18</height> | |
</size> | |
</property> | |
<property name="focusPolicy"> | |
<enum>Qt::StrongFocus</enum> | |
</property> | |
<property name="frame"> | |
<bool>false</bool> | |
</property> | |
<property name="displayFormat"> | |
<string>h:mm AP</string> | |
</property> | |
<property name="time"> | |
<time> | |
<hour>16</hour> | |
<minute>30</minute> | |
<second>0</second> | |
</time> | |
</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="QLabel" name="label"> | |
<property name="text"> | |
<string>Employee</string> | |
</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> | |
<item> | |
<widget class="QCheckBox" name="cbLunch"> | |
<property name="text"> | |
<string>Lunch Mins:</string> | |
</property> | |
<property name="checked"> | |
<bool>true</bool> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QLineEdit" name="editLunch"> | |
<property name="minimumSize"> | |
<size> | |
<width>31</width> | |
<height>20</height> | |
</size> | |
</property> | |
<property name="maximumSize"> | |
<size> | |
<width>31</width> | |
<height>20</height> | |
</size> | |
</property> | |
<property name="inputMask"> | |
<string>09</string> | |
</property> | |
<property name="text"> | |
<string>45</string> | |
</property> | |
<property name="maxLength"> | |
<number>2</number> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<spacer name="horizontalSpacer_5"> | |
<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> | |
<layout class="QVBoxLayout" name="spacer"> | |
<item> | |
<spacer name="verticalSpacer"> | |
<property name="orientation"> | |
<enum>Qt::Vertical</enum> | |
</property> | |
<property name="sizeHint" stdset="0"> | |
<size> | |
<width>20</width> | |
<height>40</height> | |
</size> | |
</property> | |
</spacer> | |
</item> | |
</layout> | |
</item> | |
<item> | |
<layout class="QHBoxLayout" name="horizontalLayout_2"> | |
<item> | |
<widget class="QPushButton" name="optionsButton"> | |
<property name="text"> | |
<string>Options</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="quitButton"> | |
<property name="text"> | |
<string>Go Home</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="dataButton"> | |
<property name="text"> | |
<string>Database</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<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> | |
<widget class="QLabel" name="labelSaved"> | |
<property name="text"> | |
<string><html><head/><body><p>Timesheet Saved!</p></body></html></string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<spacer name="horizontalSpacer_8"> | |
<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> | |
<spacer name="horizontalSpacer_9"> | |
<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="QPushButton" name="clearButton"> | |
<property name="text"> | |
<string>Clear All</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="cancelButton"> | |
<property name="text"> | |
<string>Cancel</string> | |
</property> | |
</widget> | |
</item> | |
<item> | |
<widget class="QPushButton" name="saveButton"> | |
<property name="text"> | |
<string>&Save</string> | |
</property> | |
</widget> | |
</item> | |
</layout> | |
</item> | |
</layout> | |
</item> | |
</layout> | |
</widget> | |
<tabstops> | |
<tabstop>optionsButton</tabstop> | |
<tabstop>editLunch</tabstop> | |
<tabstop>cbLunch</tabstop> | |
<tabstop>quitButton</tabstop> | |
<tabstop>dateEdit</tabstop> | |
<tabstop>timeInEdit</tabstop> | |
<tabstop>timeOutEdit</tabstop> | |
<tabstop>dataButton</tabstop> | |
<tabstop>cancelButton</tabstop> | |
<tabstop>saveButton</tabstop> | |
<tabstop>clearButton</tabstop> | |
</tabstops> | |
<resources/> | |
<connections> | |
<connection> | |
<sender>cbLunch</sender> | |
<signal>toggled(bool)</signal> | |
<receiver>editLunch</receiver> | |
<slot>setEnabled(bool)</slot> | |
<hints> | |
<hint type="sourcelabel"> | |
<x>714</x> | |
<y>59</y> | |
</hint> | |
<hint type="destinationlabel"> | |
<x>751</x> | |
<y>60</y> | |
</hint> | |
</hints> | |
</connection> | |
</connections> | |
</ui> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment