123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468 |
- <?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>1054</width>
- <height>640</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>MainWindow</string>
- </property>
- <widget class="QWidget" name="centralWidget">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QPushButton" name="btnLoadImage">
- <property name="minimumSize">
- <size>
- <width>214</width>
- <height>32</height>
- </size>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"> background-color: #ed1c24;
- border-style: outset;
- border-width: 2px;
- border-color:#b51218;
- color:#f8f8f8;</string>
- </property>
- <property name="text">
- <string>Load New Image</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnSaveImage">
- <property name="minimumSize">
- <size>
- <width>214</width>
- <height>32</height>
- </size>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"> background-color: #ed1c24;
- border-style: outset;
- border-width: 2px;
- border-color:#b51218;
- color:#f8f8f8;</string>
- </property>
- <property name="text">
- <string>Save Edited Image</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QLabel" name="lblImageEditingToolss">
- <property name="text">
- <string>Image Editing Tools:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="chboxThreshold">
- <property name="text">
- <string>Threshold</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSlider" name="thresholdSlider">
- <property name="whatsThis">
- <string/>
- </property>
- <property name="maximum">
- <number>255</number>
- </property>
- <property name="value">
- <number>0</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnInvertThreshold">
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"> background-color: #ed1c24;
- border-style: outset;
- border-width: 2px;
- border-color:#b51218;
- color:#f8f8f8;</string>
- </property>
- <property name="text">
- <string>Invert Threshold Colors</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnFlipImageHorizontally">
- <property name="minimumSize">
- <size>
- <width>211</width>
- <height>0</height>
- </size>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"> background-color: #ed1c24;
- border-style: outset;
- border-width: 2px;
- border-color:#b51218;
- color:#f8f8f8;</string>
- </property>
- <property name="text">
- <string>Flip Image Horizontally</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnFlipImageVertically">
- <property name="minimumSize">
- <size>
- <width>211</width>
- <height>0</height>
- </size>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"> background-color: #ed1c24;
- border-style: outset;
- border-width: 2px;
- border-color:#b51218;
- color:#f8f8f8;</string>
- </property>
- <property name="text">
- <string>Flip Image Vertically</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnGreyScaleFilter">
- <property name="minimumSize">
- <size>
- <width>211</width>
- <height>0</height>
- </size>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"> background-color: #ed1c24;
- border-style: outset;
- border-width: 2px;
- border-color:#b51218;
- color:#f8f8f8;</string>
- </property>
- <property name="text">
- <string>Grey Scale Filter</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="btnRevertImage">
- <property name="minimumSize">
- <size>
- <width>211</width>
- <height>0</height>
- </size>
- </property>
- <property name="font">
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"> background-color: #ed1c24;
- border-style: outset;
- border-width: 2px;
- border-color:#b51218;
- color:#f8f8f8;</string>
- </property>
- <property name="text">
- <string>Revert Image to Original</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QLabel" name="lblShortcuts">
- <property name="text">
- <string>Program Shortcuts:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QTextEdit" name="txeShortcuts">
- <property name="autoFillBackground">
- <bool>false</bool>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Plain</enum>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- <property name="html">
- <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
- <html><head><meta name="qrichtext" content="1" /><style type="text/css">
- p, li { white-space: pre-wrap; }
- </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Instructions (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">I)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Load Image (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">O)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Save Edited Image (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">S</span><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Invert Threshold Colors (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">T)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Flip Image Horizontally (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">F</span><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Flip Image Veritcally (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">V</span><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Grey Scale Filter (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">G</span><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">Revert Edited Image (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'sans-serif'; font-size:13pt; color:#000000; background-color:#ffffff;">R)</span></p>
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">Close Window (</span><span style=" font-family:'sans-serif'; font-size:13pt; font-weight:600; color:#000000; background-color:#ffffff;">⌘</span><span style=" font-family:'.Lucida Grande UI'; font-size:13pt;">W)</span></p></body></html></string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QLabel" name="lblOriginalImageTitle">
- <property name="layoutDirection">
- <enum>Qt::LeftToRight</enum>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" font-weight:600;">Original Image:</span></p></body></html></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="lblOriginalImage">
- <property name="minimumSize">
- <size>
- <width>401</width>
- <height>531</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: #3f3f49</string>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <property name="spacing">
- <number>6</number>
- </property>
- <item>
- <widget class="QLabel" name="lblEditedImageTitle">
- <property name="text">
- <string><html><head/><body><p><span style=" font-weight:600;">Edited Image:</span></p></body></html></string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="lblEditedImage">
- <property name="minimumSize">
- <size>
- <width>401</width>
- <height>531</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: #3f3f49</string>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Sunken</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- <zorder></zorder>
- </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"/>
- <widget class="QMenuBar" name="menuBar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1054</width>
- <height>21</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="actionLoad_Image"/>
- <addaction name="actionSave_Image"/>
- <addaction name="actionClose_Window"/>
- </widget>
- <widget class="QMenu" name="menuEdit">
- <property name="title">
- <string>Edit</string>
- </property>
- <addaction name="actionInvert_Threshold_Colors"/>
- <addaction name="actionFlip_Image_Horizontally"/>
- <addaction name="actionFlip_Image_Vertically"/>
- <addaction name="actionApply_Grey_Scale_Filter"/>
- <addaction name="actionRevert_Edited_Image_to_Original"/>
- </widget>
- <widget class="QMenu" name="menuHelp">
- <property name="title">
- <string>Help</string>
- </property>
- <addaction name="actionInstructions"/>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuEdit"/>
- <addaction name="menuHelp"/>
- </widget>
- <action name="actionLoad_Image">
- <property name="text">
- <string>Load Image (⌘O)</string>
- </property>
- <property name="iconText">
- <string>Load Image (⌘ + O)</string>
- </property>
- <property name="shortcutContext">
- <enum>Qt::WidgetShortcut</enum>
- </property>
- </action>
- <action name="actionSave_Image">
- <property name="text">
- <string>Save Image (⌘S)</string>
- </property>
- <property name="iconText">
- <string>Save Image (⌘ + s)</string>
- </property>
- </action>
- <action name="actionFlip_Image_Horizontally">
- <property name="text">
- <string>Flip Image Horizontally (⌘F)</string>
- </property>
- </action>
- <action name="actionFlip_Image_Vertically">
- <property name="text">
- <string>Flip Image Vertically (⌘V)</string>
- </property>
- </action>
- <action name="actionApply_Grey_Scale_Filter">
- <property name="text">
- <string>Apply Grey Scale Filter (⌘G)</string>
- </property>
- </action>
- <action name="actionClose_Window">
- <property name="text">
- <string>Close Window (⌘W)</string>
- </property>
- <property name="iconText">
- <string>Close Window (⌘W)</string>
- </property>
- </action>
- <action name="actionRevert_Edited_Image_to_Original">
- <property name="text">
- <string>Revert Edited Image to Original (⌘R)</string>
- </property>
- </action>
- <action name="actionInstructions">
- <property name="text">
- <string>Instructions (⌘I)</string>
- </property>
- </action>
- <action name="actionInvert_Threshold_Colors">
- <property name="text">
- <string>Invert Threshold Colors (⌘T)</string>
- </property>
- </action>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <resources/>
- <connections/>
- </ui>
|