<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>emailDialog</class>
 <widget class="QDialog" name="emailDialog">
  <property name="windowModality">
   <enum>Qt::NonModal</enum>
  </property>
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>540</width>
    <height>460</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>luckyBackup - email</string>
  </property>
  <property name="windowIcon">
   <iconset resource="../resources/luckybackup.qrc">
    <normaloff>:/luckyPrefix/luckybackup_96.png</normaloff>:/luckyPrefix/luckybackup_96.png</iconset>
  </property>
  <layout class="QGridLayout" name="gridLayout_3">
   <item row="0" column="0">
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QLabel" name="label_emailIcon">
       <property name="text">
        <string/>
       </property>
       <property name="pixmap">
        <pixmap resource="../resources/luckybackup.qrc">:/luckyPrefix/email.png</pixmap>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="label_message">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="font">
        <font>
         <pointsize>10</pointsize>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
        <string>Email a report after profile execution</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
       <property name="wordWrap">
        <bool>true</bool>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item row="1" column="0">
    <layout class="QHBoxLayout" name="horizontalLayout_3">
     <item>
      <widget class="QLabel" name="label_command">
       <property name="text">
        <string>command:</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLineEdit" name="lineEdit_command">
       <property name="maximumSize">
        <size>
         <width>120</width>
         <height>100</height>
        </size>
       </property>
       <property name="toolTip">
        <string>Enter the command to run
eg
sendemail</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="label_arguments">
       <property name="text">
        <string>arguments:</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLineEdit" name="lineEdit_arguments">
       <property name="toolTip">
        <string>Enter arguments of the email command
eg
 -f %f -t %t -u &quot;%s&quot; -m &quot;%b&quot; -a %l -s %v</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QToolButton" name="toolButton_default_command">
       <property name="toolTip">
        <string extracomment="This means &quot;use the default value for this field&quot;">Use default</string>
       </property>
       <property name="icon">
        <iconset resource="../resources/luckybackup.qrc">
         <normaloff>:/luckyPrefix/undo.png</normaloff>:/luckyPrefix/undo.png</iconset>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item row="2" column="0">
    <widget class="QGroupBox" name="groupBox_onlySend">
     <property name="toolTip">
      <string>Specify the conditions to send an email</string>
     </property>
     <property name="title">
      <string>Conditions</string>
     </property>
     <layout class="QGridLayout" name="gridLayout">
      <item row="0" column="1">
       <widget class="QCheckBox" name="checkBox_conditionError">
        <property name="cursor">
         <cursorShape>PointingHandCursor</cursorShape>
        </property>
        <property name="toolTip">
         <string>Only send when error(s) occurred during a run</string>
        </property>
        <property name="text">
         <string>Error(s) occurred</string>
        </property>
       </widget>
      </item>
      <item row="0" column="2">
       <widget class="QCheckBox" name="checkBox_conditionSchedule">
        <property name="cursor">
         <cursorShape>PointingHandCursor</cursorShape>
        </property>
        <property name="toolTip">
         <string>Only send when profile is scheduled to run</string>
        </property>
        <property name="text">
         <string>Profile is scheduled</string>
        </property>
       </widget>
      </item>
      <item row="0" column="0">
       <widget class="QCheckBox" name="checkBox_conditionNever">
        <property name="cursor">
         <cursorShape>PointingHandCursor</cursorShape>
        </property>
        <property name="toolTip">
         <string>Never send an email</string>
        </property>
        <property name="text">
         <string>Never</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="3" column="0">
    <widget class="QGroupBox" name="groupBox_arguments">
     <property name="title">
      <string>Arguments</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_2">
      <item row="1" column="0">
       <widget class="QLabel" name="label_arg_from">
        <property name="toolTip">
         <string extracomment="Do not change the %f"/>
        </property>
        <property name="text">
         <string>%f from:</string>
        </property>
       </widget>
      </item>
      <item row="1" column="1" colspan="2">
       <widget class="QLineEdit" name="lineEdit_arg_from">
        <property name="toolTip">
         <string>Enter the sender of the message</string>
        </property>
       </widget>
      </item>
      <item row="1" column="3" rowspan="6">
       <widget class="Line" name="line">
        <property name="orientation">
         <enum>Qt::Vertical</enum>
        </property>
       </widget>
      </item>
      <item row="1" column="4" rowspan="6">
       <layout class="QVBoxLayout" name="verticalLayout">
        <item>
         <widget class="QLabel" name="label_arg_logfile">
          <property name="toolTip">
           <string extracomment="Do not change the %l"/>
          </property>
          <property name="text">
           <string>%l logfile</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_arg_logfile_compressed">
          <property name="text">
           <string>%c logfile.tar.gz</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_arg_date">
          <property name="toolTip">
           <string extracomment="Do not change the %d"/>
          </property>
          <property name="text">
           <string>%d date</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_arg_time">
          <property name="toolTip">
           <string extracomment="Do not change the %i"/>
          </property>
          <property name="text">
           <string>%i time</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_arg_profilename">
          <property name="toolTip">
           <string extracomment="Do not change the %p"/>
          </property>
          <property name="text">
           <string>%p profile name</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="label_arg_Errors">
          <property name="toolTip">
           <string extracomment="Do not change the %p"/>
          </property>
          <property name="text">
           <string>%e No of errors</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QCheckBox" name="checkBox_disable_tls">
          <property name="cursor">
           <cursorShape>PointingHandCursor</cursorShape>
          </property>
          <property name="toolTip">
           <string>If unchecked &quot;TLS auto&quot; is used. Only available for sendemail</string>
          </property>
          <property name="text">
           <string>Disable TLS</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer name="verticalSpacer_2">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>85</width>
            <height>64</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
      <item row="2" column="0">
       <widget class="QLabel" name="label_arg_to">
        <property name="toolTip">
         <string extracomment="Do not change the %t"/>
        </property>
        <property name="text">
         <string>%t to:</string>
        </property>
       </widget>
      </item>
      <item row="2" column="1" colspan="2">
       <widget class="QLineEdit" name="lineEdit_arg_to">
        <property name="toolTip">
         <string>Enter the recipient of the message</string>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="QLabel" name="label_arg_subject">
        <property name="toolTip">
         <string extracomment="Do not change the %s"/>
        </property>
        <property name="text">
         <string>%s subject:</string>
        </property>
       </widget>
      </item>
      <item row="3" column="1">
       <widget class="QLineEdit" name="lineEdit_arg_subject">
        <property name="toolTip">
         <string>Enter the subject of the message</string>
        </property>
       </widget>
      </item>
      <item row="4" column="0">
       <widget class="QLabel" name="label_arg_smtp">
        <property name="toolTip">
         <string extracomment="Do not change the %v"/>
        </property>
        <property name="text">
         <string>%v smtp server:</string>
        </property>
       </widget>
      </item>
      <item row="4" column="1" colspan="2">
       <widget class="QLineEdit" name="lineEdit_arg_smtp">
        <property name="toolTip">
         <string>Enter the smtp server used to send the message</string>
        </property>
       </widget>
      </item>
      <item row="5" column="0">
       <widget class="QLabel" name="label_arg_body">
        <property name="toolTip">
         <string extracomment="Do not change the %b"/>
        </property>
        <property name="text">
         <string>%b body:</string>
        </property>
       </widget>
      </item>
      <item row="5" column="1" rowspan="2">
       <widget class="QTextBrowser" name="textBrowser_arg_body">
        <property name="cursor" stdset="0">
         <cursorShape>IBeamCursor</cursorShape>
        </property>
        <property name="toolTip">
         <string>Enter the body of the message</string>
        </property>
        <property name="textInteractionFlags">
         <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
        </property>
       </widget>
      </item>
      <item row="6" column="0">
       <spacer name="verticalSpacer">
        <property name="orientation">
         <enum>Qt::Vertical</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>83</width>
          <height>61</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="3" column="2">
       <widget class="QToolButton" name="toolButton_default_subject">
        <property name="toolTip">
         <string extracomment="This means &quot;use the default value for this field&quot;">Use default</string>
        </property>
        <property name="text">
         <string/>
        </property>
        <property name="icon">
         <iconset resource="../resources/luckybackup.qrc">
          <normaloff>:/luckyPrefix/undo.png</normaloff>:/luckyPrefix/undo.png</iconset>
        </property>
       </widget>
      </item>
      <item row="5" column="2">
       <widget class="QToolButton" name="toolButton_default_body">
        <property name="toolTip">
         <string extracomment="This means &quot;use the default value for this field&quot;">Use default</string>
        </property>
        <property name="text">
         <string/>
        </property>
        <property name="icon">
         <iconset resource="../resources/luckybackup.qrc">
          <normaloff>:/luckyPrefix/undo.png</normaloff>:/luckyPrefix/undo.png</iconset>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="4" column="0">
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <item>
      <widget class="QPushButton" name="pushButton_test">
       <property name="toolTip">
        <string>Send an email right now to test the provided arguments</string>
       </property>
       <property name="text">
        <string>Test</string>
       </property>
       <property name="icon">
        <iconset resource="../resources/luckybackup.qrc">
         <normaloff>:/luckyPrefix/mail-forward.png</normaloff>:/luckyPrefix/mail-forward.png</iconset>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer_2">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>88</width>
         <height>23</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="pushButton_ok">
       <property name="toolTip">
        <string>Accept changes and close dialog</string>
       </property>
       <property name="text">
        <string>Okay</string>
       </property>
       <property name="icon">
        <iconset resource="../resources/luckybackup.qrc">
         <normaloff>:/luckyPrefix/okay.png</normaloff>:/luckyPrefix/okay.png</iconset>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeType">
        <enum>QSizePolicy::Fixed</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>13</width>
         <height>23</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="pushButton_cancel">
       <property name="toolTip">
        <string>Close dialog</string>
       </property>
       <property name="text">
        <string>Cancel</string>
       </property>
       <property name="icon">
        <iconset resource="../resources/luckybackup.qrc">
         <normaloff>:/luckyPrefix/cancel.png</normaloff>:/luckyPrefix/cancel.png</iconset>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>lineEdit_command</tabstop>
  <tabstop>toolButton_default_command</tabstop>
  <tabstop>checkBox_conditionNever</tabstop>
  <tabstop>checkBox_conditionError</tabstop>
  <tabstop>checkBox_conditionSchedule</tabstop>
  <tabstop>lineEdit_arg_from</tabstop>
  <tabstop>lineEdit_arg_to</tabstop>
  <tabstop>lineEdit_arg_subject</tabstop>
  <tabstop>toolButton_default_subject</tabstop>
  <tabstop>lineEdit_arg_smtp</tabstop>
  <tabstop>textBrowser_arg_body</tabstop>
  <tabstop>toolButton_default_body</tabstop>
  <tabstop>pushButton_test</tabstop>
  <tabstop>pushButton_ok</tabstop>
  <tabstop>pushButton_cancel</tabstop>
 </tabstops>
 <resources>
  <include location="../resources/luckybackup.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>groupBox_arguments</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>87</x>
     <y>115</y>
    </hint>
    <hint type="destinationlabel">
     <x>240</x>
     <y>262</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>checkBox_conditionError</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>87</x>
     <y>115</y>
    </hint>
    <hint type="destinationlabel">
     <x>240</x>
     <y>115</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>checkBox_conditionSchedule</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>87</x>
     <y>115</y>
    </hint>
    <hint type="destinationlabel">
     <x>394</x>
     <y>115</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>label_command</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>87</x>
     <y>115</y>
    </hint>
    <hint type="destinationlabel">
     <x>32</x>
     <y>55</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>lineEdit_command</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>87</x>
     <y>115</y>
    </hint>
    <hint type="destinationlabel">
     <x>204</x>
     <y>71</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>toolButton_default_command</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>87</x>
     <y>115</y>
    </hint>
    <hint type="destinationlabel">
     <x>529</x>
     <y>71</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>pushButton_test</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>87</x>
     <y>115</y>
    </hint>
    <hint type="destinationlabel">
     <x>54</x>
     <y>449</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>label_arguments</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>101</x>
     <y>114</y>
    </hint>
    <hint type="destinationlabel">
     <x>247</x>
     <y>60</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkBox_conditionNever</sender>
   <signal>toggled(bool)</signal>
   <receiver>lineEdit_arguments</receiver>
   <slot>setDisabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>101</x>
     <y>114</y>
    </hint>
    <hint type="destinationlabel">
     <x>395</x>
     <y>60</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
