<ui version="4.0" >
 <author>Reinhold Kainhofer &lt;reinhold@kainhofer.com></author>
 <comment>Configuration page for the print day mode.</comment>
 <class>CalPrintTodoConfig_Base</class>
 <widget class="QWidget" name="CalPrintTodoConfig_Base" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>500</width>
    <height>476</height>
   </rect>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_2" >
   <item>
    <widget class="QLabel" name="label" >
     <property name="text" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Print to-dos options:&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
     </property>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" >
     <item>
      <widget class="QLabel" name="mTitleLabel" >
       <property name="text" >
        <string>&amp;Title:</string>
       </property>
       <property name="buddy" >
        <cstring>mTitle</cstring>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLineEdit" name="mTitle" >
       <property name="text" >
        <string>To-do List</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QGroupBox" name="mPrintType" >
     <property name="title" >
      <string>To-dos to Print</string>
     </property>
     <layout class="QGridLayout" >
      <item row="0" column="0" >
       <widget class="QRadioButton" name="mPrintAll" >
        <property name="text" >
         <string>Print &amp;all to-dos</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QRadioButton" name="mPrintUnfinished" >
        <property name="enabled" >
         <bool>true</bool>
        </property>
        <property name="text" >
         <string>Print &amp;unfinished to-dos only</string>
        </property>
       </widget>
      </item>
      <item row="2" column="0" >
       <widget class="QRadioButton" name="mPrintDueRange" >
        <property name="enabled" >
         <bool>true</bool>
        </property>
        <property name="text" >
         <string>Print only to-dos due in the &amp;range:</string>
        </property>
       </widget>
      </item>
      <item row="3" column="0" >
       <layout class="QHBoxLayout" >
        <property name="spacing" >
         <number>6</number>
        </property>
        <property name="margin" >
         <number>0</number>
        </property>
        <item>
         <spacer>
          <property name="orientation" >
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType" >
           <enum>QSizePolicy::Fixed</enum>
          </property>
          <property name="sizeHint" stdset="0" >
           <size>
            <width>16</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="QLabel" name="mFromDateLabel" >
          <property name="enabled" >
           <bool>false</bool>
          </property>
          <property name="sizePolicy" >
           <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="text" >
           <string>&amp;Start date:</string>
          </property>
          <property name="buddy" >
           <cstring>mFromDate</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="KPIM::KDateEdit" name="mFromDate" >
          <property name="enabled" >
           <bool>false</bool>
          </property>
          <property name="font" >
           <font>
            <family>Sans Serif</family>
            <pointsize>9</pointsize>
            <weight>50</weight>
            <italic>false</italic>
            <bold>false</bold>
            <underline>false</underline>
            <strikeout>false</strikeout>
           </font>
          </property>
          <property name="focusPolicy" >
           <enum>Qt::StrongFocus</enum>
          </property>
          <property name="whatsThis" >
           <string>If you want to print more days at once, you can define a range of dates with this option and the &lt;i>End date&lt;/i> option. This option is used to define the start date.</string>
          </property>
          <item>
           <property name="text" >
            <string>2008-07-14</string>
           </property>
          </item>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="mToDateLabel" >
          <property name="enabled" >
           <bool>false</bool>
          </property>
          <property name="sizePolicy" >
           <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="text" >
           <string>&amp;End date:</string>
          </property>
          <property name="buddy" >
           <cstring>mToDate</cstring>
          </property>
         </widget>
        </item>
        <item>
         <widget class="KPIM::KDateEdit" name="mToDate" >
          <property name="enabled" >
           <bool>false</bool>
          </property>
          <property name="focusPolicy" >
           <enum>Qt::StrongFocus</enum>
          </property>
          <property name="whatsThis" >
           <string>If you want to print more days at once, you can define a range of dates with this option and the &lt;i>Start date&lt;/i> option. This option is used to define the end date.</string>
          </property>
          <item>
           <property name="text" >
            <string>2008-07-14</string>
           </property>
          </item>
         </widget>
        </item>
        <item>
         <spacer>
          <property name="orientation" >
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType" >
           <enum>QSizePolicy::Expanding</enum>
          </property>
          <property name="sizeHint" stdset="0" >
           <size>
            <width>128</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="includeInfoBox" >
     <property name="title" >
      <string>Include Information</string>
     </property>
     <property name="checkable" >
      <bool>false</bool>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout" >
      <item>
       <widget class="QCheckBox" name="mDescription" >
        <property name="text" >
         <string>&amp;Description</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="mPriority" >
        <property name="text" >
         <string>&amp;Priority</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="mDueDate" >
        <property name="text" >
         <string>Due date</string>
        </property>
        <property name="shortcut" >
         <string/>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="mPercentComplete" >
        <property name="text" >
         <string>Per&amp;centage completed</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
     <zorder>mDescription</zorder>
     <zorder>mDueDate</zorder>
     <zorder>mPercentComplete</zorder>
     <zorder>mPriority</zorder>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="otherOptionsBox" >
     <property name="title" >
      <string>Other Options</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout" >
      <item>
       <widget class="QCheckBox" name="mConnectSubTodos" >
        <property name="text" >
         <string>Co&amp;nnect sub-to-dos with its parent</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="mStrikeOutCompleted" >
        <property name="text" >
         <string>Strike &amp;out completed to-do summaries</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="sortingOptionsBox" >
     <property name="title" >
      <string>Sorting Options</string>
     </property>
     <layout class="QHBoxLayout" name="horizontalLayout_2" >
      <item>
       <layout class="QHBoxLayout" >
        <item>
         <widget class="QLabel" name="sortFieldLabel" >
          <property name="enabled" >
           <bool>true</bool>
          </property>
          <property name="text" >
           <string>Sort field:</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QComboBox" name="mSortField" >
          <property name="enabled" >
           <bool>true</bool>
          </property>
          <property name="sizePolicy" >
           <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
            <horstretch>1</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" >
        <item>
         <widget class="QLabel" name="sortDirectionLabel" >
          <property name="enabled" >
           <bool>true</bool>
          </property>
          <property name="text" >
           <string>Sort direction:</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QComboBox" name="mSortDirection" >
          <property name="enabled" >
           <bool>true</bool>
          </property>
          <property name="sizePolicy" >
           <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
            <horstretch>1</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11" />
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
 <customwidgets>
  <customwidget>
   <class>KPIM::KDateEdit</class>
   <extends>QComboBox</extends>
   <header>libkdepim/kdateedit.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>mTitle</tabstop>
  <tabstop>mPrintAll</tabstop>
  <tabstop>mFromDate</tabstop>
  <tabstop>mToDate</tabstop>
  <tabstop>mDescription</tabstop>
  <tabstop>mDueDate</tabstop>
  <tabstop>mPriority</tabstop>
  <tabstop>mPercentComplete</tabstop>
  <tabstop>mSortField</tabstop>
  <tabstop>mConnectSubTodos</tabstop>
  <tabstop>mStrikeOutCompleted</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>mPrintDueRange</sender>
   <signal>toggled(bool)</signal>
   <receiver>mFromDateLabel</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel" >
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mPrintDueRange</sender>
   <signal>toggled(bool)</signal>
   <receiver>mToDate</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel" >
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mPrintDueRange</sender>
   <signal>toggled(bool)</signal>
   <receiver>mToDateLabel</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel" >
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mPrintDueRange</sender>
   <signal>toggled(bool)</signal>
   <receiver>mFromDate</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>20</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel" >
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
