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.
321 lines
15 KiB
321 lines
15 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>FilterEdit_base</class>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>FilterEdit_base</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>504</width>
|
|
<height>436</height>
|
|
</rect>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQListBox" row="0" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>mRulesList</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>mNewButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&New</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>mDeleteButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Delete</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQButtonGroup" row="0" column="2" rowspan="2" colspan="1">
|
|
<property name="name">
|
|
<cstring>mDetailsFrame</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Filter Details</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>tqlayout3</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>textLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Name:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit">
|
|
<property name="name">
|
|
<cstring>mNameLineEdit</cstring>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>mRecurringCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hide &recurring events and to-dos</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Select this option if you do not want to show recurring events and to-dos in your views. Daily and weekly recurring items may take a lot of space, so it might be handy to hide them.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>mCompletedCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hide co&mpleted to-dos</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>If this box is checked, the filter will hide all to-do items from the list, that have been completed. Optionally, only items that have been completed a given number of days are hidden.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>tqlayout1</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Fixed</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>15</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQLabel">
|
|
<property name="name">
|
|
<cstring>mCompletedTimeSpanLabel</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Days after completion:</string>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>mCompletedTimeSpan</cstring>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>This option will allow you to select which completed to-dos should be hidden. When you choose <i>Immediately</i>, it will hide the to-do as soon as you check it. You can increase or decrease the number of days in the spinbox.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="KIntNumInput">
|
|
<property name="name">
|
|
<cstring>mCompletedTimeSpan</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>999</number>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>Immediately</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Here you can give the number of days a to-do item has to be completed to be hidden from the to-do list. If you select "Immediately", all completed to-dos will be hidden. If you, for example, choose a value of 1, all to-do items will be hidden, that have been marked finished longer than 24 hours ago.</string>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer3</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>16</width>
|
|
<height>21</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>mHideInactiveTodosCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hide &inactive to-dos</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>This option hides all to-dos from your list, where the start date has not been reached. (Note that the start date is not the due date of the to-do item.)</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQButtonGroup" row="6" column="0">
|
|
<property name="name">
|
|
<cstring>mCategoriesButtonGroup</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Categories</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQListBox" row="2" column="0" rowspan="2" colspan="1">
|
|
<property name="name">
|
|
<cstring>mCatList</cstring>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>NoSelection</enum>
|
|
</property>
|
|
</widget>
|
|
<spacer row="3" column="1">
|
|
<property name="name">
|
|
<cstring>spacer4</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="tqsizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>110</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQRadioButton" row="1" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>mCatHideCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show all except selected</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string></string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>When this option is enabled, this filter will show all items which do <i>not</i> contain the selected categories.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>mCatShowCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show only selected</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string></string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>When this option is enabled, this filter will show all items containing at least the selected items.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton" row="2" column="1">
|
|
<property name="name">
|
|
<cstring>mCatEditButton</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Change...</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string></string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="5" column="0">
|
|
<property name="name">
|
|
<cstring>mHideTodosNotAssignedToMeCheck</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Hide to-dos not assigned to me</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string></string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>This option hides all to-dos from your list which are assigned to someone else.<br>
|
|
Only to-dos which have least one attendee will be checked. If you are not in the list of attendees the to-do will be hidden.</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<customwidgets>
|
|
</customwidgets>
|
|
<connections>
|
|
<connection>
|
|
<sender>mCompletedCheck</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>mCompletedTimeSpanLabel</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>mCompletedCheck</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>mCompletedTimeSpan</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
</connections>
|
|
<Q_SLOTS>
|
|
<slot>updateFilter()</slot>
|
|
</Q_SLOTS>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<includehints>
|
|
<includehint>knuminput.h</includehint>
|
|
<includehint>knuminput.h</includehint>
|
|
</includehints>
|
|
</UI>
|