<?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>522</width>
    <height>544</height>
   </rect>
  </property>
  <property name="minimumSize">
   <size>
    <width>480</width>
    <height>528</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Draw</string>
  </property>
  <widget class="QWidget" name="centralWidget">
   <widget class="QGraphicsView" name="graphfield">
    <property name="geometry">
     <rect>
      <x>40</x>
      <y>40</y>
      <width>400</width>
      <height>400</height>
     </rect>
    </property>
    <property name="mouseTracking">
     <bool>true</bool>
    </property>
    <property name="verticalScrollBarPolicy">
     <enum>Qt::ScrollBarAlwaysOff</enum>
    </property>
    <property name="horizontalScrollBarPolicy">
     <enum>Qt::ScrollBarAlwaysOff</enum>
    </property>
    <property name="backgroundBrush">
     <brush brushstyle="NoBrush">
      <color alpha="255">
       <red>0</red>
       <green>0</green>
       <blue>0</blue>
      </color>
     </brush>
    </property>
    <property name="interactive">
     <bool>true</bool>
    </property>
    <property name="sceneRect">
     <rectf>
      <x>0.000000000000000</x>
      <y>0.000000000000000</y>
      <width>400.000000000000000</width>
      <height>400.000000000000000</height>
     </rectf>
    </property>
    <property name="viewportUpdateMode">
     <enum>QGraphicsView::FullViewportUpdate</enum>
    </property>
   </widget>
   <widget class="QLabel" name="label">
    <property name="geometry">
     <rect>
      <x>50</x>
      <y>0</y>
      <width>381</width>
      <height>41</height>
     </rect>
    </property>
    <property name="font">
     <font>
      <pointsize>18</pointsize>
      <weight>75</weight>
      <bold>true</bold>
     </font>
    </property>
    <property name="text">
     <string>Draw your pattern here:</string>
    </property>
   </widget>
   <widget class="QPushButton" name="ExitButton">
    <property name="geometry">
     <rect>
      <x>393</x>
      <y>450</y>
      <width>61</width>
      <height>24</height>
     </rect>
    </property>
    <property name="text">
     <string>Exit</string>
    </property>
   </widget>
   <widget class="QPushButton" name="ClearButton">
    <property name="geometry">
     <rect>
      <x>40</x>
      <y>450</y>
      <width>61</width>
      <height>24</height>
     </rect>
    </property>
    <property name="text">
     <string>Clear</string>
    </property>
   </widget>
   <widget class="QPushButton" name="SowButton">
    <property name="geometry">
     <rect>
      <x>320</x>
      <y>450</y>
      <width>61</width>
      <height>24</height>
     </rect>
    </property>
    <property name="text">
     <string>Sow</string>
    </property>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>522</width>
     <height>26</height>
    </rect>
   </property>
   <widget class="QMenu" name="menu_File">
    <property name="title">
     <string>&amp;File</string>
    </property>
    <widget class="QMenu" name="menu_Mirror">
     <property name="title">
      <string>&amp;Mirror</string>
     </property>
     <addaction name="actionLeft_Right"/>
     <addaction name="actionRight_Left"/>
     <addaction name="separator"/>
     <addaction name="actionUpper_Lower"/>
     <addaction name="actionLower_Upper"/>
    </widget>
    <addaction name="actionSmilie"/>
    <addaction name="menu_Mirror"/>
    <addaction name="action_Quit"/>
    <addaction name="action_Grid_on_off"/>
    <addaction name="action_Invert"/>
   </widget>
   <widget class="QMenu" name="menu_Help">
    <property name="title">
     <string>&amp;Help</string>
    </property>
    <addaction name="actionAbout"/>
   </widget>
   <addaction name="menu_File"/>
   <addaction name="menu_Help"/>
  </widget>
  <widget class="QToolBar" name="mainToolBar">
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
  </widget>
  <widget class="QStatusBar" name="statusBar"/>
  <action name="actionAbout">
   <property name="text">
    <string>About</string>
   </property>
  </action>
  <action name="actionSmilie">
   <property name="text">
    <string>Smilie</string>
   </property>
  </action>
  <action name="action_Quit">
   <property name="text">
    <string>&amp;Quit</string>
   </property>
  </action>
  <action name="actionLeft_Right">
   <property name="text">
    <string>Left -&gt; Right</string>
   </property>
  </action>
  <action name="actionRight_Left">
   <property name="text">
    <string>Right -&gt; Left</string>
   </property>
  </action>
  <action name="actionUpper_Lower">
   <property name="text">
    <string>Upper -&gt; Lower</string>
   </property>
  </action>
  <action name="actionLower_Upper">
   <property name="text">
    <string>Lower -&gt; Upper</string>
   </property>
  </action>
  <action name="action_Grid_on_off">
   <property name="text">
    <string>&amp;Grid on/off</string>
   </property>
  </action>
  <action name="action_Invert">
   <property name="text">
    <string>&amp;Invert</string>
   </property>
  </action>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <resources/>
 <connections>
  <connection>
   <sender>ExitButton</sender>
   <signal>clicked()</signal>
   <receiver>MainWindow</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>420</x>
     <y>495</y>
    </hint>
    <hint type="destinationlabel">
     <x>464</x>
     <y>485</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>ClearButton</sender>
   <signal>clicked()</signal>
   <receiver>MainWindow</receiver>
   <slot>setClearImage()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>70</x>
     <y>502</y>
    </hint>
    <hint type="destinationlabel">
     <x>306</x>
     <y>487</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionAbout</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>openAbout()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionSmilie</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>drawSmiley()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionUpper_Lower</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>mirrorYud()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionLower_Upper</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>mirrorYdu()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionLeft_Right</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>mirrorXlr()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionRight_Left</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>mirrorXrl()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>action_Grid_on_off</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>toggleGrid()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>action_Invert</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>invertImage()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>254</x>
     <y>263</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>SowButton</sender>
   <signal>clicked()</signal>
   <receiver>MainWindow</receiver>
   <slot>sow()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>371</x>
     <y>499</y>
    </hint>
    <hint type="destinationlabel">
     <x>210</x>
     <y>497</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>setClearImage()</slot>
  <slot>openAbout()</slot>
  <slot>drawImage()</slot>
  <slot>drawSmiley()</slot>
  <slot>invertImage()</slot>
  <slot>mirrorXlr()</slot>
  <slot>mirrorXrl()</slot>
  <slot>mirrorYud()</slot>
  <slot>mirrorYdu()</slot>
  <slot>toggleGrid()</slot>
  <slot>sow()</slot>
 </slots>
</ui>
