You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
398 lines
16 KiB
398 lines
16 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>KPlato::ResourceDialogBase</class>
|
|
<author>Dag Andersen <danders@get2net.dk></author>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>ResourceDialogBase</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>576</width>
|
|
<height>265</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>ResourceDialogBase</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="TQFrame">
|
|
<property name="name">
|
|
<cstring>frame3</cstring>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Raised</enum>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Name:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>nameEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel1_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Initials:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>initialsEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>tqlayout11</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLineEdit">
|
|
<property name="name">
|
|
<cstring>initialsEdit</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>0</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="tqmaximumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel1_2_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><p align="right">Email:</p></string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>emailEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit">
|
|
<property name="name">
|
|
<cstring>emailEdit</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>tqlayout12</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLineEdit">
|
|
<property name="name">
|
|
<cstring>nameEdit</cstring>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>WheelFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>chooseBtn</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Choose...</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Choose resource from addressbook</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout7</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel7</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Resource type:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>type</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQComboBox">
|
|
<item>
|
|
<property name="text">
|
|
<string>Work</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Material</string>
|
|
</property>
|
|
</item>
|
|
<property name="name">
|
|
<cstring>type</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><p align="right">Calendar:</p></string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>calendarList</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQComboBox">
|
|
<property name="name">
|
|
<cstring>calendarList</cstring>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>tqlayout6</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Available:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>units</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KDateTimeWidget" row="1" column="3">
|
|
<property name="name">
|
|
<cstring>availableUntil</cstring>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>WheelFocus</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>textLabel1_3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><p align="right">From:</p></string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>availableFrom</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQSpinBox" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>units</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>WheelFocus</enum>
|
|
</property>
|
|
<property name="suffix">
|
|
<string>%</string>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>9999</number>
|
|
</property>
|
|
</widget>
|
|
<spacer row="1" column="0">
|
|
<property name="name">
|
|
<cstring>spacer2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQLabel" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>textLabel1_3_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string><p align="right">Until:</p></string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>availableUntil</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="KDateTimeWidget" row="0" column="3">
|
|
<property name="name">
|
|
<cstring>availableFrom</cstring>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>WheelFocus</enum>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>groupBox3_2</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Cost</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel3_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hourly rate:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>rateEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel4_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Overtime rate:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>overtimeEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>rateEdit</cstring>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>WheelFocus</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>overtimeEdit</cstring>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>WheelFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
<spacer row="1" column="2">
|
|
<property name="name">
|
|
<cstring>spacer10</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</grid>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<customwidgets>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>nameEdit</tabstop>
|
|
<tabstop>chooseBtn</tabstop>
|
|
<tabstop>initialsEdit</tabstop>
|
|
<tabstop>emailEdit</tabstop>
|
|
<tabstop>type</tabstop>
|
|
<tabstop>calendarList</tabstop>
|
|
<tabstop>units</tabstop>
|
|
<tabstop>availableFrom</tabstop>
|
|
<tabstop>availableUntil</tabstop>
|
|
<tabstop>rateEdit</tabstop>
|
|
<tabstop>overtimeEdit</tabstop>
|
|
</tabstops>
|
|
<tqlayoutdefaults spacing="6" margin="11"/>
|
|
<includehints>
|
|
<includehint>kdatetimewidget.h</includehint>
|
|
<includehint>kdatewidget.h</includehint>
|
|
<includehint>ktimewidget.h</includehint>
|
|
<includehint>kdatetimewidget.h</includehint>
|
|
<includehint>kdatewidget.h</includehint>
|
|
<includehint>ktimewidget.h</includehint>
|
|
</includehints>
|
|
</UI>
|