Files
QtZeiterfassung/mainwindow.ui
T

396 lines
11 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>1411</width>
<height>575</height>
</rect>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/icon.png</normaloff>:/zeiterfassung/images/icon.png</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" stretch="0,0">
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QDateEdit" name="dateEditDate"/>
</item>
<item>
<widget class="QPushButton" name="pushButtonPrev">
<property name="whatsThis">
<string>Previous day</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/previous.png</normaloff>:/zeiterfassung/images/previous.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonNext">
<property name="whatsThis">
<string>Next day</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/next.png</normaloff>:/zeiterfassung/images/next.png</iconset>
</property>
</widget>
</item>
<item>
<spacer>
<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="QTimeEdit" name="timeEditTime"/>
</item>
<item>
<widget class="QPushButton" name="pushButtonNow">
<property name="whatsThis">
<string>Now</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/now.png</normaloff>:/zeiterfassung/images/now.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBoxProject">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBoxSubproject">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="insertPolicy">
<enum>QComboBox::NoInsert</enum>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBoxWorkpackage">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="insertPolicy">
<enum>QComboBox::NoInsert</enum>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBoxText">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="insertPolicy">
<enum>QComboBox::NoInsert</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonStart">
<property name="text">
<string>Start</string>
</property>
</widget>
</item>
<item>
<spacer>
<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="pushButtonEnd">
<property name="text">
<string>End</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QScrollArea" name="scrollArea">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<attribute name="title">
<string>Optimized view</string>
</attribute>
<widget class="QWidget" name="widgetWeek">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1389</width>
<height>409</height>
</rect>
</property>
<layout class="QHBoxLayout" name="layoutWeek"/>
</widget>
</widget>
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<attribute name="title">
<string>Advanced view</string>
</attribute>
<widget class="QGroupBox" name="groupBoxBookings">
<property name="title">
<string>Bookings</string>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="QTreeView" name="treeViewBookings">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="groupBoxTimeAssignments">
<property name="title">
<string>Time assignments</string>
</property>
<layout class="QHBoxLayout">
<item>
<widget class="QTreeView" name="treeViewTimeAssignments">
<property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1411</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>&amp;File</string>
</property>
<addaction name="actionQuit"/>
</widget>
<widget class="QMenu" name="menu_About">
<property name="title">
<string>&amp;About</string>
</property>
<addaction name="actionAboutMe"/>
<addaction name="actionSettings"/>
<addaction name="actionHelp"/>
<addaction name="separator"/>
<addaction name="actionAboutzeiterfassung"/>
<addaction name="actionAboutQt"/>
</widget>
<widget class="QMenu" name="menu_View">
<property name="title">
<string>&amp;View</string>
</property>
<addaction name="actionToday"/>
<addaction name="actionRefresh"/>
</widget>
<widget class="QMenu" name="menu_Tools">
<property name="title">
<string>&amp;Tools</string>
</property>
<addaction name="actionAuswertung"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menu_View"/>
<addaction name="menu_Tools"/>
<addaction name="menu_About"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionToday"/>
<addaction name="actionRefresh"/>
<addaction name="actionAuswertung"/>
<addaction name="actionSettings"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="actionQuit">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/quit.png</normaloff>:/zeiterfassung/images/quit.png</iconset>
</property>
<property name="text">
<string>&amp;Quit</string>
</property>
</action>
<action name="actionAboutMe">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/user.png</normaloff>:/zeiterfassung/images/user.png</iconset>
</property>
<property name="text">
<string>About &amp;Me</string>
</property>
</action>
<action name="actionAboutzeiterfassung">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/about.png</normaloff>:/zeiterfassung/images/about.png</iconset>
</property>
<property name="text">
<string>About &amp;zeiterfassung</string>
</property>
</action>
<action name="actionAboutQt">
<property name="text">
<string>About &amp;Qt</string>
</property>
</action>
<action name="actionToday">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/today.png</normaloff>:/zeiterfassung/images/today.png</iconset>
</property>
<property name="text">
<string>&amp;Today</string>
</property>
</action>
<action name="actionRefresh">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/refresh.png</normaloff>:/zeiterfassung/images/refresh.png</iconset>
</property>
<property name="text">
<string>&amp;Refresh everything</string>
</property>
</action>
<action name="actionAuswertung">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/auswertung.png</normaloff>:/zeiterfassung/images/auswertung.png</iconset>
</property>
<property name="text">
<string>&amp;Auswertung</string>
</property>
</action>
<action name="actionSettings">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/settings.png</normaloff>:/zeiterfassung/images/settings.png</iconset>
</property>
<property name="text">
<string>&amp;Settings</string>
</property>
</action>
<action name="actionHelp">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/zeiterfassung/images/help.png</normaloff>:/zeiterfassung/images/help.png</iconset>
</property>
<property name="text">
<string>Help</string>
</property>
</action>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>actionQuit</sender>
<signal>triggered()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>458</x>
<y>296</y>
</hint>
</hints>
</connection>
</connections>
</ui>