Changeset View
Changeset View
Standalone View
Standalone View
examples/teamdrive/ui/main.ui
- This file was added.
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>640</width> | ||||
10 | <height>413</height> | ||||
11 | </rect> | ||||
12 | </property> | ||||
13 | <property name="windowTitle"> | ||||
14 | <string>MainWindow</string> | ||||
15 | </property> | ||||
16 | <widget class="QWidget" name="centralwidget"> | ||||
17 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
18 | <item> | ||||
19 | <layout class="QHBoxLayout" name="authLayout"> | ||||
20 | <item> | ||||
21 | <widget class="QPushButton" name="authButton"> | ||||
22 | <property name="text"> | ||||
23 | <string>Authenticate</string> | ||||
24 | </property> | ||||
25 | </widget> | ||||
26 | </item> | ||||
27 | <item> | ||||
28 | <widget class="QLabel" name="authStatusLabel"> | ||||
29 | <property name="text"> | ||||
30 | <string>Not authenticated</string> | ||||
31 | </property> | ||||
32 | </widget> | ||||
33 | </item> | ||||
34 | </layout> | ||||
35 | </item> | ||||
36 | <item> | ||||
37 | <widget class="Line" name="line"> | ||||
38 | <property name="orientation"> | ||||
39 | <enum>Qt::Horizontal</enum> | ||||
40 | </property> | ||||
41 | </widget> | ||||
42 | </item> | ||||
43 | <item> | ||||
44 | <widget class="QPushButton" name="teamdriveListButton"> | ||||
45 | <property name="enabled"> | ||||
46 | <bool>false</bool> | ||||
47 | </property> | ||||
48 | <property name="text"> | ||||
49 | <string>Get Team Drive list</string> | ||||
50 | </property> | ||||
51 | </widget> | ||||
52 | </item> | ||||
53 | <item> | ||||
54 | <layout class="QHBoxLayout" name="teamdriveLayout"> | ||||
55 | <item> | ||||
56 | <layout class="QVBoxLayout" name="teamdriveListLayout"> | ||||
57 | <item> | ||||
58 | <widget class="QLabel" name="label_2"> | ||||
59 | <property name="font"> | ||||
60 | <font> | ||||
61 | <pointsize>12</pointsize> | ||||
62 | <weight>75</weight> | ||||
63 | <bold>true</bold> | ||||
64 | </font> | ||||
65 | </property> | ||||
66 | <property name="layoutDirection"> | ||||
67 | <enum>Qt::RightToLeft</enum> | ||||
68 | </property> | ||||
69 | <property name="text"> | ||||
70 | <string>Team Drive list</string> | ||||
71 | </property> | ||||
72 | <property name="alignment"> | ||||
73 | <set>Qt::AlignCenter</set> | ||||
74 | </property> | ||||
75 | </widget> | ||||
76 | </item> | ||||
77 | <item> | ||||
78 | <widget class="QListWidget" name="teamdriveList"/> | ||||
79 | </item> | ||||
80 | </layout> | ||||
81 | </item> | ||||
82 | <item> | ||||
83 | <layout class="QVBoxLayout" name="teamdrivePreviewLayout"> | ||||
84 | <item> | ||||
85 | <widget class="QLabel" name="label"> | ||||
86 | <property name="font"> | ||||
87 | <font> | ||||
88 | <pointsize>12</pointsize> | ||||
89 | <weight>75</weight> | ||||
90 | <bold>true</bold> | ||||
91 | </font> | ||||
92 | </property> | ||||
93 | <property name="layoutDirection"> | ||||
94 | <enum>Qt::RightToLeft</enum> | ||||
95 | </property> | ||||
96 | <property name="text"> | ||||
97 | <string>Team Drive folder preview</string> | ||||
98 | </property> | ||||
99 | <property name="alignment"> | ||||
100 | <set>Qt::AlignCenter</set> | ||||
101 | </property> | ||||
102 | </widget> | ||||
103 | </item> | ||||
104 | <item> | ||||
105 | <widget class="QTextEdit" name="teamdrivePreview"/> | ||||
106 | </item> | ||||
107 | </layout> | ||||
108 | </item> | ||||
109 | </layout> | ||||
110 | </item> | ||||
111 | <item> | ||||
112 | <widget class="QLabel" name="errorLabel"> | ||||
113 | <property name="text"> | ||||
114 | <string/> | ||||
115 | </property> | ||||
116 | <property name="wordWrap"> | ||||
117 | <bool>true</bool> | ||||
118 | </property> | ||||
119 | </widget> | ||||
120 | </item> | ||||
121 | </layout> | ||||
122 | </widget> | ||||
123 | <widget class="QMenuBar" name="menubar"> | ||||
124 | <property name="geometry"> | ||||
125 | <rect> | ||||
126 | <x>0</x> | ||||
127 | <y>0</y> | ||||
128 | <width>640</width> | ||||
129 | <height>25</height> | ||||
130 | </rect> | ||||
131 | </property> | ||||
132 | <widget class="QMenu" name="menuFile"> | ||||
133 | <property name="title"> | ||||
134 | <string>File</string> | ||||
135 | </property> | ||||
136 | <addaction name="actionQuit"/> | ||||
137 | </widget> | ||||
138 | <addaction name="menuFile"/> | ||||
139 | </widget> | ||||
140 | <widget class="QStatusBar" name="statusbar"/> | ||||
141 | <action name="actionQuit"> | ||||
142 | <property name="text"> | ||||
143 | <string comment="Action that quits the application">Quit</string> | ||||
144 | </property> | ||||
145 | </action> | ||||
146 | </widget> | ||||
147 | <customwidgets> | ||||
148 | </customwidgets> | ||||
149 | <resources/> | ||||
150 | <connections> | ||||
151 | <connection> | ||||
152 | <sender>actionQuit</sender> | ||||
153 | <signal>activated()</signal> | ||||
154 | <receiver>MainWindow</receiver> | ||||
155 | <slot>close()</slot> | ||||
156 | <hints> | ||||
157 | <hint type="sourcelabel"> | ||||
158 | <x>-1</x> | ||||
159 | <y>-1</y> | ||||
160 | </hint> | ||||
161 | <hint type="destinationlabel"> | ||||
162 | <x>319</x> | ||||
163 | <y>206</y> | ||||
164 | </hint> | ||||
165 | </hints> | ||||
166 | </connection> | ||||
167 | </connections> | ||||
168 | </ui> |