| 1 | <ui version="4.0" >
|
|---|
| 2 | <class>Form</class>
|
|---|
| 3 | <widget class="QWidget" name="Form" >
|
|---|
| 4 | <property name="geometry" >
|
|---|
| 5 | <rect>
|
|---|
| 6 | <x>0</x>
|
|---|
| 7 | <y>0</y>
|
|---|
| 8 | <width>343</width>
|
|---|
| 9 | <height>320</height>
|
|---|
| 10 | </rect>
|
|---|
| 11 | </property>
|
|---|
| 12 | <property name="windowTitle" >
|
|---|
| 13 | <string>Secure Socket Client</string>
|
|---|
| 14 | </property>
|
|---|
| 15 | <layout class="QVBoxLayout" >
|
|---|
| 16 | <item>
|
|---|
| 17 | <layout class="QGridLayout" >
|
|---|
| 18 | <item row="0" column="0" >
|
|---|
| 19 | <widget class="QLabel" name="hostNameLabel" >
|
|---|
| 20 | <property name="text" >
|
|---|
| 21 | <string>Host name:</string>
|
|---|
| 22 | </property>
|
|---|
| 23 | </widget>
|
|---|
| 24 | </item>
|
|---|
| 25 | <item row="0" column="1" >
|
|---|
| 26 | <widget class="QLineEdit" name="hostNameEdit" >
|
|---|
| 27 | <property name="text" >
|
|---|
| 28 | <string>imap.example.com</string>
|
|---|
| 29 | </property>
|
|---|
| 30 | </widget>
|
|---|
| 31 | </item>
|
|---|
| 32 | <item row="1" column="0" >
|
|---|
| 33 | <widget class="QLabel" name="portLabel" >
|
|---|
| 34 | <property name="text" >
|
|---|
| 35 | <string>Port:</string>
|
|---|
| 36 | </property>
|
|---|
| 37 | </widget>
|
|---|
| 38 | </item>
|
|---|
| 39 | <item row="1" column="1" >
|
|---|
| 40 | <widget class="QSpinBox" name="portBox" >
|
|---|
| 41 | <property name="minimum" >
|
|---|
| 42 | <number>1</number>
|
|---|
| 43 | </property>
|
|---|
| 44 | <property name="maximum" >
|
|---|
| 45 | <number>65535</number>
|
|---|
| 46 | </property>
|
|---|
| 47 | <property name="value" >
|
|---|
| 48 | <number>993</number>
|
|---|
| 49 | </property>
|
|---|
| 50 | </widget>
|
|---|
| 51 | </item>
|
|---|
| 52 | </layout>
|
|---|
| 53 | </item>
|
|---|
| 54 | <item>
|
|---|
| 55 | <widget class="QPushButton" name="connectButton" >
|
|---|
| 56 | <property name="enabled" >
|
|---|
| 57 | <bool>true</bool>
|
|---|
| 58 | </property>
|
|---|
| 59 | <property name="text" >
|
|---|
| 60 | <string>Connect to host</string>
|
|---|
| 61 | </property>
|
|---|
| 62 | <property name="default" >
|
|---|
| 63 | <bool>true</bool>
|
|---|
| 64 | </property>
|
|---|
| 65 | </widget>
|
|---|
| 66 | </item>
|
|---|
| 67 | <item>
|
|---|
| 68 | <widget class="QGroupBox" name="sessionBox" >
|
|---|
| 69 | <property name="enabled" >
|
|---|
| 70 | <bool>false</bool>
|
|---|
| 71 | </property>
|
|---|
| 72 | <property name="title" >
|
|---|
| 73 | <string>Active session</string>
|
|---|
| 74 | </property>
|
|---|
| 75 | <layout class="QVBoxLayout" >
|
|---|
| 76 | <item>
|
|---|
| 77 | <layout class="QHBoxLayout" >
|
|---|
| 78 | <item>
|
|---|
| 79 | <widget class="QLabel" name="cipherText" >
|
|---|
| 80 | <property name="text" >
|
|---|
| 81 | <string>Cryptographic Cipher:</string>
|
|---|
| 82 | </property>
|
|---|
| 83 | </widget>
|
|---|
| 84 | </item>
|
|---|
| 85 | <item>
|
|---|
| 86 | <widget class="QLabel" name="cipherLabel" >
|
|---|
| 87 | <property name="text" >
|
|---|
| 88 | <string><none></string>
|
|---|
| 89 | </property>
|
|---|
| 90 | <property name="alignment" >
|
|---|
| 91 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|---|
| 92 | </property>
|
|---|
| 93 | </widget>
|
|---|
| 94 | </item>
|
|---|
| 95 | </layout>
|
|---|
| 96 | </item>
|
|---|
| 97 | <item>
|
|---|
| 98 | <widget class="QTextEdit" name="sessionOutput" >
|
|---|
| 99 | <property name="enabled" >
|
|---|
| 100 | <bool>false</bool>
|
|---|
| 101 | </property>
|
|---|
| 102 | <property name="focusPolicy" >
|
|---|
| 103 | <enum>Qt::NoFocus</enum>
|
|---|
| 104 | </property>
|
|---|
| 105 | <property name="readOnly" >
|
|---|
| 106 | <bool>true</bool>
|
|---|
| 107 | </property>
|
|---|
| 108 | <property name="html" >
|
|---|
| 109 | <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|---|
| 110 | p, li { white-space: pre-wrap; }
|
|---|
| 111 | </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
|---|
| 112 | <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string>
|
|---|
| 113 | </property>
|
|---|
| 114 | </widget>
|
|---|
| 115 | </item>
|
|---|
| 116 | <item>
|
|---|
| 117 | <layout class="QHBoxLayout" >
|
|---|
| 118 | <item>
|
|---|
| 119 | <widget class="QLabel" name="sessionInputLabel" >
|
|---|
| 120 | <property name="text" >
|
|---|
| 121 | <string>Input:</string>
|
|---|
| 122 | </property>
|
|---|
| 123 | </widget>
|
|---|
| 124 | </item>
|
|---|
| 125 | <item>
|
|---|
| 126 | <widget class="QLineEdit" name="sessionInput" >
|
|---|
| 127 | <property name="enabled" >
|
|---|
| 128 | <bool>false</bool>
|
|---|
| 129 | </property>
|
|---|
| 130 | </widget>
|
|---|
| 131 | </item>
|
|---|
| 132 | <item>
|
|---|
| 133 | <widget class="QPushButton" name="sendButton" >
|
|---|
| 134 | <property name="enabled" >
|
|---|
| 135 | <bool>false</bool>
|
|---|
| 136 | </property>
|
|---|
| 137 | <property name="focusPolicy" >
|
|---|
| 138 | <enum>Qt::TabFocus</enum>
|
|---|
| 139 | </property>
|
|---|
| 140 | <property name="text" >
|
|---|
| 141 | <string>&Send</string>
|
|---|
| 142 | </property>
|
|---|
| 143 | <property name="default" >
|
|---|
| 144 | <bool>true</bool>
|
|---|
| 145 | </property>
|
|---|
| 146 | </widget>
|
|---|
| 147 | </item>
|
|---|
| 148 | </layout>
|
|---|
| 149 | </item>
|
|---|
| 150 | </layout>
|
|---|
| 151 | </widget>
|
|---|
| 152 | </item>
|
|---|
| 153 | </layout>
|
|---|
| 154 | </widget>
|
|---|
| 155 | <resources/>
|
|---|
| 156 | <connections>
|
|---|
| 157 | <connection>
|
|---|
| 158 | <sender>hostNameEdit</sender>
|
|---|
| 159 | <signal>returnPressed()</signal>
|
|---|
| 160 | <receiver>connectButton</receiver>
|
|---|
| 161 | <slot>animateClick()</slot>
|
|---|
| 162 | <hints>
|
|---|
| 163 | <hint type="sourcelabel" >
|
|---|
| 164 | <x>126</x>
|
|---|
| 165 | <y>20</y>
|
|---|
| 166 | </hint>
|
|---|
| 167 | <hint type="destinationlabel" >
|
|---|
| 168 | <x>142</x>
|
|---|
| 169 | <y>78</y>
|
|---|
| 170 | </hint>
|
|---|
| 171 | </hints>
|
|---|
| 172 | </connection>
|
|---|
| 173 | <connection>
|
|---|
| 174 | <sender>sessionInput</sender>
|
|---|
| 175 | <signal>returnPressed()</signal>
|
|---|
| 176 | <receiver>sendButton</receiver>
|
|---|
| 177 | <slot>animateClick()</slot>
|
|---|
| 178 | <hints>
|
|---|
| 179 | <hint type="sourcelabel" >
|
|---|
| 180 | <x>142</x>
|
|---|
| 181 | <y>241</y>
|
|---|
| 182 | </hint>
|
|---|
| 183 | <hint type="destinationlabel" >
|
|---|
| 184 | <x>297</x>
|
|---|
| 185 | <y>234</y>
|
|---|
| 186 | </hint>
|
|---|
| 187 | </hints>
|
|---|
| 188 | </connection>
|
|---|
| 189 | </connections>
|
|---|
| 190 | </ui>
|
|---|