123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>ImageScrambler</class>
- <widget class="QMainWindow" name="ImageScrambler">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1023</width>
- <height>583</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>500</width>
- <height>500</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>1100</width>
- <height>1000</height>
- </size>
- </property>
- <property name="windowTitle">
- <string>Image Scrambler</string>
- </property>
- <widget class="QWidget" name="centralWidget">
- <widget class="QWidget" name="layoutWidget">
- <property name="geometry">
- <rect>
- <x>241</x>
- <y>104</y>
- <width>402</width>
- <height>431</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Original Image:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="lblOriginalImage">
- <property name="minimumSize">
- <size>
- <width>400</width>
- <height>400</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>400</width>
- <height>400</height>
- </size>
- </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>
- </widget>
- <widget class="QWidget" name="layoutWidget1">
- <property name="geometry">
- <rect>
- <x>610</x>
- <y>104</y>
- <width>402</width>
- <height>431</height>
- </rect>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Encrypted Image:</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="lblScrambleImage">
- <property name="minimumSize">
- <size>
- <width>400</width>
- <height>400</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>400</width>
- <height>400</height>
- </size>
- </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>
- </widget>
- <widget class="QPushButton" name="btnLoadNewImage">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>100</y>
- <width>184</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Load New Image</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_4">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>149</y>
- <width>172</width>
- <height>18</height>
- </rect>
- </property>
- <property name="text">
- <string>Scramble depth:</string>
- </property>
- </widget>
- <widget class="QSpinBox" name="scrambleDepth">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>179</y>
- <width>181</width>
- <height>31</height>
- </rect>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>10</number>
- </property>
- </widget>
- <widget class="QFrame" name="LogoFrame">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>480</y>
- <width>201</width>
- <height>61</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- </widget>
- <widget class="QPushButton" name="btnSave">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>329</y>
- <width>185</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Save Scrambled Image</string>
- </property>
- </widget>
- <widget class="QPushButton" name="btnDescrambleImage">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>279</y>
- <width>185</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Descramble Image</string>
- </property>
- </widget>
- <widget class="QPushButton" name="btnScrambleImage">
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>225</y>
- <width>185</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Scramble Image</string>
- </property>
- </widget>
- <widget class="QLabel" name="lblFinalImageTitle_3">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>380</y>
- <width>201</width>
- <height>91</height>
- </rect>
- </property>
- <property name="text">
- <string>Program Shortcuts:
- Load Images (⌘O)
- Scramble Images (⌘E)
- Descramble Image (⌘D)
- Save Scrambled Image(⌘S)</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- <widget class="QFrame" name="Banner">
- <property name="geometry">
- <rect>
- <x>-10</x>
- <y>-10</y>
- <width>1061</width>
- <height>91</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <widget class="QLabel" name="HeaderLabel">
- <property name="geometry">
- <rect>
- <x>370</x>
- <y>20</y>
- <width>321</width>
- <height>61</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <pointsize>25</pointsize>
- </font>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="text">
- <string>Image Scrambler</string>
- </property>
- </widget>
- </widget>
- </widget>
- <widget class="QMenuBar" name="menuBar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1023</width>
- <height>22</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="actionLoad_Image"/>
- <addaction name="actionSave_Image"/>
- </widget>
- <widget class="QMenu" name="menuEdit">
- <property name="title">
- <string>Edit</string>
- </property>
- <addaction name="actionScramble_Image"/>
- <addaction name="actionDescramble_Image"/>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menuEdit"/>
- </widget>
- <action name="actionLoad_Image">
- <property name="text">
- <string>Load Image (⌘O)</string>
- </property>
- </action>
- <action name="actionSave_Image">
- <property name="text">
- <string>Save Image (⌘S)</string>
- </property>
- </action>
- <action name="actionScramble_Image">
- <property name="text">
- <string>Encrypt Image (⌘E)</string>
- </property>
- </action>
- <action name="actionDescramble_Image">
- <property name="text">
- <string>Decrypt Image (⌘D)</string>
- </property>
- </action>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <resources/>
- <connections/>
- </ui>
|