blob: b24ff77adda7bd4e5b41590bd951a5fb3bcb9a66 [file] [log] [blame]
Philipped73bacd2014-12-15 13:39:22 -05001<?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>
philippe groarke6db8e4f2014-12-18 13:49:02 -05009 <width>860</width>
10 <height>480</height>
Philipped73bacd2014-12-15 13:39:22 -050011 </rect>
12 </property>
13 <property name="windowTitle">
Alexandre Lision392ee722015-01-23 16:27:10 -050014 <string>Ring</string>
Philipped73bacd2014-12-15 13:39:22 -050015 </property>
philippe groarke6db8e4f2014-12-18 13:49:02 -050016 <property name="styleSheet">
17 <string notr="true">QMainWindow#MainWindow {
18 background-color: rgb(246, 246, 246);
19}</string>
20 </property>
Philipped73bacd2014-12-15 13:39:22 -050021 <widget class="QWidget" name="centralWidget">
philippe groarke6db8e4f2014-12-18 13:49:02 -050022 <property name="styleSheet">
23 <string notr="true"/>
24 </property>
philippe groarke24d0fe02014-12-17 16:44:14 -050025 <layout class="QVBoxLayout" name="verticalLayout_4">
26 <property name="spacing">
27 <number>0</number>
28 </property>
29 <property name="leftMargin">
30 <number>0</number>
31 </property>
32 <property name="topMargin">
33 <number>0</number>
34 </property>
35 <property name="rightMargin">
36 <number>0</number>
37 </property>
38 <property name="bottomMargin">
39 <number>0</number>
40 </property>
Philipped73bacd2014-12-15 13:39:22 -050041 <item>
philippe groarke24d0fe02014-12-17 16:44:14 -050042 <widget class="QSplitter" name="splitter">
philippe groarke6db8e4f2014-12-18 13:49:02 -050043 <property name="styleSheet">
44 <string notr="true"/>
45 </property>
Philipped73bacd2014-12-15 13:39:22 -050046 <property name="orientation">
philippe groarke24d0fe02014-12-17 16:44:14 -050047 <enum>Qt::Horizontal</enum>
Philipped73bacd2014-12-15 13:39:22 -050048 </property>
philippe groarke24d0fe02014-12-17 16:44:14 -050049 <property name="handleWidth">
50 <number>0</number>
Philipped73bacd2014-12-15 13:39:22 -050051 </property>
philippe groarke6db8e4f2014-12-18 13:49:02 -050052 <widget class="QWidget" name="layoutWidget">
philippe groarke24d0fe02014-12-17 16:44:14 -050053 <layout class="QVBoxLayout" name="verticalLayout_3">
philippe groarke6db8e4f2014-12-18 13:49:02 -050054 <property name="sizeConstraint">
55 <enum>QLayout::SetDefaultConstraint</enum>
56 </property>
philippe groarke24d0fe02014-12-17 16:44:14 -050057 <item>
58 <layout class="QHBoxLayout" name="horizontalLayout">
59 <property name="spacing">
60 <number>10</number>
61 </property>
62 <property name="leftMargin">
63 <number>20</number>
64 </property>
65 <property name="topMargin">
66 <number>10</number>
67 </property>
philippe groarkebff3ad22014-12-18 17:18:19 -050068 <property name="rightMargin">
69 <number>10</number>
70 </property>
philippe groarke24d0fe02014-12-17 16:44:14 -050071 <property name="bottomMargin">
72 <number>10</number>
73 </property>
74 <item>
philippe groarkebff3ad22014-12-18 17:18:19 -050075 <widget class="MySearchBar" name="search_bar">
philippe groarke6db8e4f2014-12-18 13:49:02 -050076 <property name="minimumSize">
77 <size>
78 <width>0</width>
79 <height>22</height>
80 </size>
81 </property>
82 <property name="styleSheet">
83 <string notr="true">background-color: rgb(225, 225, 225);
84border: 1px solid;
85border-color: rgb(208, 208, 208);
86border-radius: 4px;
87color: rgb(160, 160, 160);
88</string>
89 </property>
philippe groarke24d0fe02014-12-17 16:44:14 -050090 <property name="text">
91 <string/>
92 </property>
93 <property name="frame">
94 <bool>true</bool>
95 </property>
philippe groarke6db8e4f2014-12-18 13:49:02 -050096 <property name="alignment">
97 <set>Qt::AlignCenter</set>
98 </property>
philippe groarke24d0fe02014-12-17 16:44:14 -050099 <property name="placeholderText">
philippe groarke21ceea22014-12-19 17:45:48 -0500100 <string>Enter a number, name, or email</string>
philippe groarke24d0fe02014-12-17 16:44:14 -0500101 </property>
102 <property name="clearButtonEnabled">
philippe groarkebff3ad22014-12-18 17:18:19 -0500103 <bool>true</bool>
philippe groarke24d0fe02014-12-17 16:44:14 -0500104 </property>
105 </widget>
106 </item>
107 <item>
philippe groarkebff3ad22014-12-18 17:18:19 -0500108 <widget class="QToolButton" name="call_button">
philippe groarke24d0fe02014-12-17 16:44:14 -0500109 <property name="text">
philippe groarkebff3ad22014-12-18 17:18:19 -0500110 <string/>
philippe groarke24d0fe02014-12-17 16:44:14 -0500111 </property>
philippe groarkebff3ad22014-12-18 17:18:19 -0500112 <property name="icon">
113 <iconset resource="data.qrc">
Alexandre Lision392ee722015-01-23 16:27:10 -0500114 <normaloff>:/data/dark/ic_action_call.png</normaloff>:/data/dark/ic_action_call.png</iconset>
philippe groarke24d0fe02014-12-17 16:44:14 -0500115 </property>
philippe groarkebff3ad22014-12-18 17:18:19 -0500116 <property name="iconSize">
117 <size>
118 <width>24</width>
119 <height>24</height>
120 </size>
philippe groarke24d0fe02014-12-17 16:44:14 -0500121 </property>
philippe groarkebff3ad22014-12-18 17:18:19 -0500122 </widget>
123 </item>
124 <item>
Alexandre Lision392ee722015-01-23 16:27:10 -0500125 <widget class="QToolButton" name="toolButton">
philippe groarkebff3ad22014-12-18 17:18:19 -0500126 <property name="text">
127 <string>...</string>
128 </property>
129 <property name="icon">
130 <iconset resource="data.qrc">
131 <normaloff>:/data/dark/ic_action_video.png</normaloff>:/data/dark/ic_action_video.png</iconset>
132 </property>
133 <property name="iconSize">
134 <size>
135 <width>24</width>
136 <height>24</height>
137 </size>
138 </property>
139 </widget>
140 </item>
141 <item>
Alexandre Lision392ee722015-01-23 16:27:10 -0500142 <widget class="QToolButton" name="toolButton_2">
philippe groarkebff3ad22014-12-18 17:18:19 -0500143 <property name="text">
Alexandre Lision392ee722015-01-23 16:27:10 -0500144 <string/>
philippe groarkebff3ad22014-12-18 17:18:19 -0500145 </property>
146 <property name="icon">
147 <iconset resource="data.qrc">
148 <normaloff>:/data/dark/ic_action_email.png</normaloff>:/data/dark/ic_action_email.png</iconset>
149 </property>
150 <property name="iconSize">
151 <size>
152 <width>24</width>
153 <height>24</height>
154 </size>
philippe groarke24d0fe02014-12-17 16:44:14 -0500155 </property>
156 </widget>
157 </item>
158 </layout>
159 </item>
160 <item>
Alexandre Lision392ee722015-01-23 16:27:10 -0500161 <widget class="QTabWidget" name="tabWidget">
162 <property name="tabPosition">
163 <enum>QTabWidget::South</enum>
philippe groarke6db8e4f2014-12-18 13:49:02 -0500164 </property>
Alexandre Lision392ee722015-01-23 16:27:10 -0500165 <property name="tabShape">
166 <enum>QTabWidget::Rounded</enum>
philippe groarke6db8e4f2014-12-18 13:49:02 -0500167 </property>
Alexandre Lision392ee722015-01-23 16:27:10 -0500168 <property name="currentIndex">
169 <number>1</number>
philippe groarke24d0fe02014-12-17 16:44:14 -0500170 </property>
Alexandre Lision392ee722015-01-23 16:27:10 -0500171 <property name="tabsClosable">
172 <bool>false</bool>
philippe groarke24d0fe02014-12-17 16:44:14 -0500173 </property>
Alexandre Lision392ee722015-01-23 16:27:10 -0500174 <widget class="QWidget" name="tab_contacts">
175 <attribute name="title">
176 <string>Contacts</string>
177 </attribute>
178 <widget class="QTreeView" name="contact_list">
179 <property name="geometry">
180 <rect>
181 <x>0</x>
182 <y>0</y>
183 <width>347</width>
184 <height>361</height>
185 </rect>
186 </property>
187 <property name="sizePolicy">
188 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
189 <horstretch>0</horstretch>
190 <verstretch>0</verstretch>
191 </sizepolicy>
192 </property>
193 <property name="minimumSize">
194 <size>
195 <width>0</width>
196 <height>0</height>
197 </size>
198 </property>
199 <property name="styleSheet">
200 <string notr="true">background-color: rgba(255,255,255, 0.0);</string>
201 </property>
202 <property name="frameShape">
203 <enum>QFrame::NoFrame</enum>
204 </property>
205 <property name="frameShadow">
206 <enum>QFrame::Plain</enum>
207 </property>
208 <property name="lineWidth">
209 <number>0</number>
210 </property>
211 <property name="iconSize">
212 <size>
213 <width>0</width>
214 <height>0</height>
215 </size>
216 </property>
217 <attribute name="headerVisible">
218 <bool>false</bool>
219 </attribute>
220 </widget>
221 </widget>
222 <widget class="QWidget" name="tab_history">
223 <attribute name="title">
224 <string>History</string>
225 </attribute>
226 </widget>
philippe groarke24d0fe02014-12-17 16:44:14 -0500227 </widget>
228 </item>
philippe groarke24d0fe02014-12-17 16:44:14 -0500229 </layout>
230 </widget>
philippe groarke6db8e4f2014-12-18 13:49:02 -0500231 <widget class="QWidget" name="layoutWidget">
232 <layout class="QVBoxLayout" name="verticalLayout_2">
233 <item>
philippe groarke21ceea22014-12-19 17:45:48 -0500234 <widget class="QWidget" name="content_area" native="true">
philippe groarke6db8e4f2014-12-18 13:49:02 -0500235 <property name="sizePolicy">
236 <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
237 <horstretch>0</horstretch>
238 <verstretch>0</verstretch>
239 </sizepolicy>
240 </property>
241 <property name="minimumSize">
242 <size>
243 <width>460</width>
244 <height>0</height>
245 </size>
246 </property>
247 <property name="styleSheet">
philippe groarke21ceea22014-12-19 17:45:48 -0500248 <string notr="true">QWidget#content_area {
249background-color: rgb(255,255,255);
philippe groarke6db8e4f2014-12-18 13:49:02 -0500250background-image:url(:/data/background_tile.png);
251background-repeat: repeat-x;
philippe groarke21ceea22014-12-19 17:45:48 -0500252background-position: bottom;
253}</string>
philippe groarke6db8e4f2014-12-18 13:49:02 -0500254 </property>
philippe groarke21ceea22014-12-19 17:45:48 -0500255 <widget class="QWidget" name="answer_bar" native="true">
256 <property name="geometry">
257 <rect>
258 <x>-10</x>
259 <y>380</y>
260 <width>561</width>
261 <height>91</height>
262 </rect>
263 </property>
264 <property name="styleSheet">
265 <string notr="true">QWidget#answer_bar {
266background-color: rgba(50, 50, 50, 0.5);
267}</string>
268 </property>
269 <layout class="QVBoxLayout" name="verticalLayout_5">
270 <item>
271 <layout class="QHBoxLayout" name="answer_bar_layout">
272 <item>
273 <spacer name="horizontalSpacer_2">
274 <property name="orientation">
275 <enum>Qt::Horizontal</enum>
276 </property>
277 <property name="sizeHint" stdset="0">
278 <size>
279 <width>40</width>
280 <height>20</height>
281 </size>
282 </property>
283 </spacer>
284 </item>
285 <item>
286 <widget class="QToolButton" name="decline_button">
287 <property name="minimumSize">
288 <size>
289 <width>0</width>
290 <height>48</height>
291 </size>
292 </property>
293 <property name="maximumSize">
294 <size>
295 <width>16777215</width>
296 <height>48</height>
297 </size>
298 </property>
299 <property name="font">
300 <font>
301 <pointsize>14</pointsize>
302 </font>
303 </property>
304 <property name="styleSheet">
305 <string notr="true">color: white;
306background-color:transparent;</string>
307 </property>
308 <property name="text">
309 <string>Decline</string>
310 </property>
311 <property name="icon">
312 <iconset resource="data.qrc">
313 <normaloff>:/data/symbol_dark.png</normaloff>:/data/symbol_dark.png</iconset>
314 </property>
315 <property name="iconSize">
316 <size>
317 <width>48</width>
318 <height>48</height>
319 </size>
320 </property>
321 <property name="toolButtonStyle">
322 <enum>Qt::ToolButtonTextBesideIcon</enum>
323 </property>
324 </widget>
325 </item>
326 <item>
327 <spacer name="horizontalSpacer">
328 <property name="orientation">
329 <enum>Qt::Horizontal</enum>
330 </property>
331 <property name="sizeType">
332 <enum>QSizePolicy::Preferred</enum>
333 </property>
334 <property name="sizeHint" stdset="0">
335 <size>
336 <width>10</width>
337 <height>20</height>
338 </size>
339 </property>
340 </spacer>
341 </item>
342 <item>
343 <widget class="QToolButton" name="hangup_button">
344 <property name="enabled">
345 <bool>true</bool>
346 </property>
347 <property name="minimumSize">
348 <size>
349 <width>0</width>
350 <height>48</height>
351 </size>
352 </property>
353 <property name="maximumSize">
354 <size>
355 <width>16777215</width>
356 <height>48</height>
357 </size>
358 </property>
359 <property name="font">
360 <font>
361 <pointsize>14</pointsize>
362 </font>
363 </property>
364 <property name="styleSheet">
365 <string notr="true">color: white;
366background-color:transparent;</string>
367 </property>
368 <property name="text">
369 <string>Hang Up</string>
370 </property>
371 <property name="icon">
372 <iconset resource="data.qrc">
373 <normaloff>:/data/symbol_dark.png</normaloff>:/data/symbol_dark.png</iconset>
374 </property>
375 <property name="iconSize">
376 <size>
377 <width>48</width>
378 <height>48</height>
379 </size>
380 </property>
381 <property name="toolButtonStyle">
382 <enum>Qt::ToolButtonTextBesideIcon</enum>
383 </property>
384 </widget>
385 </item>
386 <item>
387 <widget class="QToolButton" name="answer_button">
388 <property name="sizePolicy">
389 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
390 <horstretch>0</horstretch>
391 <verstretch>0</verstretch>
392 </sizepolicy>
393 </property>
394 <property name="minimumSize">
395 <size>
396 <width>0</width>
397 <height>48</height>
398 </size>
399 </property>
400 <property name="maximumSize">
401 <size>
402 <width>16777215</width>
403 <height>48</height>
404 </size>
405 </property>
406 <property name="font">
407 <font>
408 <pointsize>14</pointsize>
409 </font>
410 </property>
411 <property name="styleSheet">
412 <string notr="true">color: white;
413background-color:transparent;</string>
414 </property>
415 <property name="text">
416 <string>Accept</string>
417 </property>
418 <property name="icon">
419 <iconset resource="data.qrc">
420 <normaloff>:/data/symbol_blue.png</normaloff>:/data/symbol_blue.png</iconset>
421 </property>
422 <property name="iconSize">
423 <size>
424 <width>48</width>
425 <height>48</height>
426 </size>
427 </property>
428 <property name="popupMode">
429 <enum>QToolButton::DelayedPopup</enum>
430 </property>
431 <property name="toolButtonStyle">
432 <enum>Qt::ToolButtonTextBesideIcon</enum>
433 </property>
434 </widget>
435 </item>
436 <item>
437 <spacer name="horizontalSpacer_3">
438 <property name="orientation">
439 <enum>Qt::Horizontal</enum>
440 </property>
441 <property name="sizeHint" stdset="0">
442 <size>
443 <width>40</width>
444 <height>20</height>
445 </size>
446 </property>
447 </spacer>
448 </item>
449 </layout>
450 </item>
451 </layout>
452 </widget>
philippe groarke6db8e4f2014-12-18 13:49:02 -0500453 </widget>
454 </item>
455 </layout>
456 </widget>
Philipped73bacd2014-12-15 13:39:22 -0500457 </widget>
458 </item>
Philipped73bacd2014-12-15 13:39:22 -0500459 </layout>
460 </widget>
461 <widget class="QMenuBar" name="menuBar">
462 <property name="geometry">
463 <rect>
464 <x>0</x>
465 <y>0</y>
philippe groarke6db8e4f2014-12-18 13:49:02 -0500466 <width>860</width>
Philipped73bacd2014-12-15 13:39:22 -0500467 <height>22</height>
468 </rect>
469 </property>
470 </widget>
471 </widget>
472 <layoutdefault spacing="6" margin="11"/>
philippe groarke6db8e4f2014-12-18 13:49:02 -0500473 <customwidgets>
474 <customwidget>
475 <class>MySearchBar</class>
476 <extends>QLineEdit</extends>
477 <header>mysearchbar.h</header>
478 </customwidget>
479 </customwidgets>
philippe groarkebff3ad22014-12-18 17:18:19 -0500480 <resources>
481 <include location="data.qrc"/>
482 </resources>
483 <connections/>
Philipped73bacd2014-12-15 13:39:22 -0500484</ui>