comparison Applications/Samples/Qt/SampleMainWindow.ui @ 285:3c190e2bb3af am-2

refactoring: ApplicationRunner + app hierarchy
author am@osimis.io
date Tue, 28 Aug 2018 15:26:46 +0200
parents
children 612238b3f3e8
comparison
equal deleted inserted replaced
284:38b0ac8055b9 285:3c190e2bb3af
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>SampleMainWindow</class>
4 <widget class="QMainWindow" name="SampleMainWindow">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>903</width>
10 <height>634</height>
11 </rect>
12 </property>
13 <property name="minimumSize">
14 <size>
15 <width>500</width>
16 <height>300</height>
17 </size>
18 </property>
19 <property name="baseSize">
20 <size>
21 <width>500</width>
22 <height>300</height>
23 </size>
24 </property>
25 <property name="windowTitle">
26 <string>Stone of Orthanc</string>
27 </property>
28 <property name="layoutDirection">
29 <enum>Qt::LeftToRight</enum>
30 </property>
31 <widget class="QWidget" name="centralwidget">
32 <property name="sizePolicy">
33 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
34 <horstretch>0</horstretch>
35 <verstretch>0</verstretch>
36 </sizepolicy>
37 </property>
38 <property name="layoutDirection">
39 <enum>Qt::LeftToRight</enum>
40 </property>
41 <layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0">
42 <property name="sizeConstraint">
43 <enum>QLayout::SetDefaultConstraint</enum>
44 </property>
45 <item>
46 <widget class="QCairoWidget" name="cairoCentralWidget">
47 <property name="minimumSize">
48 <size>
49 <width>0</width>
50 <height>500</height>
51 </size>
52 </property>
53 </widget>
54 </item>
55 <item>
56 <widget class="QGroupBox" name="horizontalGroupBox">
57 <property name="minimumSize">
58 <size>
59 <width>0</width>
60 <height>100</height>
61 </size>
62 </property>
63 <property name="maximumSize">
64 <size>
65 <width>16777215</width>
66 <height>100</height>
67 </size>
68 </property>
69 <layout class="QHBoxLayout" name="horizontalLayout">
70 <item>
71 <widget class="QToolButton" name="toolButton1">
72 <property name="text">
73 <string>tool1</string>
74 </property>
75 </widget>
76 </item>
77 <item>
78 <widget class="QToolButton" name="toolButton2">
79 <property name="text">
80 <string>tool2</string>
81 </property>
82 </widget>
83 </item>
84 <item>
85 <widget class="QPushButton" name="pushButton1">
86 <property name="text">
87 <string>action1</string>
88 </property>
89 </widget>
90 </item>
91 <item>
92 <widget class="QPushButton" name="pushButton2">
93 <property name="text">
94 <string>action2</string>
95 </property>
96 </widget>
97 </item>
98 </layout>
99 </widget>
100 </item>
101 </layout>
102 </widget>
103 <widget class="QMenuBar" name="menubar">
104 <property name="geometry">
105 <rect>
106 <x>0</x>
107 <y>0</y>
108 <width>903</width>
109 <height>22</height>
110 </rect>
111 </property>
112 <widget class="QMenu" name="menuTest">
113 <property name="title">
114 <string>Test</string>
115 </property>
116 </widget>
117 <addaction name="menuTest"/>
118 </widget>
119 <widget class="QStatusBar" name="statusbar"/>
120 </widget>
121 <customwidgets>
122 <customwidget>
123 <class>QCairoWidget</class>
124 <extends>QGraphicsView</extends>
125 <header location="global">QCairoWidget.h</header>
126 </customwidget>
127 </customwidgets>
128 <resources/>
129 <connections/>
130 </ui>