Initial Commit.
[onlineservices] / uploaddialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>uploadDialog</class>
4  <widget class="QDialog" name="uploadDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>640</width>
10     <height>227</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Upload</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <layout class="QFormLayout" name="formLayout">
19      <property name="fieldGrowthPolicy">
20       <enum>QFormLayout::ExpandingFieldsGrow</enum>
21      </property>
22      <item row="0" column="0">
23       <widget class="QLabel" name="label">
24        <property name="text">
25         <string>Select a file</string>
26        </property>
27       </widget>
28      </item>
29      <item row="0" column="1">
30       <layout class="QHBoxLayout" name="horizontalLayout_2">
31        <item>
32         <widget class="QLineEdit" name="fileSelectEdit">
33          <property name="enabled">
34           <bool>true</bool>
35          </property>
36          <property name="readOnly">
37           <bool>true</bool>
38          </property>
39         </widget>
40        </item>
41        <item>
42         <widget class="QPushButton" name="fileSelectButton">
43          <property name="text">
44           <string>Select</string>
45          </property>
46         </widget>
47        </item>
48       </layout>
49      </item>
50      <item row="1" column="0">
51       <widget class="QLabel" name="label_2">
52        <property name="text">
53         <string>Title</string>
54        </property>
55       </widget>
56      </item>
57      <item row="1" column="1">
58       <widget class="QLineEdit" name="titleEdit"/>
59      </item>
60      <item row="2" column="1">
61       <widget class="QPlainTextEdit" name="descriptionBox"/>
62      </item>
63      <item row="2" column="0">
64       <widget class="QLabel" name="label_3">
65        <property name="text">
66         <string>Description</string>
67        </property>
68       </widget>
69      </item>
70      <item row="3" column="1">
71       <widget class="QLineEdit" name="tagsEdit"/>
72      </item>
73      <item row="3" column="0">
74       <widget class="QLabel" name="label_4">
75        <property name="text">
76         <string>Tags</string>
77        </property>
78       </widget>
79      </item>
80     </layout>
81    </item>
82    <item>
83     <layout class="QHBoxLayout" name="horizontalLayout_3">
84      <item>
85       <spacer name="horizontalSpacer">
86        <property name="orientation">
87         <enum>Qt::Horizontal</enum>
88        </property>
89        <property name="sizeHint" stdset="0">
90         <size>
91          <width>40</width>
92          <height>20</height>
93         </size>
94        </property>
95       </spacer>
96      </item>
97      <item>
98       <widget class="QLabel" name="uploadLabel">
99        <property name="text">
100         <string/>
101        </property>
102       </widget>
103      </item>
104      <item>
105       <spacer name="horizontalSpacer_2">
106        <property name="orientation">
107         <enum>Qt::Horizontal</enum>
108        </property>
109        <property name="sizeHint" stdset="0">
110         <size>
111          <width>40</width>
112          <height>20</height>
113         </size>
114        </property>
115       </spacer>
116      </item>
117     </layout>
118    </item>
119    <item>
120     <layout class="QHBoxLayout" name="horizontalLayout">
121      <item>
122       <widget class="QPushButton" name="uploadButton">
123        <property name="enabled">
124         <bool>true</bool>
125        </property>
126        <property name="text">
127         <string>Upload</string>
128        </property>
129       </widget>
130      </item>
131      <item>
132       <widget class="QProgressBar" name="uploadProgress">
133        <property name="value">
134         <number>0</number>
135        </property>
136        <property name="textVisible">
137         <bool>false</bool>
138        </property>
139        <property name="invertedAppearance">
140         <bool>false</bool>
141        </property>
142       </widget>
143      </item>
144      <item>
145       <widget class="QPushButton" name="doneButton">
146        <property name="enabled">
147         <bool>false</bool>
148        </property>
149        <property name="text">
150         <string>Done</string>
151        </property>
152       </widget>
153      </item>
154     </layout>
155    </item>
156   </layout>
157  </widget>
158  <resources/>
159  <connections>
160   <connection>
161    <sender>doneButton</sender>
162    <signal>clicked()</signal>
163    <receiver>uploadDialog</receiver>
164    <slot>accept()</slot>
165    <hints>
166     <hint type="sourcelabel">
167      <x>607</x>
168      <y>179</y>
169     </hint>
170     <hint type="destinationlabel">
171      <x>591</x>
172      <y>107</y>
173     </hint>
174    </hints>
175   </connection>
176  </connections>
177 </ui>