RUIC 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +207 -201
- data/bin/ruic +22 -14
- data/gui/TODO +2 -2
- data/gui/appattributesmodel.rb +51 -51
- data/gui/appelementsmodel.rb +126 -126
- data/gui/launch.rb +19 -19
- data/gui/makefile +14 -14
- data/gui/resources/style/dark.qss +459 -459
- data/gui/window.rb +90 -90
- data/gui/window.ui +753 -753
- data/lib/ruic.rb +45 -9
- data/lib/ruic/application.rb +4 -0
- data/lib/ruic/{asset_classes.rb → assets.rb} +281 -447
- data/lib/ruic/attributes.rb +164 -0
- data/lib/ruic/behaviors.rb +0 -0
- data/lib/ruic/interfaces.rb +5 -5
- data/lib/ruic/presentation.rb +13 -11
- data/lib/ruic/statemachine.rb +0 -0
- data/lib/ruic/version.rb +2 -2
- data/ruic.gemspec +24 -22
- data/test/customclasses.ruic +0 -0
- data/test/filtering.ruic +38 -38
- data/test/nonmaster.ruic +0 -0
- data/test/properties.ruic +0 -0
- data/test/referencematerials.ruic +52 -53
- data/test/usage.ruic +20 -20
- metadata +33 -20
data/gui/window.rb
CHANGED
@@ -1,90 +1,90 @@
|
|
1
|
-
#encoding: utf-8
|
2
|
-
require_relative 'window_qrc'
|
3
|
-
require_relative '../lib/ruic'
|
4
|
-
|
5
|
-
class UIC::GUI < Qt::MainWindow
|
6
|
-
NVGREEN = Qt::Color.fromRgb(115,185,0)
|
7
|
-
slots :open, :saveAll
|
8
|
-
|
9
|
-
def initialize(parent=nil, &block)
|
10
|
-
super(parent)
|
11
|
-
@ui = Ui_MainWin.new
|
12
|
-
setup_interface!
|
13
|
-
connect_menus!
|
14
|
-
# instance_exec(&block) if block
|
15
|
-
end
|
16
|
-
|
17
|
-
def setup_interface!
|
18
|
-
@ui.setupUi(self)
|
19
|
-
@ui.inspector.vertical_header.resize_mode = Qt::HeaderView::Fixed
|
20
|
-
@ui.inspector.vertical_header.default_section_size = 18
|
21
|
-
end
|
22
|
-
|
23
|
-
def connect_menus!
|
24
|
-
connect @ui.actionOpen, SIGNAL(:triggered), SLOT(:open)
|
25
|
-
connect @ui.actionSaveAll, SIGNAL(:triggered), SLOT(:saveAll)
|
26
|
-
connect @ui.actionQuit, SIGNAL(:triggered), SLOT(:close)
|
27
|
-
end
|
28
|
-
|
29
|
-
def open
|
30
|
-
recent = $prefs.value('RecentProjects').value
|
31
|
-
recent = recent ? recent.last : Dir.pwd
|
32
|
-
# TODO: ensure that the file/directory exists
|
33
|
-
path = Qt::FileDialog.get_open_file_name(
|
34
|
-
self, tr("Open an Application"), recent, "UIC Application (*.uia)"
|
35
|
-
)
|
36
|
-
unless path.nil?
|
37
|
-
add_recent(path)
|
38
|
-
load_file path
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
def saveAll
|
43
|
-
warn "SAVE ALL NOT IMPLEMENTED"
|
44
|
-
end
|
45
|
-
|
46
|
-
def load_file( path )
|
47
|
-
@ruic = RUIC.new
|
48
|
-
@ruic.metadata( 'MetaData.xml' ) unless File.exist?(RUIC::DEFAULTMETADATA)
|
49
|
-
@uia = @ruic.uia(path)
|
50
|
-
dir = File.basename(File.dirname(path))
|
51
|
-
self.window_title = File.join(dir,File.basename(path))
|
52
|
-
reload_interface
|
53
|
-
end
|
54
|
-
|
55
|
-
def reload_interface
|
56
|
-
reload_hierarchy
|
57
|
-
end
|
58
|
-
|
59
|
-
def reload_hierarchy
|
60
|
-
@ui.elements.model = AppElementsModel.new(self,@uia)
|
61
|
-
changed = SIGNAL('currentChanged(const QModelIndex &, const QModelIndex &)')
|
62
|
-
@ui.elements.selectionModel.connect( changed, &method(:element_selected) )
|
63
|
-
end
|
64
|
-
|
65
|
-
def element_selected(current,previous)
|
66
|
-
@ui.slideList.remove_item(1) until @ui.slideList.count==1
|
67
|
-
if current.valid?
|
68
|
-
el = current.internal_pointer.el
|
69
|
-
master, *nonmaster = el.slides
|
70
|
-
nonmaster.each{ |s| @ui.slideList.addItem "#{s.index}: #{s.name}" }
|
71
|
-
@ui.inspector.model = AppAttributesModel.new(self,el)
|
72
|
-
@ui.inspector.horizontal_header.stretch_last_section = true
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
|
-
def add_recent(path)
|
77
|
-
recent = $prefs.value("RecentProjects").value || []
|
78
|
-
recent.delete(path)
|
79
|
-
recent << path
|
80
|
-
begin
|
81
|
-
$prefs.set_value("RecentProjects",Qt::Variant.new(recent))
|
82
|
-
rescue Exception=>e
|
83
|
-
p e
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
|
-
require_relative 'window_ui'
|
89
|
-
require_relative 'appelementsmodel'
|
90
|
-
require_relative 'appattributesmodel'
|
1
|
+
#encoding: utf-8
|
2
|
+
require_relative 'window_qrc'
|
3
|
+
require_relative '../lib/ruic'
|
4
|
+
|
5
|
+
class UIC::GUI < Qt::MainWindow
|
6
|
+
NVGREEN = Qt::Color.fromRgb(115,185,0)
|
7
|
+
slots :open, :saveAll
|
8
|
+
|
9
|
+
def initialize(parent=nil, &block)
|
10
|
+
super(parent)
|
11
|
+
@ui = Ui_MainWin.new
|
12
|
+
setup_interface!
|
13
|
+
connect_menus!
|
14
|
+
# instance_exec(&block) if block
|
15
|
+
end
|
16
|
+
|
17
|
+
def setup_interface!
|
18
|
+
@ui.setupUi(self)
|
19
|
+
@ui.inspector.vertical_header.resize_mode = Qt::HeaderView::Fixed
|
20
|
+
@ui.inspector.vertical_header.default_section_size = 18
|
21
|
+
end
|
22
|
+
|
23
|
+
def connect_menus!
|
24
|
+
connect @ui.actionOpen, SIGNAL(:triggered), SLOT(:open)
|
25
|
+
connect @ui.actionSaveAll, SIGNAL(:triggered), SLOT(:saveAll)
|
26
|
+
connect @ui.actionQuit, SIGNAL(:triggered), SLOT(:close)
|
27
|
+
end
|
28
|
+
|
29
|
+
def open
|
30
|
+
recent = $prefs.value('RecentProjects').value
|
31
|
+
recent = recent ? recent.last : Dir.pwd
|
32
|
+
# TODO: ensure that the file/directory exists
|
33
|
+
path = Qt::FileDialog.get_open_file_name(
|
34
|
+
self, tr("Open an Application"), recent, "UIC Application (*.uia)"
|
35
|
+
)
|
36
|
+
unless path.nil?
|
37
|
+
add_recent(path)
|
38
|
+
load_file path
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def saveAll
|
43
|
+
warn "SAVE ALL NOT IMPLEMENTED"
|
44
|
+
end
|
45
|
+
|
46
|
+
def load_file( path )
|
47
|
+
@ruic = RUIC.new
|
48
|
+
@ruic.metadata( 'MetaData.xml' ) unless File.exist?(RUIC::DEFAULTMETADATA)
|
49
|
+
@uia = @ruic.uia(path)
|
50
|
+
dir = File.basename(File.dirname(path))
|
51
|
+
self.window_title = File.join(dir,File.basename(path))
|
52
|
+
reload_interface
|
53
|
+
end
|
54
|
+
|
55
|
+
def reload_interface
|
56
|
+
reload_hierarchy
|
57
|
+
end
|
58
|
+
|
59
|
+
def reload_hierarchy
|
60
|
+
@ui.elements.model = AppElementsModel.new(self,@uia)
|
61
|
+
changed = SIGNAL('currentChanged(const QModelIndex &, const QModelIndex &)')
|
62
|
+
@ui.elements.selectionModel.connect( changed, &method(:element_selected) )
|
63
|
+
end
|
64
|
+
|
65
|
+
def element_selected(current,previous)
|
66
|
+
@ui.slideList.remove_item(1) until @ui.slideList.count==1
|
67
|
+
if current.valid?
|
68
|
+
el = current.internal_pointer.el
|
69
|
+
master, *nonmaster = el.slides
|
70
|
+
nonmaster.each{ |s| @ui.slideList.addItem "#{s.index}: #{s.name}" }
|
71
|
+
@ui.inspector.model = AppAttributesModel.new(self,el)
|
72
|
+
@ui.inspector.horizontal_header.stretch_last_section = true
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def add_recent(path)
|
77
|
+
recent = $prefs.value("RecentProjects").value || []
|
78
|
+
recent.delete(path)
|
79
|
+
recent << path
|
80
|
+
begin
|
81
|
+
$prefs.set_value("RecentProjects",Qt::Variant.new(recent))
|
82
|
+
rescue Exception=>e
|
83
|
+
p e
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
require_relative 'window_ui'
|
89
|
+
require_relative 'appelementsmodel'
|
90
|
+
require_relative 'appattributesmodel'
|
data/gui/window.ui
CHANGED
@@ -1,753 +1,753 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<ui version="4.0">
|
3
|
-
<class>MainWin</class>
|
4
|
-
<widget class="QMainWindow" name="MainWin">
|
5
|
-
<property name="geometry">
|
6
|
-
<rect>
|
7
|
-
<x>0</x>
|
8
|
-
<y>0</y>
|
9
|
-
<width>1150</width>
|
10
|
-
<height>656</height>
|
11
|
-
</rect>
|
12
|
-
</property>
|
13
|
-
<property name="windowTitle">
|
14
|
-
<string>UIC Inspectamator</string>
|
15
|
-
</property>
|
16
|
-
<property name="styleSheet">
|
17
|
-
<string notr="true">QPlainTextEdit, QTableView, QTreeView { border:1px solid #898c95 }</string>
|
18
|
-
</property>
|
19
|
-
<property name="unifiedTitleAndToolBarOnMac">
|
20
|
-
<bool>false</bool>
|
21
|
-
</property>
|
22
|
-
<widget class="QWidget" name="centralwidget">
|
23
|
-
<property name="sizePolicy">
|
24
|
-
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
25
|
-
<horstretch>0</horstretch>
|
26
|
-
<verstretch>0</verstretch>
|
27
|
-
</sizepolicy>
|
28
|
-
</property>
|
29
|
-
<property name="autoFillBackground">
|
30
|
-
<bool>true</bool>
|
31
|
-
</property>
|
32
|
-
<layout class="QHBoxLayout" name="horizontalLayout">
|
33
|
-
<item>
|
34
|
-
<widget class="QSplitter" name="splitter_2">
|
35
|
-
<property name="orientation">
|
36
|
-
<enum>Qt::Vertical</enum>
|
37
|
-
</property>
|
38
|
-
<property name="handleWidth">
|
39
|
-
<number>12</number>
|
40
|
-
</property>
|
41
|
-
<widget class="QSplitter" name="TopHalf">
|
42
|
-
<property name="orientation">
|
43
|
-
<enum>Qt::Horizontal</enum>
|
44
|
-
</property>
|
45
|
-
<property name="handleWidth">
|
46
|
-
<number>12</number>
|
47
|
-
</property>
|
48
|
-
<widget class="QWidget" name="">
|
49
|
-
<layout class="QVBoxLayout" name="elementsBox">
|
50
|
-
<item>
|
51
|
-
<widget class="QLabel" name="elementsHeader">
|
52
|
-
<property name="sizePolicy">
|
53
|
-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
54
|
-
<horstretch>0</horstretch>
|
55
|
-
<verstretch>0</verstretch>
|
56
|
-
</sizepolicy>
|
57
|
-
</property>
|
58
|
-
<property name="minimumSize">
|
59
|
-
<size>
|
60
|
-
<width>61</width>
|
61
|
-
<height>20</height>
|
62
|
-
</size>
|
63
|
-
</property>
|
64
|
-
<property name="maximumSize">
|
65
|
-
<size>
|
66
|
-
<width>16777215</width>
|
67
|
-
<height>20</height>
|
68
|
-
</size>
|
69
|
-
</property>
|
70
|
-
<property name="font">
|
71
|
-
<font>
|
72
|
-
<weight>75</weight>
|
73
|
-
<bold>true</bold>
|
74
|
-
</font>
|
75
|
-
</property>
|
76
|
-
<property name="text">
|
77
|
-
<string>Elements</string>
|
78
|
-
</property>
|
79
|
-
</widget>
|
80
|
-
</item>
|
81
|
-
<item>
|
82
|
-
<widget class="QSplitter" name="splitter">
|
83
|
-
<property name="orientation">
|
84
|
-
<enum>Qt::Horizontal</enum>
|
85
|
-
</property>
|
86
|
-
<property name="handleWidth">
|
87
|
-
<number>8</number>
|
88
|
-
</property>
|
89
|
-
<widget class="QTreeView" name="elements">
|
90
|
-
<property name="minimumSize">
|
91
|
-
<size>
|
92
|
-
<width>0</width>
|
93
|
-
<height>60</height>
|
94
|
-
</size>
|
95
|
-
</property>
|
96
|
-
<property name="styleSheet">
|
97
|
-
<string notr="true"/>
|
98
|
-
</property>
|
99
|
-
<property name="lineWidth">
|
100
|
-
<number>1</number>
|
101
|
-
</property>
|
102
|
-
<property name="horizontalScrollBarPolicy">
|
103
|
-
<enum>Qt::ScrollBarAlwaysOff</enum>
|
104
|
-
</property>
|
105
|
-
<property name="autoScroll">
|
106
|
-
<bool>false</bool>
|
107
|
-
</property>
|
108
|
-
<property name="autoScrollMargin">
|
109
|
-
<number>0</number>
|
110
|
-
</property>
|
111
|
-
<property name="indentation">
|
112
|
-
<number>16</number>
|
113
|
-
</property>
|
114
|
-
<property name="uniformRowHeights">
|
115
|
-
<bool>true</bool>
|
116
|
-
</property>
|
117
|
-
<property name="headerHidden">
|
118
|
-
<bool>false</bool>
|
119
|
-
</property>
|
120
|
-
</widget>
|
121
|
-
<widget class="QWidget" name="">
|
122
|
-
<layout class="QVBoxLayout" name="inspectorLayout">
|
123
|
-
<item>
|
124
|
-
<layout class="QHBoxLayout" name="slideLayout">
|
125
|
-
<item>
|
126
|
-
<widget class="QLabel" name="label">
|
127
|
-
<property name="sizePolicy">
|
128
|
-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
129
|
-
<horstretch>0</horstretch>
|
130
|
-
<verstretch>0</verstretch>
|
131
|
-
</sizepolicy>
|
132
|
-
</property>
|
133
|
-
<property name="minimumSize">
|
134
|
-
<size>
|
135
|
-
<width>41</width>
|
136
|
-
<height>20</height>
|
137
|
-
</size>
|
138
|
-
</property>
|
139
|
-
<property name="maximumSize">
|
140
|
-
<size>
|
141
|
-
<width>16777215</width>
|
142
|
-
<height>20</height>
|
143
|
-
</size>
|
144
|
-
</property>
|
145
|
-
<property name="text">
|
146
|
-
<string>Slide: </string>
|
147
|
-
</property>
|
148
|
-
</widget>
|
149
|
-
</item>
|
150
|
-
<item>
|
151
|
-
<widget class="QComboBox" name="slideList">
|
152
|
-
<property name="sizePolicy">
|
153
|
-
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
154
|
-
<horstretch>0</horstretch>
|
155
|
-
<verstretch>0</verstretch>
|
156
|
-
</sizepolicy>
|
157
|
-
</property>
|
158
|
-
<property name="minimumSize">
|
159
|
-
<size>
|
160
|
-
<width>0</width>
|
161
|
-
<height>20</height>
|
162
|
-
</size>
|
163
|
-
</property>
|
164
|
-
<property name="maximumSize">
|
165
|
-
<size>
|
166
|
-
<width>16777215</width>
|
167
|
-
<height>20</height>
|
168
|
-
</size>
|
169
|
-
</property>
|
170
|
-
<item>
|
171
|
-
<property name="text">
|
172
|
-
<string>0: Master Slide</string>
|
173
|
-
</property>
|
174
|
-
</item>
|
175
|
-
</widget>
|
176
|
-
</item>
|
177
|
-
</layout>
|
178
|
-
</item>
|
179
|
-
<item>
|
180
|
-
<widget class="QTableView" name="inspector">
|
181
|
-
<property name="minimumSize">
|
182
|
-
<size>
|
183
|
-
<width>0</width>
|
184
|
-
<height>60</height>
|
185
|
-
</size>
|
186
|
-
</property>
|
187
|
-
<property name="font">
|
188
|
-
<font>
|
189
|
-
<pointsize>12</pointsize>
|
190
|
-
</font>
|
191
|
-
</property>
|
192
|
-
<property name="styleSheet">
|
193
|
-
<string notr="true"/>
|
194
|
-
</property>
|
195
|
-
<property name="horizontalScrollBarPolicy">
|
196
|
-
<enum>Qt::ScrollBarAlwaysOff</enum>
|
197
|
-
</property>
|
198
|
-
<property name="showGrid">
|
199
|
-
<bool>false</bool>
|
200
|
-
</property>
|
201
|
-
<property name="gridStyle">
|
202
|
-
<enum>Qt::NoPen</enum>
|
203
|
-
</property>
|
204
|
-
<property name="wordWrap">
|
205
|
-
<bool>false</bool>
|
206
|
-
</property>
|
207
|
-
<attribute name="horizontalHeaderVisible">
|
208
|
-
<bool>true</bool>
|
209
|
-
</attribute>
|
210
|
-
<attribute name="horizontalHeaderCascadingSectionResizes">
|
211
|
-
<bool>false</bool>
|
212
|
-
</attribute>
|
213
|
-
</widget>
|
214
|
-
</item>
|
215
|
-
</layout>
|
216
|
-
</widget>
|
217
|
-
</widget>
|
218
|
-
</item>
|
219
|
-
</layout>
|
220
|
-
</widget>
|
221
|
-
<widget class="QWidget" name="layoutWidget">
|
222
|
-
<layout class="QVBoxLayout" name="valuesBox">
|
223
|
-
<property name="spacing">
|
224
|
-
<number>0</number>
|
225
|
-
</property>
|
226
|
-
<item>
|
227
|
-
<layout class="QHBoxLayout" name="valuesHeaderBox">
|
228
|
-
<property name="spacing">
|
229
|
-
<number>2</number>
|
230
|
-
</property>
|
231
|
-
<property name="bottomMargin">
|
232
|
-
<number>1</number>
|
233
|
-
</property>
|
234
|
-
<item>
|
235
|
-
<widget class="QLabel" name="valuesHeader">
|
236
|
-
<property name="sizePolicy">
|
237
|
-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
238
|
-
<horstretch>0</horstretch>
|
239
|
-
<verstretch>0</verstretch>
|
240
|
-
</sizepolicy>
|
241
|
-
</property>
|
242
|
-
<property name="minimumSize">
|
243
|
-
<size>
|
244
|
-
<width>45</width>
|
245
|
-
<height>20</height>
|
246
|
-
</size>
|
247
|
-
</property>
|
248
|
-
<property name="maximumSize">
|
249
|
-
<size>
|
250
|
-
<width>16777215</width>
|
251
|
-
<height>20</height>
|
252
|
-
</size>
|
253
|
-
</property>
|
254
|
-
<property name="font">
|
255
|
-
<font>
|
256
|
-
<weight>75</weight>
|
257
|
-
<bold>true</bold>
|
258
|
-
</font>
|
259
|
-
</property>
|
260
|
-
<property name="text">
|
261
|
-
<string>Values</string>
|
262
|
-
</property>
|
263
|
-
</widget>
|
264
|
-
</item>
|
265
|
-
<item>
|
266
|
-
<spacer name="hspace">
|
267
|
-
<property name="orientation">
|
268
|
-
<enum>Qt::Horizontal</enum>
|
269
|
-
</property>
|
270
|
-
<property name="sizeHint" stdset="0">
|
271
|
-
<size>
|
272
|
-
<width>48</width>
|
273
|
-
<height>20</height>
|
274
|
-
</size>
|
275
|
-
</property>
|
276
|
-
</spacer>
|
277
|
-
</item>
|
278
|
-
<item>
|
279
|
-
<widget class="QComboBox" name="comboBox_2">
|
280
|
-
<property name="minimumSize">
|
281
|
-
<size>
|
282
|
-
<width>76</width>
|
283
|
-
<height>20</height>
|
284
|
-
</size>
|
285
|
-
</property>
|
286
|
-
<property name="maximumSize">
|
287
|
-
<size>
|
288
|
-
<width>87</width>
|
289
|
-
<height>20</height>
|
290
|
-
</size>
|
291
|
-
</property>
|
292
|
-
<property name="maxVisibleItems">
|
293
|
-
<number>15</number>
|
294
|
-
</property>
|
295
|
-
<item>
|
296
|
-
<property name="text">
|
297
|
-
<string>(elements)</string>
|
298
|
-
</property>
|
299
|
-
</item>
|
300
|
-
<item>
|
301
|
-
<property name="text">
|
302
|
-
<string>scenes</string>
|
303
|
-
</property>
|
304
|
-
</item>
|
305
|
-
<item>
|
306
|
-
<property name="text">
|
307
|
-
<string>layers</string>
|
308
|
-
</property>
|
309
|
-
</item>
|
310
|
-
<item>
|
311
|
-
<property name="text">
|
312
|
-
<string>cameras</string>
|
313
|
-
</property>
|
314
|
-
</item>
|
315
|
-
<item>
|
316
|
-
<property name="text">
|
317
|
-
<string>lights</string>
|
318
|
-
</property>
|
319
|
-
</item>
|
320
|
-
<item>
|
321
|
-
<property name="text">
|
322
|
-
<string>groups</string>
|
323
|
-
</property>
|
324
|
-
</item>
|
325
|
-
<item>
|
326
|
-
<property name="text">
|
327
|
-
<string>models</string>
|
328
|
-
</property>
|
329
|
-
</item>
|
330
|
-
<item>
|
331
|
-
<property name="text">
|
332
|
-
<string>materials</string>
|
333
|
-
</property>
|
334
|
-
</item>
|
335
|
-
<item>
|
336
|
-
<property name="text">
|
337
|
-
<string>text</string>
|
338
|
-
</property>
|
339
|
-
</item>
|
340
|
-
<item>
|
341
|
-
<property name="text">
|
342
|
-
<string>components</string>
|
343
|
-
</property>
|
344
|
-
</item>
|
345
|
-
<item>
|
346
|
-
<property name="text">
|
347
|
-
<string>behaviors</string>
|
348
|
-
</property>
|
349
|
-
</item>
|
350
|
-
</widget>
|
351
|
-
</item>
|
352
|
-
<item>
|
353
|
-
<widget class="QComboBox" name="comboBox_3">
|
354
|
-
<property name="minimumSize">
|
355
|
-
<size>
|
356
|
-
<width>69</width>
|
357
|
-
<height>0</height>
|
358
|
-
</size>
|
359
|
-
</property>
|
360
|
-
<property name="maximumSize">
|
361
|
-
<size>
|
362
|
-
<width>69</width>
|
363
|
-
<height>20</height>
|
364
|
-
</size>
|
365
|
-
</property>
|
366
|
-
<item>
|
367
|
-
<property name="text">
|
368
|
-
<string>(types)</string>
|
369
|
-
</property>
|
370
|
-
</item>
|
371
|
-
<item>
|
372
|
-
<property name="text">
|
373
|
-
<string>floats</string>
|
374
|
-
</property>
|
375
|
-
</item>
|
376
|
-
<item>
|
377
|
-
<property name="text">
|
378
|
-
<string>integers</string>
|
379
|
-
</property>
|
380
|
-
</item>
|
381
|
-
<item>
|
382
|
-
<property name="text">
|
383
|
-
<string>colors</string>
|
384
|
-
</property>
|
385
|
-
</item>
|
386
|
-
<item>
|
387
|
-
<property name="text">
|
388
|
-
<string>strings</string>
|
389
|
-
</property>
|
390
|
-
</item>
|
391
|
-
<item>
|
392
|
-
<property name="text">
|
393
|
-
<string>fonts</string>
|
394
|
-
</property>
|
395
|
-
</item>
|
396
|
-
<item>
|
397
|
-
<property name="text">
|
398
|
-
<string>fontsizes</string>
|
399
|
-
</property>
|
400
|
-
</item>
|
401
|
-
<item>
|
402
|
-
<property name="text">
|
403
|
-
<string>vectors</string>
|
404
|
-
</property>
|
405
|
-
</item>
|
406
|
-
<item>
|
407
|
-
<property name="text">
|
408
|
-
<string>rotations</string>
|
409
|
-
</property>
|
410
|
-
</item>
|
411
|
-
</widget>
|
412
|
-
</item>
|
413
|
-
<item>
|
414
|
-
<widget class="QComboBox" name="comboBox_4">
|
415
|
-
<property name="sizePolicy">
|
416
|
-
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
417
|
-
<horstretch>0</horstretch>
|
418
|
-
<verstretch>0</verstretch>
|
419
|
-
</sizepolicy>
|
420
|
-
</property>
|
421
|
-
<property name="minimumSize">
|
422
|
-
<size>
|
423
|
-
<width>80</width>
|
424
|
-
<height>0</height>
|
425
|
-
</size>
|
426
|
-
</property>
|
427
|
-
<property name="maximumSize">
|
428
|
-
<size>
|
429
|
-
<width>16777215</width>
|
430
|
-
<height>20</height>
|
431
|
-
</size>
|
432
|
-
</property>
|
433
|
-
<item>
|
434
|
-
<property name="text">
|
435
|
-
<string>(attributes)</string>
|
436
|
-
</property>
|
437
|
-
</item>
|
438
|
-
</widget>
|
439
|
-
</item>
|
440
|
-
</layout>
|
441
|
-
</item>
|
442
|
-
<item>
|
443
|
-
<widget class="QTableView" name="tableView">
|
444
|
-
<property name="minimumSize">
|
445
|
-
<size>
|
446
|
-
<width>0</width>
|
447
|
-
<height>60</height>
|
448
|
-
</size>
|
449
|
-
</property>
|
450
|
-
</widget>
|
451
|
-
</item>
|
452
|
-
</layout>
|
453
|
-
</widget>
|
454
|
-
<widget class="QWidget" name="layoutWidget">
|
455
|
-
<layout class="QVBoxLayout" name="assetsBox">
|
456
|
-
<property name="spacing">
|
457
|
-
<number>0</number>
|
458
|
-
</property>
|
459
|
-
<item>
|
460
|
-
<layout class="QHBoxLayout" name="assetsHeaderBox">
|
461
|
-
<property name="bottomMargin">
|
462
|
-
<number>1</number>
|
463
|
-
</property>
|
464
|
-
<item>
|
465
|
-
<widget class="QLabel" name="assetsHeader">
|
466
|
-
<property name="sizePolicy">
|
467
|
-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
468
|
-
<horstretch>0</horstretch>
|
469
|
-
<verstretch>0</verstretch>
|
470
|
-
</sizepolicy>
|
471
|
-
</property>
|
472
|
-
<property name="minimumSize">
|
473
|
-
<size>
|
474
|
-
<width>46</width>
|
475
|
-
<height>20</height>
|
476
|
-
</size>
|
477
|
-
</property>
|
478
|
-
<property name="maximumSize">
|
479
|
-
<size>
|
480
|
-
<width>16777215</width>
|
481
|
-
<height>20</height>
|
482
|
-
</size>
|
483
|
-
</property>
|
484
|
-
<property name="font">
|
485
|
-
<font>
|
486
|
-
<weight>75</weight>
|
487
|
-
<bold>true</bold>
|
488
|
-
</font>
|
489
|
-
</property>
|
490
|
-
<property name="text">
|
491
|
-
<string>Assets</string>
|
492
|
-
</property>
|
493
|
-
</widget>
|
494
|
-
</item>
|
495
|
-
<item>
|
496
|
-
<spacer name="hspace_2">
|
497
|
-
<property name="orientation">
|
498
|
-
<enum>Qt::Horizontal</enum>
|
499
|
-
</property>
|
500
|
-
<property name="sizeHint" stdset="0">
|
501
|
-
<size>
|
502
|
-
<width>40</width>
|
503
|
-
<height>16</height>
|
504
|
-
</size>
|
505
|
-
</property>
|
506
|
-
</spacer>
|
507
|
-
</item>
|
508
|
-
<item>
|
509
|
-
<widget class="QComboBox" name="comboBox">
|
510
|
-
<property name="minimumSize">
|
511
|
-
<size>
|
512
|
-
<width>69</width>
|
513
|
-
<height>20</height>
|
514
|
-
</size>
|
515
|
-
</property>
|
516
|
-
<property name="maximumSize">
|
517
|
-
<size>
|
518
|
-
<width>16777215</width>
|
519
|
-
<height>20</height>
|
520
|
-
</size>
|
521
|
-
</property>
|
522
|
-
<item>
|
523
|
-
<property name="text">
|
524
|
-
<string>All Assets</string>
|
525
|
-
</property>
|
526
|
-
</item>
|
527
|
-
<item>
|
528
|
-
<property name="text">
|
529
|
-
<string>Used Only</string>
|
530
|
-
</property>
|
531
|
-
</item>
|
532
|
-
<item>
|
533
|
-
<property name="text">
|
534
|
-
<string>Unused Only</string>
|
535
|
-
</property>
|
536
|
-
</item>
|
537
|
-
</widget>
|
538
|
-
</item>
|
539
|
-
</layout>
|
540
|
-
</item>
|
541
|
-
<item>
|
542
|
-
<widget class="QTreeView" name="assetView">
|
543
|
-
<property name="sizePolicy">
|
544
|
-
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
545
|
-
<horstretch>0</horstretch>
|
546
|
-
<verstretch>0</verstretch>
|
547
|
-
</sizepolicy>
|
548
|
-
</property>
|
549
|
-
<property name="minimumSize">
|
550
|
-
<size>
|
551
|
-
<width>131</width>
|
552
|
-
<height>101</height>
|
553
|
-
</size>
|
554
|
-
</property>
|
555
|
-
</widget>
|
556
|
-
</item>
|
557
|
-
</layout>
|
558
|
-
</widget>
|
559
|
-
</widget>
|
560
|
-
<widget class="QWidget" name="layoutWidget">
|
561
|
-
<layout class="QVBoxLayout" name="ConsoleBox" stretch="0,0">
|
562
|
-
<property name="spacing">
|
563
|
-
<number>0</number>
|
564
|
-
</property>
|
565
|
-
<item>
|
566
|
-
<widget class="QLabel" name="consoleLabel">
|
567
|
-
<property name="sizePolicy">
|
568
|
-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
569
|
-
<horstretch>0</horstretch>
|
570
|
-
<verstretch>0</verstretch>
|
571
|
-
</sizepolicy>
|
572
|
-
</property>
|
573
|
-
<property name="maximumSize">
|
574
|
-
<size>
|
575
|
-
<width>16777215</width>
|
576
|
-
<height>16</height>
|
577
|
-
</size>
|
578
|
-
</property>
|
579
|
-
<property name="font">
|
580
|
-
<font>
|
581
|
-
<weight>75</weight>
|
582
|
-
<bold>true</bold>
|
583
|
-
</font>
|
584
|
-
</property>
|
585
|
-
<property name="text">
|
586
|
-
<string>Console</string>
|
587
|
-
</property>
|
588
|
-
</widget>
|
589
|
-
</item>
|
590
|
-
<item>
|
591
|
-
<widget class="QPlainTextEdit" name="console">
|
592
|
-
<property name="enabled">
|
593
|
-
<bool>true</bool>
|
594
|
-
</property>
|
595
|
-
<property name="sizePolicy">
|
596
|
-
<sizepolicy hsizetype="Ignored" vsizetype="Minimum">
|
597
|
-
<horstretch>0</horstretch>
|
598
|
-
<verstretch>0</verstretch>
|
599
|
-
</sizepolicy>
|
600
|
-
</property>
|
601
|
-
<property name="minimumSize">
|
602
|
-
<size>
|
603
|
-
<width>0</width>
|
604
|
-
<height>41</height>
|
605
|
-
</size>
|
606
|
-
</property>
|
607
|
-
<property name="undoRedoEnabled">
|
608
|
-
<bool>false</bool>
|
609
|
-
</property>
|
610
|
-
<property name="readOnly">
|
611
|
-
<bool>true</bool>
|
612
|
-
</property>
|
613
|
-
<property name="tabStopWidth">
|
614
|
-
<number>2</number>
|
615
|
-
</property>
|
616
|
-
<property name="textInteractionFlags">
|
617
|
-
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
618
|
-
</property>
|
619
|
-
</widget>
|
620
|
-
</item>
|
621
|
-
</layout>
|
622
|
-
</widget>
|
623
|
-
</widget>
|
624
|
-
</item>
|
625
|
-
</layout>
|
626
|
-
</widget>
|
627
|
-
<widget class="QMenuBar" name="menubar">
|
628
|
-
<property name="geometry">
|
629
|
-
<rect>
|
630
|
-
<x>0</x>
|
631
|
-
<y>0</y>
|
632
|
-
<width>1150</width>
|
633
|
-
<height>22</height>
|
634
|
-
</rect>
|
635
|
-
</property>
|
636
|
-
<widget class="QMenu" name="menuFile">
|
637
|
-
<property name="title">
|
638
|
-
<string>File</string>
|
639
|
-
</property>
|
640
|
-
<addaction name="actionOpen"/>
|
641
|
-
<addaction name="actionSaveAll"/>
|
642
|
-
<addaction name="separator"/>
|
643
|
-
<addaction name="actionDelete_Unused_Assets"/>
|
644
|
-
<addaction name="separator"/>
|
645
|
-
<addaction name="actionQuit"/>
|
646
|
-
</widget>
|
647
|
-
<widget class="QMenu" name="menuEdit">
|
648
|
-
<property name="title">
|
649
|
-
<string>Edit</string>
|
650
|
-
</property>
|
651
|
-
<addaction name="menuEditUndo"/>
|
652
|
-
<addaction name="menuEditRedo"/>
|
653
|
-
<addaction name="separator"/>
|
654
|
-
<addaction name="menuEditCopy"/>
|
655
|
-
</widget>
|
656
|
-
<widget class="QMenu" name="menuWindow">
|
657
|
-
<property name="title">
|
658
|
-
<string>Window</string>
|
659
|
-
</property>
|
660
|
-
</widget>
|
661
|
-
<addaction name="menuFile"/>
|
662
|
-
<addaction name="menuEdit"/>
|
663
|
-
<addaction name="menuWindow"/>
|
664
|
-
</widget>
|
665
|
-
<widget class="QStatusBar" name="statusbar"/>
|
666
|
-
<action name="actionOpen">
|
667
|
-
<property name="icon">
|
668
|
-
<iconset resource="resources.qrc">
|
669
|
-
<normaloff>:/resources/images/folder-horizontal-open.png</normaloff>:/resources/images/folder-horizontal-open.png</iconset>
|
670
|
-
</property>
|
671
|
-
<property name="text">
|
672
|
-
<string>Open…</string>
|
673
|
-
</property>
|
674
|
-
<property name="shortcut">
|
675
|
-
<string>Ctrl+O</string>
|
676
|
-
</property>
|
677
|
-
<property name="shortcutContext">
|
678
|
-
<enum>Qt::ApplicationShortcut</enum>
|
679
|
-
</property>
|
680
|
-
</action>
|
681
|
-
<action name="menuEditUndo">
|
682
|
-
<property name="enabled">
|
683
|
-
<bool>false</bool>
|
684
|
-
</property>
|
685
|
-
<property name="icon">
|
686
|
-
<iconset theme="undo">
|
687
|
-
<normaloff/>
|
688
|
-
</iconset>
|
689
|
-
</property>
|
690
|
-
<property name="text">
|
691
|
-
<string>Undo</string>
|
692
|
-
</property>
|
693
|
-
<property name="shortcut">
|
694
|
-
<string>Ctrl+Z</string>
|
695
|
-
</property>
|
696
|
-
</action>
|
697
|
-
<action name="menuEditRedo">
|
698
|
-
<property name="enabled">
|
699
|
-
<bool>false</bool>
|
700
|
-
</property>
|
701
|
-
<property name="text">
|
702
|
-
<string>Redo</string>
|
703
|
-
</property>
|
704
|
-
<property name="shortcut">
|
705
|
-
<string>Ctrl+Y</string>
|
706
|
-
</property>
|
707
|
-
</action>
|
708
|
-
<action name="menuEditCopy">
|
709
|
-
<property name="enabled">
|
710
|
-
<bool>false</bool>
|
711
|
-
</property>
|
712
|
-
<property name="text">
|
713
|
-
<string>Copy</string>
|
714
|
-
</property>
|
715
|
-
<property name="shortcut">
|
716
|
-
<string>Ctrl+C</string>
|
717
|
-
</property>
|
718
|
-
</action>
|
719
|
-
<action name="actionSaveAll">
|
720
|
-
<property name="enabled">
|
721
|
-
<bool>false</bool>
|
722
|
-
</property>
|
723
|
-
<property name="icon">
|
724
|
-
<iconset resource="resources.qrc">
|
725
|
-
<normaloff>:/resources/images/disks-black.png</normaloff>:/resources/images/disks-black.png</iconset>
|
726
|
-
</property>
|
727
|
-
<property name="text">
|
728
|
-
<string>Save All…</string>
|
729
|
-
</property>
|
730
|
-
<property name="shortcut">
|
731
|
-
<string>Ctrl+S</string>
|
732
|
-
</property>
|
733
|
-
</action>
|
734
|
-
<action name="actionQuit">
|
735
|
-
<property name="text">
|
736
|
-
<string>Quit</string>
|
737
|
-
</property>
|
738
|
-
</action>
|
739
|
-
<action name="actionDelete_Unused_Assets">
|
740
|
-
<property name="icon">
|
741
|
-
<iconset resource="resources.qrc">
|
742
|
-
<normaloff>:/resources/images/cross.png</normaloff>:/resources/images/cross.png</iconset>
|
743
|
-
</property>
|
744
|
-
<property name="text">
|
745
|
-
<string>Delete Unused Assets…</string>
|
746
|
-
</property>
|
747
|
-
</action>
|
748
|
-
</widget>
|
749
|
-
<resources>
|
750
|
-
<include location="resources.qrc"/>
|
751
|
-
</resources>
|
752
|
-
<connections/>
|
753
|
-
</ui>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>MainWin</class>
|
4
|
+
<widget class="QMainWindow" name="MainWin">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>1150</width>
|
10
|
+
<height>656</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="windowTitle">
|
14
|
+
<string>UIC Inspectamator</string>
|
15
|
+
</property>
|
16
|
+
<property name="styleSheet">
|
17
|
+
<string notr="true">QPlainTextEdit, QTableView, QTreeView { border:1px solid #898c95 }</string>
|
18
|
+
</property>
|
19
|
+
<property name="unifiedTitleAndToolBarOnMac">
|
20
|
+
<bool>false</bool>
|
21
|
+
</property>
|
22
|
+
<widget class="QWidget" name="centralwidget">
|
23
|
+
<property name="sizePolicy">
|
24
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
25
|
+
<horstretch>0</horstretch>
|
26
|
+
<verstretch>0</verstretch>
|
27
|
+
</sizepolicy>
|
28
|
+
</property>
|
29
|
+
<property name="autoFillBackground">
|
30
|
+
<bool>true</bool>
|
31
|
+
</property>
|
32
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
33
|
+
<item>
|
34
|
+
<widget class="QSplitter" name="splitter_2">
|
35
|
+
<property name="orientation">
|
36
|
+
<enum>Qt::Vertical</enum>
|
37
|
+
</property>
|
38
|
+
<property name="handleWidth">
|
39
|
+
<number>12</number>
|
40
|
+
</property>
|
41
|
+
<widget class="QSplitter" name="TopHalf">
|
42
|
+
<property name="orientation">
|
43
|
+
<enum>Qt::Horizontal</enum>
|
44
|
+
</property>
|
45
|
+
<property name="handleWidth">
|
46
|
+
<number>12</number>
|
47
|
+
</property>
|
48
|
+
<widget class="QWidget" name="">
|
49
|
+
<layout class="QVBoxLayout" name="elementsBox">
|
50
|
+
<item>
|
51
|
+
<widget class="QLabel" name="elementsHeader">
|
52
|
+
<property name="sizePolicy">
|
53
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
54
|
+
<horstretch>0</horstretch>
|
55
|
+
<verstretch>0</verstretch>
|
56
|
+
</sizepolicy>
|
57
|
+
</property>
|
58
|
+
<property name="minimumSize">
|
59
|
+
<size>
|
60
|
+
<width>61</width>
|
61
|
+
<height>20</height>
|
62
|
+
</size>
|
63
|
+
</property>
|
64
|
+
<property name="maximumSize">
|
65
|
+
<size>
|
66
|
+
<width>16777215</width>
|
67
|
+
<height>20</height>
|
68
|
+
</size>
|
69
|
+
</property>
|
70
|
+
<property name="font">
|
71
|
+
<font>
|
72
|
+
<weight>75</weight>
|
73
|
+
<bold>true</bold>
|
74
|
+
</font>
|
75
|
+
</property>
|
76
|
+
<property name="text">
|
77
|
+
<string>Elements</string>
|
78
|
+
</property>
|
79
|
+
</widget>
|
80
|
+
</item>
|
81
|
+
<item>
|
82
|
+
<widget class="QSplitter" name="splitter">
|
83
|
+
<property name="orientation">
|
84
|
+
<enum>Qt::Horizontal</enum>
|
85
|
+
</property>
|
86
|
+
<property name="handleWidth">
|
87
|
+
<number>8</number>
|
88
|
+
</property>
|
89
|
+
<widget class="QTreeView" name="elements">
|
90
|
+
<property name="minimumSize">
|
91
|
+
<size>
|
92
|
+
<width>0</width>
|
93
|
+
<height>60</height>
|
94
|
+
</size>
|
95
|
+
</property>
|
96
|
+
<property name="styleSheet">
|
97
|
+
<string notr="true"/>
|
98
|
+
</property>
|
99
|
+
<property name="lineWidth">
|
100
|
+
<number>1</number>
|
101
|
+
</property>
|
102
|
+
<property name="horizontalScrollBarPolicy">
|
103
|
+
<enum>Qt::ScrollBarAlwaysOff</enum>
|
104
|
+
</property>
|
105
|
+
<property name="autoScroll">
|
106
|
+
<bool>false</bool>
|
107
|
+
</property>
|
108
|
+
<property name="autoScrollMargin">
|
109
|
+
<number>0</number>
|
110
|
+
</property>
|
111
|
+
<property name="indentation">
|
112
|
+
<number>16</number>
|
113
|
+
</property>
|
114
|
+
<property name="uniformRowHeights">
|
115
|
+
<bool>true</bool>
|
116
|
+
</property>
|
117
|
+
<property name="headerHidden">
|
118
|
+
<bool>false</bool>
|
119
|
+
</property>
|
120
|
+
</widget>
|
121
|
+
<widget class="QWidget" name="">
|
122
|
+
<layout class="QVBoxLayout" name="inspectorLayout">
|
123
|
+
<item>
|
124
|
+
<layout class="QHBoxLayout" name="slideLayout">
|
125
|
+
<item>
|
126
|
+
<widget class="QLabel" name="label">
|
127
|
+
<property name="sizePolicy">
|
128
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
129
|
+
<horstretch>0</horstretch>
|
130
|
+
<verstretch>0</verstretch>
|
131
|
+
</sizepolicy>
|
132
|
+
</property>
|
133
|
+
<property name="minimumSize">
|
134
|
+
<size>
|
135
|
+
<width>41</width>
|
136
|
+
<height>20</height>
|
137
|
+
</size>
|
138
|
+
</property>
|
139
|
+
<property name="maximumSize">
|
140
|
+
<size>
|
141
|
+
<width>16777215</width>
|
142
|
+
<height>20</height>
|
143
|
+
</size>
|
144
|
+
</property>
|
145
|
+
<property name="text">
|
146
|
+
<string>Slide: </string>
|
147
|
+
</property>
|
148
|
+
</widget>
|
149
|
+
</item>
|
150
|
+
<item>
|
151
|
+
<widget class="QComboBox" name="slideList">
|
152
|
+
<property name="sizePolicy">
|
153
|
+
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
154
|
+
<horstretch>0</horstretch>
|
155
|
+
<verstretch>0</verstretch>
|
156
|
+
</sizepolicy>
|
157
|
+
</property>
|
158
|
+
<property name="minimumSize">
|
159
|
+
<size>
|
160
|
+
<width>0</width>
|
161
|
+
<height>20</height>
|
162
|
+
</size>
|
163
|
+
</property>
|
164
|
+
<property name="maximumSize">
|
165
|
+
<size>
|
166
|
+
<width>16777215</width>
|
167
|
+
<height>20</height>
|
168
|
+
</size>
|
169
|
+
</property>
|
170
|
+
<item>
|
171
|
+
<property name="text">
|
172
|
+
<string>0: Master Slide</string>
|
173
|
+
</property>
|
174
|
+
</item>
|
175
|
+
</widget>
|
176
|
+
</item>
|
177
|
+
</layout>
|
178
|
+
</item>
|
179
|
+
<item>
|
180
|
+
<widget class="QTableView" name="inspector">
|
181
|
+
<property name="minimumSize">
|
182
|
+
<size>
|
183
|
+
<width>0</width>
|
184
|
+
<height>60</height>
|
185
|
+
</size>
|
186
|
+
</property>
|
187
|
+
<property name="font">
|
188
|
+
<font>
|
189
|
+
<pointsize>12</pointsize>
|
190
|
+
</font>
|
191
|
+
</property>
|
192
|
+
<property name="styleSheet">
|
193
|
+
<string notr="true"/>
|
194
|
+
</property>
|
195
|
+
<property name="horizontalScrollBarPolicy">
|
196
|
+
<enum>Qt::ScrollBarAlwaysOff</enum>
|
197
|
+
</property>
|
198
|
+
<property name="showGrid">
|
199
|
+
<bool>false</bool>
|
200
|
+
</property>
|
201
|
+
<property name="gridStyle">
|
202
|
+
<enum>Qt::NoPen</enum>
|
203
|
+
</property>
|
204
|
+
<property name="wordWrap">
|
205
|
+
<bool>false</bool>
|
206
|
+
</property>
|
207
|
+
<attribute name="horizontalHeaderVisible">
|
208
|
+
<bool>true</bool>
|
209
|
+
</attribute>
|
210
|
+
<attribute name="horizontalHeaderCascadingSectionResizes">
|
211
|
+
<bool>false</bool>
|
212
|
+
</attribute>
|
213
|
+
</widget>
|
214
|
+
</item>
|
215
|
+
</layout>
|
216
|
+
</widget>
|
217
|
+
</widget>
|
218
|
+
</item>
|
219
|
+
</layout>
|
220
|
+
</widget>
|
221
|
+
<widget class="QWidget" name="layoutWidget">
|
222
|
+
<layout class="QVBoxLayout" name="valuesBox">
|
223
|
+
<property name="spacing">
|
224
|
+
<number>0</number>
|
225
|
+
</property>
|
226
|
+
<item>
|
227
|
+
<layout class="QHBoxLayout" name="valuesHeaderBox">
|
228
|
+
<property name="spacing">
|
229
|
+
<number>2</number>
|
230
|
+
</property>
|
231
|
+
<property name="bottomMargin">
|
232
|
+
<number>1</number>
|
233
|
+
</property>
|
234
|
+
<item>
|
235
|
+
<widget class="QLabel" name="valuesHeader">
|
236
|
+
<property name="sizePolicy">
|
237
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
238
|
+
<horstretch>0</horstretch>
|
239
|
+
<verstretch>0</verstretch>
|
240
|
+
</sizepolicy>
|
241
|
+
</property>
|
242
|
+
<property name="minimumSize">
|
243
|
+
<size>
|
244
|
+
<width>45</width>
|
245
|
+
<height>20</height>
|
246
|
+
</size>
|
247
|
+
</property>
|
248
|
+
<property name="maximumSize">
|
249
|
+
<size>
|
250
|
+
<width>16777215</width>
|
251
|
+
<height>20</height>
|
252
|
+
</size>
|
253
|
+
</property>
|
254
|
+
<property name="font">
|
255
|
+
<font>
|
256
|
+
<weight>75</weight>
|
257
|
+
<bold>true</bold>
|
258
|
+
</font>
|
259
|
+
</property>
|
260
|
+
<property name="text">
|
261
|
+
<string>Values</string>
|
262
|
+
</property>
|
263
|
+
</widget>
|
264
|
+
</item>
|
265
|
+
<item>
|
266
|
+
<spacer name="hspace">
|
267
|
+
<property name="orientation">
|
268
|
+
<enum>Qt::Horizontal</enum>
|
269
|
+
</property>
|
270
|
+
<property name="sizeHint" stdset="0">
|
271
|
+
<size>
|
272
|
+
<width>48</width>
|
273
|
+
<height>20</height>
|
274
|
+
</size>
|
275
|
+
</property>
|
276
|
+
</spacer>
|
277
|
+
</item>
|
278
|
+
<item>
|
279
|
+
<widget class="QComboBox" name="comboBox_2">
|
280
|
+
<property name="minimumSize">
|
281
|
+
<size>
|
282
|
+
<width>76</width>
|
283
|
+
<height>20</height>
|
284
|
+
</size>
|
285
|
+
</property>
|
286
|
+
<property name="maximumSize">
|
287
|
+
<size>
|
288
|
+
<width>87</width>
|
289
|
+
<height>20</height>
|
290
|
+
</size>
|
291
|
+
</property>
|
292
|
+
<property name="maxVisibleItems">
|
293
|
+
<number>15</number>
|
294
|
+
</property>
|
295
|
+
<item>
|
296
|
+
<property name="text">
|
297
|
+
<string>(elements)</string>
|
298
|
+
</property>
|
299
|
+
</item>
|
300
|
+
<item>
|
301
|
+
<property name="text">
|
302
|
+
<string>scenes</string>
|
303
|
+
</property>
|
304
|
+
</item>
|
305
|
+
<item>
|
306
|
+
<property name="text">
|
307
|
+
<string>layers</string>
|
308
|
+
</property>
|
309
|
+
</item>
|
310
|
+
<item>
|
311
|
+
<property name="text">
|
312
|
+
<string>cameras</string>
|
313
|
+
</property>
|
314
|
+
</item>
|
315
|
+
<item>
|
316
|
+
<property name="text">
|
317
|
+
<string>lights</string>
|
318
|
+
</property>
|
319
|
+
</item>
|
320
|
+
<item>
|
321
|
+
<property name="text">
|
322
|
+
<string>groups</string>
|
323
|
+
</property>
|
324
|
+
</item>
|
325
|
+
<item>
|
326
|
+
<property name="text">
|
327
|
+
<string>models</string>
|
328
|
+
</property>
|
329
|
+
</item>
|
330
|
+
<item>
|
331
|
+
<property name="text">
|
332
|
+
<string>materials</string>
|
333
|
+
</property>
|
334
|
+
</item>
|
335
|
+
<item>
|
336
|
+
<property name="text">
|
337
|
+
<string>text</string>
|
338
|
+
</property>
|
339
|
+
</item>
|
340
|
+
<item>
|
341
|
+
<property name="text">
|
342
|
+
<string>components</string>
|
343
|
+
</property>
|
344
|
+
</item>
|
345
|
+
<item>
|
346
|
+
<property name="text">
|
347
|
+
<string>behaviors</string>
|
348
|
+
</property>
|
349
|
+
</item>
|
350
|
+
</widget>
|
351
|
+
</item>
|
352
|
+
<item>
|
353
|
+
<widget class="QComboBox" name="comboBox_3">
|
354
|
+
<property name="minimumSize">
|
355
|
+
<size>
|
356
|
+
<width>69</width>
|
357
|
+
<height>0</height>
|
358
|
+
</size>
|
359
|
+
</property>
|
360
|
+
<property name="maximumSize">
|
361
|
+
<size>
|
362
|
+
<width>69</width>
|
363
|
+
<height>20</height>
|
364
|
+
</size>
|
365
|
+
</property>
|
366
|
+
<item>
|
367
|
+
<property name="text">
|
368
|
+
<string>(types)</string>
|
369
|
+
</property>
|
370
|
+
</item>
|
371
|
+
<item>
|
372
|
+
<property name="text">
|
373
|
+
<string>floats</string>
|
374
|
+
</property>
|
375
|
+
</item>
|
376
|
+
<item>
|
377
|
+
<property name="text">
|
378
|
+
<string>integers</string>
|
379
|
+
</property>
|
380
|
+
</item>
|
381
|
+
<item>
|
382
|
+
<property name="text">
|
383
|
+
<string>colors</string>
|
384
|
+
</property>
|
385
|
+
</item>
|
386
|
+
<item>
|
387
|
+
<property name="text">
|
388
|
+
<string>strings</string>
|
389
|
+
</property>
|
390
|
+
</item>
|
391
|
+
<item>
|
392
|
+
<property name="text">
|
393
|
+
<string>fonts</string>
|
394
|
+
</property>
|
395
|
+
</item>
|
396
|
+
<item>
|
397
|
+
<property name="text">
|
398
|
+
<string>fontsizes</string>
|
399
|
+
</property>
|
400
|
+
</item>
|
401
|
+
<item>
|
402
|
+
<property name="text">
|
403
|
+
<string>vectors</string>
|
404
|
+
</property>
|
405
|
+
</item>
|
406
|
+
<item>
|
407
|
+
<property name="text">
|
408
|
+
<string>rotations</string>
|
409
|
+
</property>
|
410
|
+
</item>
|
411
|
+
</widget>
|
412
|
+
</item>
|
413
|
+
<item>
|
414
|
+
<widget class="QComboBox" name="comboBox_4">
|
415
|
+
<property name="sizePolicy">
|
416
|
+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
417
|
+
<horstretch>0</horstretch>
|
418
|
+
<verstretch>0</verstretch>
|
419
|
+
</sizepolicy>
|
420
|
+
</property>
|
421
|
+
<property name="minimumSize">
|
422
|
+
<size>
|
423
|
+
<width>80</width>
|
424
|
+
<height>0</height>
|
425
|
+
</size>
|
426
|
+
</property>
|
427
|
+
<property name="maximumSize">
|
428
|
+
<size>
|
429
|
+
<width>16777215</width>
|
430
|
+
<height>20</height>
|
431
|
+
</size>
|
432
|
+
</property>
|
433
|
+
<item>
|
434
|
+
<property name="text">
|
435
|
+
<string>(attributes)</string>
|
436
|
+
</property>
|
437
|
+
</item>
|
438
|
+
</widget>
|
439
|
+
</item>
|
440
|
+
</layout>
|
441
|
+
</item>
|
442
|
+
<item>
|
443
|
+
<widget class="QTableView" name="tableView">
|
444
|
+
<property name="minimumSize">
|
445
|
+
<size>
|
446
|
+
<width>0</width>
|
447
|
+
<height>60</height>
|
448
|
+
</size>
|
449
|
+
</property>
|
450
|
+
</widget>
|
451
|
+
</item>
|
452
|
+
</layout>
|
453
|
+
</widget>
|
454
|
+
<widget class="QWidget" name="layoutWidget">
|
455
|
+
<layout class="QVBoxLayout" name="assetsBox">
|
456
|
+
<property name="spacing">
|
457
|
+
<number>0</number>
|
458
|
+
</property>
|
459
|
+
<item>
|
460
|
+
<layout class="QHBoxLayout" name="assetsHeaderBox">
|
461
|
+
<property name="bottomMargin">
|
462
|
+
<number>1</number>
|
463
|
+
</property>
|
464
|
+
<item>
|
465
|
+
<widget class="QLabel" name="assetsHeader">
|
466
|
+
<property name="sizePolicy">
|
467
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
468
|
+
<horstretch>0</horstretch>
|
469
|
+
<verstretch>0</verstretch>
|
470
|
+
</sizepolicy>
|
471
|
+
</property>
|
472
|
+
<property name="minimumSize">
|
473
|
+
<size>
|
474
|
+
<width>46</width>
|
475
|
+
<height>20</height>
|
476
|
+
</size>
|
477
|
+
</property>
|
478
|
+
<property name="maximumSize">
|
479
|
+
<size>
|
480
|
+
<width>16777215</width>
|
481
|
+
<height>20</height>
|
482
|
+
</size>
|
483
|
+
</property>
|
484
|
+
<property name="font">
|
485
|
+
<font>
|
486
|
+
<weight>75</weight>
|
487
|
+
<bold>true</bold>
|
488
|
+
</font>
|
489
|
+
</property>
|
490
|
+
<property name="text">
|
491
|
+
<string>Assets</string>
|
492
|
+
</property>
|
493
|
+
</widget>
|
494
|
+
</item>
|
495
|
+
<item>
|
496
|
+
<spacer name="hspace_2">
|
497
|
+
<property name="orientation">
|
498
|
+
<enum>Qt::Horizontal</enum>
|
499
|
+
</property>
|
500
|
+
<property name="sizeHint" stdset="0">
|
501
|
+
<size>
|
502
|
+
<width>40</width>
|
503
|
+
<height>16</height>
|
504
|
+
</size>
|
505
|
+
</property>
|
506
|
+
</spacer>
|
507
|
+
</item>
|
508
|
+
<item>
|
509
|
+
<widget class="QComboBox" name="comboBox">
|
510
|
+
<property name="minimumSize">
|
511
|
+
<size>
|
512
|
+
<width>69</width>
|
513
|
+
<height>20</height>
|
514
|
+
</size>
|
515
|
+
</property>
|
516
|
+
<property name="maximumSize">
|
517
|
+
<size>
|
518
|
+
<width>16777215</width>
|
519
|
+
<height>20</height>
|
520
|
+
</size>
|
521
|
+
</property>
|
522
|
+
<item>
|
523
|
+
<property name="text">
|
524
|
+
<string>All Assets</string>
|
525
|
+
</property>
|
526
|
+
</item>
|
527
|
+
<item>
|
528
|
+
<property name="text">
|
529
|
+
<string>Used Only</string>
|
530
|
+
</property>
|
531
|
+
</item>
|
532
|
+
<item>
|
533
|
+
<property name="text">
|
534
|
+
<string>Unused Only</string>
|
535
|
+
</property>
|
536
|
+
</item>
|
537
|
+
</widget>
|
538
|
+
</item>
|
539
|
+
</layout>
|
540
|
+
</item>
|
541
|
+
<item>
|
542
|
+
<widget class="QTreeView" name="assetView">
|
543
|
+
<property name="sizePolicy">
|
544
|
+
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
545
|
+
<horstretch>0</horstretch>
|
546
|
+
<verstretch>0</verstretch>
|
547
|
+
</sizepolicy>
|
548
|
+
</property>
|
549
|
+
<property name="minimumSize">
|
550
|
+
<size>
|
551
|
+
<width>131</width>
|
552
|
+
<height>101</height>
|
553
|
+
</size>
|
554
|
+
</property>
|
555
|
+
</widget>
|
556
|
+
</item>
|
557
|
+
</layout>
|
558
|
+
</widget>
|
559
|
+
</widget>
|
560
|
+
<widget class="QWidget" name="layoutWidget">
|
561
|
+
<layout class="QVBoxLayout" name="ConsoleBox" stretch="0,0">
|
562
|
+
<property name="spacing">
|
563
|
+
<number>0</number>
|
564
|
+
</property>
|
565
|
+
<item>
|
566
|
+
<widget class="QLabel" name="consoleLabel">
|
567
|
+
<property name="sizePolicy">
|
568
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
569
|
+
<horstretch>0</horstretch>
|
570
|
+
<verstretch>0</verstretch>
|
571
|
+
</sizepolicy>
|
572
|
+
</property>
|
573
|
+
<property name="maximumSize">
|
574
|
+
<size>
|
575
|
+
<width>16777215</width>
|
576
|
+
<height>16</height>
|
577
|
+
</size>
|
578
|
+
</property>
|
579
|
+
<property name="font">
|
580
|
+
<font>
|
581
|
+
<weight>75</weight>
|
582
|
+
<bold>true</bold>
|
583
|
+
</font>
|
584
|
+
</property>
|
585
|
+
<property name="text">
|
586
|
+
<string>Console</string>
|
587
|
+
</property>
|
588
|
+
</widget>
|
589
|
+
</item>
|
590
|
+
<item>
|
591
|
+
<widget class="QPlainTextEdit" name="console">
|
592
|
+
<property name="enabled">
|
593
|
+
<bool>true</bool>
|
594
|
+
</property>
|
595
|
+
<property name="sizePolicy">
|
596
|
+
<sizepolicy hsizetype="Ignored" vsizetype="Minimum">
|
597
|
+
<horstretch>0</horstretch>
|
598
|
+
<verstretch>0</verstretch>
|
599
|
+
</sizepolicy>
|
600
|
+
</property>
|
601
|
+
<property name="minimumSize">
|
602
|
+
<size>
|
603
|
+
<width>0</width>
|
604
|
+
<height>41</height>
|
605
|
+
</size>
|
606
|
+
</property>
|
607
|
+
<property name="undoRedoEnabled">
|
608
|
+
<bool>false</bool>
|
609
|
+
</property>
|
610
|
+
<property name="readOnly">
|
611
|
+
<bool>true</bool>
|
612
|
+
</property>
|
613
|
+
<property name="tabStopWidth">
|
614
|
+
<number>2</number>
|
615
|
+
</property>
|
616
|
+
<property name="textInteractionFlags">
|
617
|
+
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
618
|
+
</property>
|
619
|
+
</widget>
|
620
|
+
</item>
|
621
|
+
</layout>
|
622
|
+
</widget>
|
623
|
+
</widget>
|
624
|
+
</item>
|
625
|
+
</layout>
|
626
|
+
</widget>
|
627
|
+
<widget class="QMenuBar" name="menubar">
|
628
|
+
<property name="geometry">
|
629
|
+
<rect>
|
630
|
+
<x>0</x>
|
631
|
+
<y>0</y>
|
632
|
+
<width>1150</width>
|
633
|
+
<height>22</height>
|
634
|
+
</rect>
|
635
|
+
</property>
|
636
|
+
<widget class="QMenu" name="menuFile">
|
637
|
+
<property name="title">
|
638
|
+
<string>File</string>
|
639
|
+
</property>
|
640
|
+
<addaction name="actionOpen"/>
|
641
|
+
<addaction name="actionSaveAll"/>
|
642
|
+
<addaction name="separator"/>
|
643
|
+
<addaction name="actionDelete_Unused_Assets"/>
|
644
|
+
<addaction name="separator"/>
|
645
|
+
<addaction name="actionQuit"/>
|
646
|
+
</widget>
|
647
|
+
<widget class="QMenu" name="menuEdit">
|
648
|
+
<property name="title">
|
649
|
+
<string>Edit</string>
|
650
|
+
</property>
|
651
|
+
<addaction name="menuEditUndo"/>
|
652
|
+
<addaction name="menuEditRedo"/>
|
653
|
+
<addaction name="separator"/>
|
654
|
+
<addaction name="menuEditCopy"/>
|
655
|
+
</widget>
|
656
|
+
<widget class="QMenu" name="menuWindow">
|
657
|
+
<property name="title">
|
658
|
+
<string>Window</string>
|
659
|
+
</property>
|
660
|
+
</widget>
|
661
|
+
<addaction name="menuFile"/>
|
662
|
+
<addaction name="menuEdit"/>
|
663
|
+
<addaction name="menuWindow"/>
|
664
|
+
</widget>
|
665
|
+
<widget class="QStatusBar" name="statusbar"/>
|
666
|
+
<action name="actionOpen">
|
667
|
+
<property name="icon">
|
668
|
+
<iconset resource="resources.qrc">
|
669
|
+
<normaloff>:/resources/images/folder-horizontal-open.png</normaloff>:/resources/images/folder-horizontal-open.png</iconset>
|
670
|
+
</property>
|
671
|
+
<property name="text">
|
672
|
+
<string>Open…</string>
|
673
|
+
</property>
|
674
|
+
<property name="shortcut">
|
675
|
+
<string>Ctrl+O</string>
|
676
|
+
</property>
|
677
|
+
<property name="shortcutContext">
|
678
|
+
<enum>Qt::ApplicationShortcut</enum>
|
679
|
+
</property>
|
680
|
+
</action>
|
681
|
+
<action name="menuEditUndo">
|
682
|
+
<property name="enabled">
|
683
|
+
<bool>false</bool>
|
684
|
+
</property>
|
685
|
+
<property name="icon">
|
686
|
+
<iconset theme="undo">
|
687
|
+
<normaloff/>
|
688
|
+
</iconset>
|
689
|
+
</property>
|
690
|
+
<property name="text">
|
691
|
+
<string>Undo</string>
|
692
|
+
</property>
|
693
|
+
<property name="shortcut">
|
694
|
+
<string>Ctrl+Z</string>
|
695
|
+
</property>
|
696
|
+
</action>
|
697
|
+
<action name="menuEditRedo">
|
698
|
+
<property name="enabled">
|
699
|
+
<bool>false</bool>
|
700
|
+
</property>
|
701
|
+
<property name="text">
|
702
|
+
<string>Redo</string>
|
703
|
+
</property>
|
704
|
+
<property name="shortcut">
|
705
|
+
<string>Ctrl+Y</string>
|
706
|
+
</property>
|
707
|
+
</action>
|
708
|
+
<action name="menuEditCopy">
|
709
|
+
<property name="enabled">
|
710
|
+
<bool>false</bool>
|
711
|
+
</property>
|
712
|
+
<property name="text">
|
713
|
+
<string>Copy</string>
|
714
|
+
</property>
|
715
|
+
<property name="shortcut">
|
716
|
+
<string>Ctrl+C</string>
|
717
|
+
</property>
|
718
|
+
</action>
|
719
|
+
<action name="actionSaveAll">
|
720
|
+
<property name="enabled">
|
721
|
+
<bool>false</bool>
|
722
|
+
</property>
|
723
|
+
<property name="icon">
|
724
|
+
<iconset resource="resources.qrc">
|
725
|
+
<normaloff>:/resources/images/disks-black.png</normaloff>:/resources/images/disks-black.png</iconset>
|
726
|
+
</property>
|
727
|
+
<property name="text">
|
728
|
+
<string>Save All…</string>
|
729
|
+
</property>
|
730
|
+
<property name="shortcut">
|
731
|
+
<string>Ctrl+S</string>
|
732
|
+
</property>
|
733
|
+
</action>
|
734
|
+
<action name="actionQuit">
|
735
|
+
<property name="text">
|
736
|
+
<string>Quit</string>
|
737
|
+
</property>
|
738
|
+
</action>
|
739
|
+
<action name="actionDelete_Unused_Assets">
|
740
|
+
<property name="icon">
|
741
|
+
<iconset resource="resources.qrc">
|
742
|
+
<normaloff>:/resources/images/cross.png</normaloff>:/resources/images/cross.png</iconset>
|
743
|
+
</property>
|
744
|
+
<property name="text">
|
745
|
+
<string>Delete Unused Assets…</string>
|
746
|
+
</property>
|
747
|
+
</action>
|
748
|
+
</widget>
|
749
|
+
<resources>
|
750
|
+
<include location="resources.qrc"/>
|
751
|
+
</resources>
|
752
|
+
<connections/>
|
753
|
+
</ui>
|