diff options
Diffstat (limited to 'src/forms')
| -rw-r--r-- | src/forms/dialogload.ui | 88 | ||||
| -rw-r--r-- | src/forms/dialogsave.ui | 132 | ||||
| -rw-r--r-- | src/forms/mainwindow.ui | 436 | ||||
| -rw-r--r-- | src/forms/tabasymmetric.ui | 68 | ||||
| -rw-r--r-- | src/forms/tabhybrid.ui | 124 | ||||
| -rw-r--r-- | src/forms/tabsymmetric.ui | 65 |
6 files changed, 913 insertions, 0 deletions
diff --git a/src/forms/dialogload.ui b/src/forms/dialogload.ui new file mode 100644 index 0000000..e05c959 --- /dev/null +++ b/src/forms/dialogload.ui @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>DialogLoad</class> + <widget class="QDialog" name="DialogLoad"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>379</width> + <height>232</height> + </rect> + </property> + <property name="windowTitle"> + <string>Dialog</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0" colspan="2"> + <widget class="QFrame" name="frame"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QPushButton" name="pushButtonSelectFile"> + <property name="text"> + <string>Select File</string> + </property> + </widget> + </item> + <item row="0" column="1" colspan="2"> + <widget class="QLineEdit" name="lineEditFileName"> + <property name="text"> + <string>[filename]</string> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QRadioButton" name="radioButtonEncrypted"> + <property name="text"> + <string>Load Encrypted Data</string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2"> + <widget class="QRadioButton" name="radioButtonUnencrypted"> + <property name="text"> + <string>Load Unencrypted Text</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QCheckBox" name="checkBoxBinaryData"> + <property name="text"> + <string>Binary Data</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0"> + <widget class="QPushButton" name="pushButtonCancel"> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QPushButton" name="pushButtonLoad"> + <property name="text"> + <string>Load</string> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections/> +</ui> diff --git a/src/forms/dialogsave.ui b/src/forms/dialogsave.ui new file mode 100644 index 0000000..90daca4 --- /dev/null +++ b/src/forms/dialogsave.ui @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>DialogSave</class> + <widget class="QDialog" name="DialogSave"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Dialog</string> + </property> + <widget class="QPushButton" name="pushButtonSave"> + <property name="geometry"> + <rect> + <x>290</x> + <y>250</y> + <width>93</width> + <height>27</height> + </rect> + </property> + <property name="text"> + <string>Save</string> + </property> + </widget> + <widget class="QPushButton" name="pushButtonCancel"> + <property name="geometry"> + <rect> + <x>180</x> + <y>250</y> + <width>93</width> + <height>27</height> + </rect> + </property> + <property name="text"> + <string>Cancel</string> + </property> + </widget> + <widget class="QFrame" name="frame"> + <property name="geometry"> + <rect> + <x>20</x> + <y>30</y> + <width>361</width> + <height>181</height> + </rect> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <widget class="QPushButton" name="pushButtonSelectFile"> + <property name="geometry"> + <rect> + <x>10</x> + <y>29</y> + <width>86</width> + <height>27</height> + </rect> + </property> + <property name="text"> + <string>Select File</string> + </property> + </widget> + <widget class="QLineEdit" name="lineEditFileName"> + <property name="geometry"> + <rect> + <x>102</x> + <y>29</y> + <width>146</width> + <height>27</height> + </rect> + </property> + <property name="text"> + <string>[filename]</string> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + <widget class="QRadioButton" name="radioButtonEncrypted"> + <property name="geometry"> + <rect> + <x>10</x> + <y>81</y> + <width>164</width> + <height>22</height> + </rect> + </property> + <property name="text"> + <string>Save Encrypted Data</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="QRadioButton" name="radioButtonUnencrypted"> + <property name="geometry"> + <rect> + <x>10</x> + <y>128</y> + <width>179</width> + <height>22</height> + </rect> + </property> + <property name="text"> + <string>Save Unencrypted Text</string> + </property> + </widget> + <widget class="QCheckBox" name="checkBoxBinaryData"> + <property name="geometry"> + <rect> + <x>230</x> + <y>130</y> + <width>111</width> + <height>22</height> + </rect> + </property> + <property name="text"> + <string>Binary Data</string> + </property> + </widget> + </widget> + </widget> + <resources/> + <connections/> +</ui> diff --git a/src/forms/mainwindow.ui b/src/forms/mainwindow.ui new file mode 100644 index 0000000..c475ce5 --- /dev/null +++ b/src/forms/mainwindow.ui @@ -0,0 +1,436 @@ +<?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>988</width> + <height>742</height> + </rect> + </property> + <property name="windowTitle"> + <string>MainWindow</string> + </property> + <widget class="QWidget" name="centralWidget"> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="0" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QLabel" name="labelPassword"> + <property name="text"> + <string>Password:</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="lineEditPassword"/> + </item> + <item> + <widget class="QPushButton" name="pushButtonGeneratePassword"> + <property name="text"> + <string>Generate Password</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="3" rowspan="2"> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="labelAlgorithm"> + <property name="text"> + <string>Current Algorithm:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="labelAlgorithmCurrent"> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="text"> + <string>NullCipher</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="TabWidgetSelectAlgorithm" name="tabWidgetSelectAlgorithm"> + <property name="minimumSize"> + <size> + <width>350</width> + <height>0</height> + </size> + </property> + <property name="baseSize"> + <size> + <width>200</width> + <height>0</height> + </size> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="0"> + <widget class="QFrame" name="frameUnencrypted"> + <property name="minimumSize"> + <size> + <width>175</width> + <height>0</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>175</width> + <height>16777215</height> + </size> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="labelUnencrypted"> + <property name="text"> + <string>Unencrypted</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="pushButtonClearUnencrypted"> + <property name="text"> + <string>Clear</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QPlainTextEdit" name="PlainTextEditUnencrypted"/> + </item> + </layout> + </widget> + </item> + <item row="1" column="1"> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>224</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QFrame" name="frameframeCryptButtons"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QPushButton" name="pushButtonEncrypt"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>>> Encrypt >></string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QPushButton" name="pushButtonDecrypt"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string><< Decrypt <<</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>223</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QFrame" name="frameFileButtons"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <widget class="QPushButton" name="pushButtonLoad"> + <property name="text"> + <string>Load from File</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QPushButton" name="pushButtonSave"> + <property name="text"> + <string>Save to File</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </item> + <item row="1" column="2"> + <widget class="QFrame" name="frameEncrypted"> + <property name="minimumSize"> + <size> + <width>175</width> + <height>0</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>175</width> + <height>16777215</height> + </size> + </property> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="labelEncrypted"> + <property name="text"> + <string>Encrypted</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="pushButtonClearEncrypted"> + <property name="text"> + <string>Clear</string> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QPlainTextEdit" name="PlainTextEditEncrypted"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <widget class="QMenuBar" name="menuBar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>988</width> + <height>25</height> + </rect> + </property> + <widget class="QMenu" name="menuFile"> + <property name="title"> + <string>&File</string> + </property> + <addaction name="actionLoad"/> + <addaction name="actionSave"/> + <addaction name="separator"/> + <addaction name="actionExit"/> + </widget> + <widget class="QMenu" name="menuHelp"> + <property name="title"> + <string>&Help</string> + </property> + <addaction name="actionAbout"/> + </widget> + <widget class="QMenu" name="menuCrypt"> + <property name="title"> + <string>&Crypt</string> + </property> + <addaction name="actionNullCipher"/> + <addaction name="actionSymmetric"/> + <addaction name="actionAsymmetric"/> + <addaction name="actionHybrid"/> + </widget> + <widget class="QMenu" name="menuView"> + <property name="title"> + <string>&View</string> + </property> + <addaction name="actionUnencrypted_as_Text"/> + <addaction name="actionUnencrypted_as_Binary"/> + <addaction name="separator"/> + <addaction name="actionEncrypted_as_Text"/> + <addaction name="actionEncrypted_as_Binary"/> + </widget> + <addaction name="menuFile"/> + <addaction name="menuCrypt"/> + <addaction name="menuView"/> + <addaction name="menuHelp"/> + </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="actionExit"> + <property name="text"> + <string>Exit</string> + </property> + </action> + <action name="actionLoad"> + <property name="text"> + <string>Load</string> + </property> + </action> + <action name="actionSave"> + <property name="text"> + <string>Save</string> + </property> + </action> + <action name="actionAbout"> + <property name="text"> + <string>About</string> + </property> + </action> + <action name="actionNullCipher"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="text"> + <string>NullCipher</string> + </property> + </action> + <action name="actionSymmetric"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Symmetric</string> + </property> + </action> + <action name="actionAsymmetric"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Asymmetric</string> + </property> + </action> + <action name="actionHybrid"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="text"> + <string>Hybrid</string> + </property> + </action> + <action name="actionUnencrypted_as_Text"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="text"> + <string>Unencrypted as Text</string> + </property> + </action> + <action name="actionUnencrypted_as_Binary"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="text"> + <string>Unencrypted as Binary</string> + </property> + </action> + <action name="actionEncrypted_as_Text"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="text"> + <string>Encrypted as Text</string> + </property> + </action> + <action name="actionEncrypted_as_Binary"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="text"> + <string>Encrypted as Binary</string> + </property> + </action> + </widget> + <layoutdefault spacing="6" margin="11"/> + <customwidgets> + <customwidget> + <class>TabWidgetSelectAlgorithm</class> + <extends>QTabWidget</extends> + <header>src/tabwidgetselectalgorithm.h</header> + <container>1</container> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> diff --git a/src/forms/tabasymmetric.ui b/src/forms/tabasymmetric.ui new file mode 100644 index 0000000..6d90434 --- /dev/null +++ b/src/forms/tabasymmetric.ui @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>TabAsymmetric</class> + <widget class="QWidget" name="TabAsymmetric"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="labelSelectedAlgorithm"> + <property name="text"> + <string>Selected Algorithm:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="SpinBoxCiphers" name="spinBoxCipher"> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>0</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="labelSelectedKelength"> + <property name="text"> + <string>Keylength:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="spinBoxKeylength"> + <property name="minimum"> + <number>1024</number> + </property> + <property name="maximum"> + <number>4096</number> + </property> + <property name="singleStep"> + <number>1024</number> + </property> + <property name="value"> + <number>1024</number> + </property> + </widget> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>SpinBoxCiphers</class> + <extends>QSpinBox</extends> + <header>src/spinboxciphers.h</header> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> diff --git a/src/forms/tabhybrid.ui b/src/forms/tabhybrid.ui new file mode 100644 index 0000000..ae47b3d --- /dev/null +++ b/src/forms/tabhybrid.ui @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>TabHybrid</class> + <widget class="QWidget" name="TabHybrid"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>404</width> + <height>464</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="labelHybrid"> + <property name="font"> + <font> + <family>Century Schoolbook L</family> + <pointsize>20</pointsize> + </font> + </property> + <property name="text"> + <string>Hybrid Cipher</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="labelSelectedAlgorithmSymmetric"> + <property name="text"> + <string>Symmetric Algorithm:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="SpinBoxCiphers" name="spinBoxCipherSymmetric"> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>0</number> + </property> + <property name="value"> + <number>0</number> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="labelSelectedKelength"> + <property name="text"> + <string>Symmetric Keylength:</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="spinBoxKeylengthSymmetric"> + <property name="minimum"> + <number>128</number> + </property> + <property name="maximum"> + <number>256</number> + </property> + <property name="singleStep"> + <number>64</number> + </property> + <property name="value"> + <number>256</number> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="labelSelectedAlgorithmAsymmetric"> + <property name="text"> + <string>Asymmetric Algorithm:</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="SpinBoxCiphers" name="spinBoxCipherAsymmetric"> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>0</number> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QLabel" name="labelSelectedKelength_2"> + <property name="text"> + <string>Asymmetric Keylength:</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QSpinBox" name="spinBoxKeylengthAsymmetric"> + <property name="minimum"> + <number>1024</number> + </property> + <property name="maximum"> + <number>4096</number> + </property> + <property name="singleStep"> + <number>1024</number> + </property> + <property name="value"> + <number>1024</number> + </property> + </widget> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>SpinBoxCiphers</class> + <extends>QSpinBox</extends> + <header>src/spinboxciphers.h</header> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> diff --git a/src/forms/tabsymmetric.ui b/src/forms/tabsymmetric.ui new file mode 100644 index 0000000..ddc12ed --- /dev/null +++ b/src/forms/tabsymmetric.ui @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>TabSymmetric</class> + <widget class="QWidget" name="TabSymmetric"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>400</width> + <height>300</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="labelSelectedAlgorithm"> + <property name="text"> + <string>Selected Algorithm:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="SpinBoxCiphers" name="spinBoxCipher"> + <property name="maximum"> + <number>0</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="labelSelectedKelength"> + <property name="text"> + <string>Keylength:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="spinBoxKeylength"> + <property name="minimum"> + <number>128</number> + </property> + <property name="maximum"> + <number>256</number> + </property> + <property name="singleStep"> + <number>64</number> + </property> + <property name="value"> + <number>256</number> + </property> + </widget> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>SpinBoxCiphers</class> + <extends>QSpinBox</extends> + <header>src/spinboxciphers.h</header> + </customwidget> + </customwidgets> + <resources/> + <connections/> +</ui> |
