Debian Codegraph @

libs/CCAppCommon/QDarkStyleSheet/qdarkstyle/example/ui/mw_menus.ui

raw
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>1226</width>
10 <height>719</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>MainWindow</string>
15 </property>
16 <widget class="QWidget" name="centralwidget">
17 <layout class="QGridLayout" name="gridLayout_7">
18 <item row="3" column="0">
19 <widget class="QLabel" name="label_71">
20 <property name="text">
21 <string>Inside Central Widget</string>
22 </property>
23 <property name="alignment">
24 <set>Qt::AlignCenter</set>
25 </property>
26 </widget>
27 </item>
28 <item row="0" column="0">
29 <widget class="QGroupBox" name="groupBox_2">
30 <property name="title">
31 <string>Issue #115 - Tabs scroller buttons</string>
32 </property>
33 <layout class="QGridLayout" name="gridLayout">
34 <item row="0" column="0">
35 <widget class="QTabWidget" name="tabWidget">
36 <property name="currentIndex">
37 <number>0</number>
38 </property>
39 <widget class="QWidget" name="tab">
40 <attribute name="title">
41 <string>Tab 1</string>
42 </attribute>
43 <layout class="QGridLayout" name="gridLayout_4">
44 <item row="1" column="0">
45 <widget class="QGroupBox" name="groupBox_3">
46 <property name="title">
47 <string>Issue #123 - Missing borders</string>
48 </property>
49 <layout class="QGridLayout" name="gridLayout_5">
50 <item row="0" column="0">
51 <widget class="QLabel" name="label_2">
52 <property name="text">
53 <string>TextLabel</string>
54 </property>
55 </widget>
56 </item>
57 <item row="0" column="1">
58 <widget class="QLineEdit" name="lineEdit">
59 <property name="text">
60 <string>Inside tab, outside frame</string>
61 </property>
62 </widget>
63 </item>
64 <item row="2" column="0" colspan="2">
65 <widget class="QFrame" name="frame">
66 <property name="frameShape">
67 <enum>QFrame::StyledPanel</enum>
68 </property>
69 <property name="frameShadow">
70 <enum>QFrame::Raised</enum>
71 </property>
72 <layout class="QFormLayout" name="formLayout">
73 <property name="fieldGrowthPolicy">
74 <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
75 </property>
76 <item row="0" column="0">
77 <widget class="QLabel" name="label_3">
78 <property name="text">
79 <string>TextLabel</string>
80 </property>
81 </widget>
82 </item>
83 <item row="0" column="1">
84 <widget class="QLineEdit" name="lineEdit_2">
85 <property name="text">
86 <string>Inside tab and frame</string>
87 </property>
88 </widget>
89 </item>
90 <item row="1" column="1">
91 <widget class="QListWidget" name="listWidget_2">
92 <item>
93 <property name="text">
94 <string>ListWidget</string>
95 </property>
96 </item>
97 </widget>
98 </item>
99 </layout>
100 </widget>
101 </item>
102 <item row="1" column="1">
103 <widget class="QListWidget" name="listWidget">
104 <item>
105 <property name="text">
106 <string>ListWidget</string>
107 </property>
108 </item>
109 </widget>
110 </item>
111 </layout>
112 </widget>
113 </item>
114 </layout>
115 </widget>
116 <widget class="QWidget" name="tab_2">
117 <attribute name="title">
118 <string>Tab 2</string>
119 </attribute>
120 <layout class="QGridLayout" name="gridLayout_6">
121 <item row="0" column="0">
122 <widget class="QLabel" name="label_4">
123 <property name="text">
124 <string>TextLabel</string>
125 </property>
126 </widget>
127 </item>
128 </layout>
129 </widget>
130 <widget class="QWidget" name="tab_3">
131 <attribute name="title">
132 <string>Tab 3</string>
133 </attribute>
134 </widget>
135 <widget class="QWidget" name="tab_4">
136 <attribute name="title">
137 <string>Colored tab text</string>
138 </attribute>
139 </widget>
140 <widget class="QWidget" name="tab_5">
141 <attribute name="title">
142 <string>Page</string>
143 </attribute>
144 </widget>
145 <widget class="QWidget" name="tab_6">
146 <attribute name="title">
147 <string>Page</string>
148 </attribute>
149 </widget>
150 <widget class="QWidget" name="tab_7">
151 <attribute name="title">
152 <string>Page</string>
153 </attribute>
154 </widget>
155 <widget class="QWidget" name="tab_8">
156 <attribute name="title">
157 <string>Page</string>
158 </attribute>
159 </widget>
160 <widget class="QWidget" name="tab_9">
161 <attribute name="title">
162 <string>Page</string>
163 </attribute>
164 </widget>
165 <widget class="QWidget" name="tab_10">
166 <attribute name="title">
167 <string>Page</string>
168 </attribute>
169 </widget>
170 <widget class="QWidget" name="tab_11">
171 <attribute name="title">
172 <string>Page</string>
173 </attribute>
174 </widget>
175 <widget class="QWidget" name="tab_12">
176 <attribute name="title">
177 <string>Page</string>
178 </attribute>
179 <layout class="QGridLayout" name="gridLayout_3"/>
180 </widget>
181 </widget>
182 </item>
183 </layout>
184 </widget>
185 </item>
186 <item row="1" column="0">
187 <widget class="QGroupBox" name="groupBox">
188 <property name="title">
189 <string>Issue #112 - Hyperlinks color</string>
190 </property>
191 <layout class="QGridLayout" name="gridLayout_2">
192 <item row="0" column="0">
193 <widget class="QLabel" name="label">
194 <property name="lineWidth">
195 <number>0</number>
196 </property>
197 <property name="text">
198 <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;Hyperlink Example&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:10pt; color:#7d7d7d;&quot;&gt;CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
199 </property>
200 <property name="textFormat">
201 <enum>Qt::RichText</enum>
202 </property>
203 <property name="alignment">
204 <set>Qt::AlignCenter</set>
205 </property>
206 <property name="wordWrap">
207 <bool>true</bool>
208 </property>
209 <property name="openExternalLinks">
210 <bool>true</bool>
211 </property>
212 <property name="textInteractionFlags">
213 <set>Qt::TextBrowserInteraction</set>
214 </property>
215 </widget>
216 </item>
217 </layout>
218 </widget>
219 </item>
220 <item row="2" column="0">
221 <widget class="QGroupBox" name="groupBoxDialogs">
222 <property name="title">
223 <string>Dialogs</string>
224 </property>
225 <layout class="QGridLayout" name="gridLayout_8">
226 <item row="1" column="0">
227 <widget class="QToolButton" name="toolButtonFileDialog">
228 <property name="text">
229 <string>FileDialog</string>
230 </property>
231 </widget>
232 </item>
233 <item row="1" column="1">
234 <widget class="QToolButton" name="toolButtonFileDialogStatic">
235 <property name="text">
236 <string>FileDialogStatic</string>
237 </property>
238 </widget>
239 </item>
240 <item row="1" column="2">
241 <widget class="QToolButton" name="toolButtonMessageBox">
242 <property name="text">
243 <string>MessageBox</string>
244 </property>
245 </widget>
246 </item>
247 <item row="1" column="3">
248 <widget class="QToolButton" name="toolButtonMessageBoxStatic">
249 <property name="text">
250 <string>MessageBoxStatic</string>
251 </property>
252 </widget>
253 </item>
254 <item row="2" column="0">
255 <widget class="QToolButton" name="toolButtonFontDialog">
256 <property name="text">
257 <string>FontDialog</string>
258 </property>
259 </widget>
260 </item>
261 <item row="2" column="1">
262 <widget class="QToolButton" name="toolButtonColorDialog">
263 <property name="text">
264 <string>ColorDialog</string>
265 </property>
266 </widget>
267 </item>
268 <item row="2" column="2">
269 <widget class="QToolButton" name="toolButtonInputDialog">
270 <property name="text">
271 <string>InputDialog</string>
272 </property>
273 </widget>
274 </item>
275 <item row="2" column="3">
276 <widget class="QToolButton" name="toolButtonProgressDialog">
277 <property name="text">
278 <string>ProgressDialog</string>
279 </property>
280 </widget>
281 </item>
282 <item row="0" column="0" colspan="4">
283 <widget class="QLabel" name="label_5">
284 <property name="text">
285 <string>Click to open the dialogs.</string>
286 </property>
287 <property name="alignment">
288 <set>Qt::AlignCenter</set>
289 </property>
290 </widget>
291 </item>
292 </layout>
293 </widget>
294 </item>
295 </layout>
296 </widget>
297 <widget class="QMenuBar" name="menubar">
298 <property name="geometry">
299 <rect>
300 <x>0</x>
301 <y>0</y>
302 <width>1226</width>
303 <height>23</height>
304 </rect>
305 </property>
306 <widget class="QMenu" name="menuMenu">
307 <property name="title">
308 <string>Menu</string>
309 </property>
310 <widget class="QMenu" name="menuMenuSub">
311 <property name="title">
312 <string>Menu Sub</string>
313 </property>
314 <addaction name="actionActionSubA"/>
315 <addaction name="actionActionSubB"/>
316 </widget>
317 <addaction name="actionActionA"/>
318 <addaction name="menuMenuSub"/>
319 <addaction name="actionActionIconADis"/>
320 <addaction name="actionActionIconB"/>
321 <addaction name="actionActionIconC"/>
322 </widget>
323 <widget class="QMenu" name="menuMenuDelayed">
324 <property name="title">
325 <string>Menu Delayed</string>
326 </property>
327 <widget class="QMenu" name="menuMenuSubDelayed">
328 <property name="title">
329 <string>Menu Sub Delayed</string>
330 </property>
331 <addaction name="actionActionDelayedSubA"/>
332 </widget>
333 <addaction name="actionActionDelayedA"/>
334 <addaction name="actionActionCheckableA"/>
335 <addaction name="menuMenuSubDelayed"/>
336 </widget>
337 <widget class="QMenu" name="menuMenuCheckale">
338 <property name="title">
339 <string>Menu Checkable</string>
340 </property>
341 <widget class="QMenu" name="menuNew">
342 <property name="title">
343 <string>New</string>
344 </property>
345 <addaction name="separator"/>
346 <addaction name="actionNewB"/>
347 <addaction name="actionNewD"/>
348 <addaction name="actionNewC"/>
349 <addaction name="separator"/>
350 <addaction name="actionNewE"/>
351 </widget>
352 <addaction name="actionActionCheckableA"/>
353 <addaction name="actionActionIconADis"/>
354 <addaction name="actionActionIconB"/>
355 <addaction name="actionActionIconC"/>
356 <addaction name="separator"/>
357 <addaction name="menuNew"/>
358 </widget>
359 <widget class="QMenu" name="menuAbout">
360 <property name="title">
361 <string>About QDarkStyle</string>
362 </property>
363 </widget>
364 <widget class="QMenu" name="menuHelp">
365 <property name="title">
366 <string>Help</string>
367 </property>
368 </widget>
369 <widget class="QMenu" name="menuMenuActionDis">
370 <property name="enabled">
371 <bool>true</bool>
372 </property>
373 <property name="title">
374 <string>Menu Action Disabled</string>
375 </property>
376 <addaction name="actionActionDis"/>
377 <addaction name="actionActionCheckableCheckedDis"/>
378 <addaction name="actionActionCheckableUncheckedDis"/>
379 <addaction name="actionActionIconADis"/>
380 <addaction name="actionActionIconB"/>
381 <addaction name="actionActionIconC"/>
382 </widget>
383 <widget class="QMenu" name="menuMenuDisabled">
384 <property name="enabled">
385 <bool>false</bool>
386 </property>
387 <property name="title">
388 <string>Menu Disabled</string>
389 </property>
390 </widget>
391 <widget class="QMenu" name="menuMenuTranspIcon">
392 <property name="title">
393 <string>Menu Transp. Icon</string>
394 </property>
395 <addaction name="actionActionCheckableA"/>
396 <addaction name="actionActionTranspIcon"/>
397 </widget>
398 <addaction name="menuMenu"/>
399 <addaction name="menuMenuDelayed"/>
400 <addaction name="menuMenuCheckale"/>
401 <addaction name="menuMenuActionDis"/>
402 <addaction name="menuMenuDisabled"/>
403 <addaction name="menuMenuTranspIcon"/>
404 <addaction name="menuHelp"/>
405 <addaction name="menuAbout"/>
406 </widget>
407 <widget class="QStatusBar" name="statusbar"/>
408 <widget class="QToolBar" name="toolBar">
409 <property name="enabled">
410 <bool>true</bool>
411 </property>
412 <property name="windowTitle">
413 <string>Tool bar actions</string>
414 </property>
415 <property name="toolTip">
416 <string>Tool bar actions</string>
417 </property>
418 <property name="iconSize">
419 <size>
420 <width>16</width>
421 <height>16</height>
422 </size>
423 </property>
424 <attribute name="toolBarArea">
425 <enum>TopToolBarArea</enum>
426 </attribute>
427 <attribute name="toolBarBreak">
428 <bool>false</bool>
429 </attribute>
430 <addaction name="actionActionA"/>
431 <addaction name="separator"/>
432 <addaction name="actionActionSubA"/>
433 <addaction name="actionActionSubB"/>
434 <addaction name="separator"/>
435 <addaction name="actionActionIconADis"/>
436 <addaction name="actionActionIconB"/>
437 <addaction name="actionActionIconC"/>
438 </widget>
439 <widget class="QToolBar" name="toolBarDelayed">
440 <property name="windowTitle">
441 <string>Tool bar actions delayed</string>
442 </property>
443 <property name="toolTip">
444 <string>Tool bar actions delayed</string>
445 </property>
446 <attribute name="toolBarArea">
447 <enum>TopToolBarArea</enum>
448 </attribute>
449 <attribute name="toolBarBreak">
450 <bool>false</bool>
451 </attribute>
452 <addaction name="actionActionDelayedA"/>
453 <addaction name="separator"/>
454 <addaction name="actionActionDelayedSubA"/>
455 </widget>
456 <widget class="QToolBar" name="toolBarCheckable">
457 <property name="windowTitle">
458 <string>Tool bar action checkable</string>
459 </property>
460 <property name="toolTip">
461 <string>Toolbar actions checkable</string>
462 </property>
463 <attribute name="toolBarArea">
464 <enum>TopToolBarArea</enum>
465 </attribute>
466 <attribute name="toolBarBreak">
467 <bool>true</bool>
468 </attribute>
469 <addaction name="actionActionCheckableA"/>
470 <addaction name="separator"/>
471 <addaction name="actionActionCheckableSubAChecked"/>
472 <addaction name="actionActionCheckableSubAUnchecked"/>
473 </widget>
474 <widget class="QToolBar" name="toolBarActionDis">
475 <property name="windowTitle">
476 <string>Toolbar with actions disabled</string>
477 </property>
478 <property name="toolTip">
479 <string>Toolbar with actions disabled</string>
480 </property>
481 <attribute name="toolBarArea">
482 <enum>TopToolBarArea</enum>
483 </attribute>
484 <attribute name="toolBarBreak">
485 <bool>false</bool>
486 </attribute>
487 <addaction name="actionActionDis"/>
488 <addaction name="actionActionCheckableCheckedDis"/>
489 <addaction name="actionActionCheckableUncheckedDis"/>
490 </widget>
491 <widget class="QToolBar" name="toolBarMenus">
492 <property name="windowTitle">
493 <string>Toolbar with menu</string>
494 </property>
495 <property name="toolTip">
496 <string>Toolbar with menu</string>
497 </property>
498 <attribute name="toolBarArea">
499 <enum>TopToolBarArea</enum>
500 </attribute>
501 <attribute name="toolBarBreak">
502 <bool>false</bool>
503 </attribute>
504 </widget>
505 <widget class="QToolBar" name="toolBarDis">
506 <property name="enabled">
507 <bool>false</bool>
508 </property>
509 <property name="windowTitle">
510 <string>Toolbar disabled</string>
511 </property>
512 <property name="toolTip">
513 <string>Toolbar disabled</string>
514 </property>
515 <attribute name="toolBarArea">
516 <enum>TopToolBarArea</enum>
517 </attribute>
518 <attribute name="toolBarBreak">
519 <bool>false</bool>
520 </attribute>
521 <addaction name="actionActionA"/>
522 <addaction name="actionActionSubA"/>
523 <addaction name="actionActionCheckableCheckedDis"/>
524 </widget>
525 <action name="actionActionA">
526 <property name="text">
527 <string>Action A</string>
528 </property>
529 </action>
530 <action name="actionActionSubA">
531 <property name="text">
532 <string>Action A Sub</string>
533 </property>
534 <property name="toolTip">
535 <string>Action A Sub</string>
536 </property>
537 </action>
538 <action name="actionActionSubB">
539 <property name="text">
540 <string>Action B Sub</string>
541 </property>
542 </action>
543 <action name="actionActionDelayedA">
544 <property name="text">
545 <string>Action Delayed A</string>
546 </property>
547 <property name="toolTip">
548 <string>Action Delayed A</string>
549 </property>
550 </action>
551 <action name="actionActionDelayedSubA">
552 <property name="text">
553 <string>Action Delayed Sub A</string>
554 </property>
555 <property name="toolTip">
556 <string>Action Delayed Sub A</string>
557 </property>
558 </action>
559 <action name="actionActionCheckableA">
560 <property name="checkable">
561 <bool>true</bool>
562 </property>
563 <property name="enabled">
564 <bool>true</bool>
565 </property>
566 <property name="text">
567 <string>Action Checkable A</string>
568 </property>
569 <property name="toolTip">
570 <string>Action Checkable A</string>
571 </property>
572 </action>
573 <action name="actionActionCheckableSubAChecked">
574 <property name="checkable">
575 <bool>true</bool>
576 </property>
577 <property name="checked">
578 <bool>true</bool>
579 </property>
580 <property name="text">
581 <string>Action Checkable Sub A Checked</string>
582 </property>
583 <property name="toolTip">
584 <string>Action Checkable Sub A Checked</string>
585 </property>
586 </action>
587 <action name="actionActionCheckableSubAUnchecked">
588 <property name="checkable">
589 <bool>true</bool>
590 </property>
591 <property name="text">
592 <string>Action Checkable Sub A Unchecked</string>
593 </property>
594 <property name="toolTip">
595 <string>Action Checkable Sub A Unchecked</string>
596 </property>
597 </action>
598 <action name="actionNewB">
599 <property name="text">
600 <string>New B</string>
601 </property>
602 </action>
603 <action name="actionNewC">
604 <property name="text">
605 <string>New C</string>
606 </property>
607 </action>
608 <action name="actionNewD">
609 <property name="text">
610 <string>New D</string>
611 </property>
612 </action>
613 <action name="actionNewE">
614 <property name="text">
615 <string>New E</string>
616 </property>
617 </action>
618 <action name="actionActionIconADis">
619 <property name="enabled">
620 <bool>false</bool>
621 </property>
622 <property name="icon">
623 <iconset resource="../../dark/style.qrc">
624 <normaloff>:/qss_icons/dark/rc/window_undock_focus.png</normaloff>:/qss_icons/dark/rc/window_undock_focus.png</iconset>
625 </property>
626 <property name="text">
627 <string>Action Icon A</string>
628 </property>
629 </action>
630 <action name="actionActionIconB">
631 <property name="enabled">
632 <bool>true</bool>
633 </property>
634 <property name="icon">
635 <iconset resource="../../dark/style.qrc">
636 <normaloff>:/qss_icons/dark/rc/window_close_focus.png</normaloff>:/qss_icons/dark/rc/window_close_focus.png</iconset>
637 </property>
638 <property name="text">
639 <string>Action Icon B</string>
640 </property>
641 <property name="toolTip">
642 <string>Action Icon B</string>
643 </property>
644 </action>
645 <action name="actionActionIconC">
646 <property name="icon">
647 <iconset resource="../../dark/style.qrc">
648 <normaloff>:/qss_icons/dark/rc/window_grip_focus.png</normaloff>:/qss_icons/dark/rc/window_grip_focus.png</iconset>
649 </property>
650 <property name="text">
651 <string>Action Icon C</string>
652 </property>
653 </action>
654 <action name="actionActionDis">
655 <property name="enabled">
656 <bool>false</bool>
657 </property>
658 <property name="text">
659 <string>Action Disabled</string>
660 </property>
661 <property name="toolTip">
662 <string>Action Disabled</string>
663 </property>
664 </action>
665 <action name="actionActionCheckableCheckedDis">
666 <property name="checkable">
667 <bool>true</bool>
668 </property>
669 <property name="checked">
670 <bool>true</bool>
671 </property>
672 <property name="enabled">
673 <bool>false</bool>
674 </property>
675 <property name="text">
676 <string>Action Checkable Checked Disabled</string>
677 </property>
678 <property name="toolTip">
679 <string>Action Checkable Checked Disabled</string>
680 </property>
681 </action>
682 <action name="actionActionCheckableUncheckedDis">
683 <property name="checkable">
684 <bool>true</bool>
685 </property>
686 <property name="enabled">
687 <bool>false</bool>
688 </property>
689 <property name="text">
690 <string>Action Checkable Unchecked Disabled</string>
691 </property>
692 <property name="toolTip">
693 <string>Action Checkable Unchecked Disabled</string>
694 </property>
695 </action>
696 <action name="actionActionTranspIcon">
697 <property name="icon">
698 <iconset resource="../../dark/style.qrc">
699 <normaloff>:/qss_icons/dark/rc/transparent.png</normaloff>:/qss_icons/dark/rc/transparent.png</iconset>
700 </property>
701 <property name="text">
702 <string>Action Transp. Icon</string>
703 </property>
704 </action>
705 </widget>
706 <tabstops>
707 <tabstop>lineEdit</tabstop>
708 <tabstop>tabWidget</tabstop>
709 <tabstop>lineEdit_2</tabstop>
710 </tabstops>
711 <resources>
712 <include location="../../dark/style.qrc"/>
713 </resources>
714 <connections/>
715 </ui>