| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>MainWindow</class> |
| 4 |
<widget class="QMainWindow" name="MainWindow"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>426</width> |
| 10 |
<height>665</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>Upload an Image</string> |
| 15 |
</property> |
| 16 |
<widget class="QWidget" name="centralWidget"> |
| 17 |
<layout class="QGridLayout" name="gridLayout_2"> |
| 18 |
<item row="13" column="1"> |
| 19 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 20 |
<item> |
| 21 |
<spacer name="horizontalSpacer"> |
| 22 |
<property name="orientation"> |
| 23 |
<enum>Qt::Horizontal</enum> |
| 24 |
</property> |
| 25 |
<property name="sizeHint" stdset="0"> |
| 26 |
<size> |
| 27 |
<width>40</width> |
| 28 |
<height>20</height> |
| 29 |
</size> |
| 30 |
</property> |
| 31 |
</spacer> |
| 32 |
</item> |
| 33 |
<item> |
| 34 |
<widget class="QPushButton" name="pushButton"> |
| 35 |
<property name="enabled"> |
| 36 |
<bool>false</bool> |
| 37 |
</property> |
| 38 |
<property name="text"> |
| 39 |
<string notr="true">Send</string> |
| 40 |
</property> |
| 41 |
</widget> |
| 42 |
</item> |
| 43 |
</layout> |
| 44 |
</item> |
| 45 |
<item row="2" column="1"> |
| 46 |
<widget class="QGroupBox" name="groupBox"> |
| 47 |
<property name="title"> |
| 48 |
<string notr="true">File Source</string> |
| 49 |
</property> |
| 50 |
<property name="flat"> |
| 51 |
<bool>true</bool> |
| 52 |
</property> |
| 53 |
<property name="checkable"> |
| 54 |
<bool>false</bool> |
| 55 |
</property> |
| 56 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 57 |
<item> |
| 58 |
<widget class="QLineEdit" name="lineEdit"/> |
| 59 |
</item> |
| 60 |
<item> |
| 61 |
<widget class="QPushButton" name="parcourir"> |
| 62 |
<property name="text"> |
| 63 |
<string notr="true" comment="Select file source to upload">Select</string> |
| 64 |
</property> |
| 65 |
</widget> |
| 66 |
</item> |
| 67 |
</layout> |
| 68 |
</widget> |
| 69 |
</item> |
| 70 |
<item row="1" column="1"> |
| 71 |
<layout class="QGridLayout" name="gridLayout"> |
| 72 |
<item row="1" column="0"> |
| 73 |
<widget class="QLabel" name="mLoginLabel"> |
| 74 |
<property name="text"> |
| 75 |
<string notr="true">Login:</string> |
| 76 |
</property> |
| 77 |
</widget> |
| 78 |
</item> |
| 79 |
<item row="1" column="1"> |
| 80 |
<widget class="QLineEdit" name="mLoginEdit"/> |
| 81 |
</item> |
| 82 |
<item row="2" column="0"> |
| 83 |
<widget class="QLabel" name="mMdpLabel"> |
| 84 |
<property name="text"> |
| 85 |
<string notr="true">Password:</string> |
| 86 |
</property> |
| 87 |
</widget> |
| 88 |
</item> |
| 89 |
<item row="2" column="1"> |
| 90 |
<widget class="QLineEdit" name="mMdpEdit"> |
| 91 |
<property name="echoMode"> |
| 92 |
<enum>QLineEdit::Password</enum> |
| 93 |
</property> |
| 94 |
</widget> |
| 95 |
</item> |
| 96 |
<item row="3" column="0"> |
| 97 |
<spacer name="verticalSpacer"> |
| 98 |
<property name="orientation"> |
| 99 |
<enum>Qt::Vertical</enum> |
| 100 |
</property> |
| 101 |
<property name="sizeHint" stdset="0"> |
| 102 |
<size> |
| 103 |
<width>20</width> |
| 104 |
<height>40</height> |
| 105 |
</size> |
| 106 |
</property> |
| 107 |
</spacer> |
| 108 |
</item> |
| 109 |
<item row="1" column="2" rowspan="3"> |
| 110 |
<widget class="QLabel" name="previewLabel"> |
| 111 |
<property name="text"> |
| 112 |
<string/> |
| 113 |
</property> |
| 114 |
<property name="alignment"> |
| 115 |
<set>Qt::AlignHCenter|Qt::AlignTop</set> |
| 116 |
</property> |
| 117 |
</widget> |
| 118 |
</item> |
| 119 |
</layout> |
| 120 |
</item> |
| 121 |
<item row="0" column="1"> |
| 122 |
<widget class="QLabel" name="label_2"> |
| 123 |
<property name="font"> |
| 124 |
<font> |
| 125 |
<weight>75</weight> |
| 126 |
<bold>true</bold> |
| 127 |
</font> |
| 128 |
</property> |
| 129 |
<property name="text"> |
| 130 |
<string notr="true">Sign In</string> |
| 131 |
</property> |
| 132 |
<property name="scaledContents"> |
| 133 |
<bool>false</bool> |
| 134 |
</property> |
| 135 |
<property name="alignment"> |
| 136 |
<set>Qt::AlignCenter</set> |
| 137 |
</property> |
| 138 |
</widget> |
| 139 |
</item> |
| 140 |
<item row="5" column="1" rowspan="2"> |
| 141 |
<widget class="QGroupBox" name="groupBox_2"> |
| 142 |
<property name="title"> |
| 143 |
<string notr="true">File Description</string> |
| 144 |
</property> |
| 145 |
<property name="flat"> |
| 146 |
<bool>true</bool> |
| 147 |
</property> |
| 148 |
<layout class="QGridLayout" name="gridLayout_3"> |
| 149 |
<item row="4" column="0"> |
| 150 |
<widget class="QLabel" name="authorLabel"> |
| 151 |
<property name="text"> |
| 152 |
<string notr="true">Author:</string> |
| 153 |
</property> |
| 154 |
</widget> |
| 155 |
</item> |
| 156 |
<item row="2" column="1"> |
| 157 |
<widget class="QLineEdit" name="sourceEdit"/> |
| 158 |
</item> |
| 159 |
<item row="1" column="1"> |
| 160 |
<widget class="QLineEdit" name="descriptionEdit"/> |
| 161 |
</item> |
| 162 |
<item row="6" column="0"> |
| 163 |
<widget class="QLabel" name="versionsLabel"> |
| 164 |
<property name="text"> |
| 165 |
<string notr="true">Other Versions:</string> |
| 166 |
</property> |
| 167 |
</widget> |
| 168 |
</item> |
| 169 |
<item row="4" column="1"> |
| 170 |
<widget class="QLineEdit" name="authorEdit"/> |
| 171 |
</item> |
| 172 |
<item row="5" column="0"> |
| 173 |
<widget class="QLabel" name="permissionLabel"> |
| 174 |
<property name="text"> |
| 175 |
<string notr="true">Permission:</string> |
| 176 |
</property> |
| 177 |
</widget> |
| 178 |
</item> |
| 179 |
<item row="5" column="1"> |
| 180 |
<widget class="QLineEdit" name="permissionEdit"/> |
| 181 |
</item> |
| 182 |
<item row="6" column="1"> |
| 183 |
<widget class="QLineEdit" name="versionsEdit"/> |
| 184 |
</item> |
| 185 |
<item row="1" column="0"> |
| 186 |
<widget class="QLabel" name="label_3"> |
| 187 |
<property name="text"> |
| 188 |
<string notr="true">Description:</string> |
| 189 |
</property> |
| 190 |
</widget> |
| 191 |
</item> |
| 192 |
<item row="3" column="1"> |
| 193 |
<widget class="QDateEdit" name="dateEdit"/> |
| 194 |
</item> |
| 195 |
<item row="3" column="0"> |
| 196 |
<widget class="QLabel" name="dateLabel"> |
| 197 |
<property name="text"> |
| 198 |
<string notr="true">Date:</string> |
| 199 |
</property> |
| 200 |
</widget> |
| 201 |
</item> |
| 202 |
<item row="2" column="0"> |
| 203 |
<widget class="QLabel" name="sourceLabel"> |
| 204 |
<property name="text"> |
| 205 |
<string notr="true">Image Source:</string> |
| 206 |
</property> |
| 207 |
</widget> |
| 208 |
</item> |
| 209 |
<item row="0" column="0"> |
| 210 |
<widget class="QLabel" name="label"> |
| 211 |
<property name="text"> |
| 212 |
<string notr="true">Destination Filename:</string> |
| 213 |
</property> |
| 214 |
</widget> |
| 215 |
</item> |
| 216 |
<item row="0" column="1"> |
| 217 |
<widget class="QLineEdit" name="lineEdit_2"> |
| 218 |
<property name="focusPolicy"> |
| 219 |
<enum>Qt::StrongFocus</enum> |
| 220 |
</property> |
| 221 |
</widget> |
| 222 |
</item> |
| 223 |
</layout> |
| 224 |
</widget> |
| 225 |
</item> |
| 226 |
<item row="4" column="1"> |
| 227 |
<widget class="QProgressBar" name="progressBar"> |
| 228 |
<property name="enabled"> |
| 229 |
<bool>true</bool> |
| 230 |
</property> |
| 231 |
<property name="value"> |
| 232 |
<number>0</number> |
| 233 |
</property> |
| 234 |
</widget> |
| 235 |
</item> |
| 236 |
<item row="9" column="1"> |
| 237 |
<widget class="QComboBox" name="comboBox"/> |
| 238 |
</item> |
| 239 |
<item row="8" column="0"> |
| 240 |
<layout class="QVBoxLayout" name="verticalLayout"/> |
| 241 |
</item> |
| 242 |
<item row="7" column="1"> |
| 243 |
<widget class="QGroupBox" name="groupBox_3"> |
| 244 |
<property name="layoutDirection"> |
| 245 |
<enum>Qt::LeftToRight</enum> |
| 246 |
</property> |
| 247 |
<property name="title"> |
| 248 |
<string notr="true">File Licenses</string> |
| 249 |
</property> |
| 250 |
<property name="flat"> |
| 251 |
<bool>true</bool> |
| 252 |
</property> |
| 253 |
</widget> |
| 254 |
</item> |
| 255 |
</layout> |
| 256 |
</widget> |
| 257 |
</widget> |
| 258 |
<layoutdefault spacing="6" margin="11"/> |
| 259 |
<tabstops> |
| 260 |
<tabstop>mLoginEdit</tabstop> |
| 261 |
<tabstop>mMdpEdit</tabstop> |
| 262 |
<tabstop>lineEdit</tabstop> |
| 263 |
<tabstop>parcourir</tabstop> |
| 264 |
<tabstop>lineEdit_2</tabstop> |
| 265 |
<tabstop>descriptionEdit</tabstop> |
| 266 |
<tabstop>sourceEdit</tabstop> |
| 267 |
<tabstop>dateEdit</tabstop> |
| 268 |
<tabstop>authorEdit</tabstop> |
| 269 |
<tabstop>permissionEdit</tabstop> |
| 270 |
<tabstop>versionsEdit</tabstop> |
| 271 |
<tabstop>pushButton</tabstop> |
| 272 |
</tabstops> |
| 273 |
<resources/> |
| 274 |
<connections/> |
| 275 |
<slots> |
| 276 |
<slot>parcourirFiles()</slot> |
| 277 |
</slots> |
| 278 |
</ui> |