Sun, 09 Apr 2023 16:23:05 +0300
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
0 | 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> | |
365
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
9 | <width>1333</width> |
356
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
10 | <height>695</height> |
0 | 11 | </rect> |
12 | </property> | |
235
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
13 | <property name="dockNestingEnabled"> |
240
414d392b9ae6
some improvements to dock widget handling
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
237
diff
changeset
|
14 | <bool>false</bool> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
15 | </property> |
3 | 16 | <widget class="QWidget" name="centralwidget"> |
203
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
17 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
3 | 18 | <item> |
202
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
19 | <widget class="QMdiArea" name="mdiArea"> |
287
59562d8f8372
Add scroll bars to the mdi area
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
284
diff
changeset
|
20 | <property name="verticalScrollBarPolicy"> |
59562d8f8372
Add scroll bars to the mdi area
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
284
diff
changeset
|
21 | <enum>Qt::ScrollBarAsNeeded</enum> |
59562d8f8372
Add scroll bars to the mdi area
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
284
diff
changeset
|
22 | </property> |
59562d8f8372
Add scroll bars to the mdi area
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
284
diff
changeset
|
23 | <property name="horizontalScrollBarPolicy"> |
59562d8f8372
Add scroll bars to the mdi area
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
284
diff
changeset
|
24 | <enum>Qt::ScrollBarAsNeeded</enum> |
59562d8f8372
Add scroll bars to the mdi area
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
284
diff
changeset
|
25 | </property> |
202
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
26 | <property name="viewMode"> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
27 | <enum>QMdiArea::TabbedView</enum> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
28 | </property> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
29 | <property name="documentMode"> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
30 | <bool>true</bool> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
31 | </property> |
160 | 32 | <property name="tabsClosable"> |
33 | <bool>true</bool> | |
34 | </property> | |
202
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
35 | <property name="tabsMovable"> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
36 | <bool>true</bool> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
37 | </property> |
160 | 38 | </widget> |
3 | 39 | </item> |
40 | </layout> | |
41 | </widget> | |
0 | 42 | <widget class="QMenuBar" name="menubar"> |
43 | <property name="geometry"> | |
44 | <rect> | |
45 | <x>0</x> | |
46 | <y>0</y> | |
365
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
47 | <width>1333</width> |
356
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
48 | <height>38</height> |
0 | 49 | </rect> |
50 | </property> | |
51 | <widget class="QMenu" name="menuFile"> | |
52 | <property name="title"> | |
53 | <string>File</string> | |
54 | </property> | |
9
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
55 | <widget class="QMenu" name="menuRecentFiles"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
56 | <property name="title"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
57 | <string>Recent files</string> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
58 | </property> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
59 | </widget> |
5 | 60 | <addaction name="actionNew"/> |
3 | 61 | <addaction name="actionOpen"/> |
160 | 62 | <addaction name="menuRecentFiles"/> |
141 | 63 | <addaction name="actionSave"/> |
64 | <addaction name="actionSaveAs"/> | |
160 | 65 | <addaction name="actionClose"/> |
3 | 66 | <addaction name="separator"/> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
67 | <addaction name="actionSettingsEditor"/> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
68 | <addaction name="separator"/> |
0 | 69 | <addaction name="actionQuit"/> |
70 | </widget> | |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
71 | <widget class="QMenu" name="menuView"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
72 | <property name="title"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
73 | <string>View</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
74 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
75 | <addaction name="actionRenderStyleNormal"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
76 | <addaction name="actionRenderStyleBfc"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
77 | <addaction name="actionRenderStyleRandom"/> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
78 | <addaction name="actionRenderStylePickScene"/> |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
79 | <addaction name="actionWireframe"/> |
128
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
80 | <addaction name="separator"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
81 | <addaction name="actionDrawAxes"/> |
288
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
82 | <addaction name="separator"/> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
83 | <addaction name="actionTileSubWindows"/> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
84 | <addaction name="actionCascadeSubWindows"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
85 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
86 | <widget class="QMenu" name="menuEdit"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
87 | <property name="title"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
88 | <string>Edit</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
89 | </property> |
365
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
90 | <addaction name="actionUndo"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
91 | <addaction name="actionRedo"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
92 | <addaction name="separator"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
93 | <addaction name="actionCut"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
94 | <addaction name="actionCopy"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
95 | <addaction name="actionPaste"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
96 | <addaction name="separator"/> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
97 | <addaction name="actionInvert"/> |
175 | 98 | <addaction name="separator"/> |
99 | <addaction name="actionGridFine"/> | |
100 | <addaction name="actionGridMedium"/> | |
101 | <addaction name="actionGridCoarse"/> | |
262
dc33f8a707c4
Add action to make a model unofficial (modifies the !LDRAW_ORG line)
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
240
diff
changeset
|
102 | <addaction name="separator"/> |
dc33f8a707c4
Add action to make a model unofficial (modifies the !LDRAW_ORG line)
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
240
diff
changeset
|
103 | <addaction name="actionMakeUnofficial"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
104 | </widget> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
105 | <widget class="QMenu" name="menuHelp"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
106 | <property name="title"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
107 | <string>Help</string> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
108 | </property> |
272
9d52b119b3f5
Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
271
diff
changeset
|
109 | <addaction name="actionAbout"/> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
110 | <addaction name="actionAboutQt"/> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
111 | </widget> |
0 | 112 | <addaction name="menuFile"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
113 | <addaction name="menuView"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
114 | <addaction name="menuEdit"/> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
115 | <addaction name="menuHelp"/> |
0 | 116 | </widget> |
117 | <widget class="QStatusBar" name="statusbar"/> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
118 | <widget class="QToolBar" name="fileToolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
119 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
120 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
121 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
122 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
123 | <enum>TopToolBarArea</enum> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
124 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
125 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
126 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
127 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
128 | <addaction name="actionNew"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
129 | <addaction name="actionOpen"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
130 | <addaction name="actionSave"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
131 | <addaction name="actionSaveAs"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
132 | </widget> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
133 | <widget class="QToolBar" name="toolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
134 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
135 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
136 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
137 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
138 | <enum>TopToolBarArea</enum> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
139 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
140 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
141 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
142 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
143 | <addaction name="actionRenderStyleNormal"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
144 | <addaction name="actionRenderStyleBfc"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
145 | <addaction name="actionRenderStyleRandom"/> |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
146 | <addaction name="actionWireframe"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
147 | <addaction name="actionDrawAxes"/> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
148 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
149 | <widget class="QToolBar" name="editToolBar"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
150 | <property name="windowTitle"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
151 | <string>toolBar_2</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
152 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
153 | <attribute name="toolBarArea"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
154 | <enum>TopToolBarArea</enum> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
155 | </attribute> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
156 | <attribute name="toolBarBreak"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
157 | <bool>false</bool> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
158 | </attribute> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
159 | <addaction name="actionInvert"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
160 | <addaction name="actionDelete"/> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
161 | </widget> |
203
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
162 | <widget class="QToolBar" name="editingModesToolBar"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
163 | <property name="windowTitle"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
164 | <string>toolBar_2</string> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
165 | </property> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
166 | <attribute name="toolBarArea"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
167 | <enum>LeftToolBarArea</enum> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
168 | </attribute> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
169 | <attribute name="toolBarBreak"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
170 | <bool>false</bool> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
171 | </attribute> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
172 | </widget> |
240
414d392b9ae6
some improvements to dock widget handling
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
237
diff
changeset
|
173 | <widget class="QDockWidget" name="toolOptionsDock"> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
174 | <property name="features"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
175 | <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
176 | </property> |
203
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
177 | <property name="windowTitle"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
178 | <string>Tool options</string> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
179 | </property> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
180 | <attribute name="dockWidgetArea"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
181 | <number>8</number> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
182 | </attribute> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
183 | <widget class="QWidget" name="dockWidgetContents_2"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
184 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
185 | <item> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
186 | <widget class="QStackedWidget" name="toolWidgetStack"/> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
187 | </item> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
188 | </layout> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
189 | </widget> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
190 | </widget> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
191 | <widget class="QDockWidget" name="dockWidget_3"> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
192 | <property name="features"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
193 | <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
194 | </property> |
203
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
195 | <property name="windowTitle"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
196 | <string>Model body</string> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
197 | </property> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
198 | <attribute name="dockWidgetArea"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
199 | <number>2</number> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
200 | </attribute> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
201 | <widget class="QWidget" name="dockWidgetContents_3"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
202 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
203 | <item> |
332
ae7f7fbb9cda
Only enable the text editor when having a model open
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
328
diff
changeset
|
204 | <widget class="QPlainTextEdit" name="modelEdit"> |
ae7f7fbb9cda
Only enable the text editor when having a model open
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
328
diff
changeset
|
205 | <property name="enabled"> |
ae7f7fbb9cda
Only enable the text editor when having a model open
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
328
diff
changeset
|
206 | <bool>false</bool> |
ae7f7fbb9cda
Only enable the text editor when having a model open
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
328
diff
changeset
|
207 | </property> |
ae7f7fbb9cda
Only enable the text editor when having a model open
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
328
diff
changeset
|
208 | </widget> |
203
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
209 | </item> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
210 | </layout> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
211 | </widget> |
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
212 | </widget> |
240
414d392b9ae6
some improvements to dock widget handling
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
237
diff
changeset
|
213 | <widget class="QDockWidget" name="messageLogDock"> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
214 | <property name="features"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
215 | <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
216 | </property> |
235
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
217 | <property name="windowTitle"> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
218 | <string>Message log</string> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
219 | </property> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
220 | <attribute name="dockWidgetArea"> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
221 | <number>8</number> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
222 | </attribute> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
223 | <widget class="QWidget" name="dockWidgetContents"> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
224 | <layout class="QVBoxLayout" name="verticalLayout"> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
225 | <item> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
226 | <widget class="QTableView" name="messageLog"> |
237
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
227 | <property name="verticalScrollBarPolicy"> |
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
228 | <enum>Qt::ScrollBarAlwaysOn</enum> |
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
229 | </property> |
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
230 | <property name="horizontalScrollBarPolicy"> |
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
231 | <enum>Qt::ScrollBarAlwaysOn</enum> |
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
232 | </property> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
233 | <property name="alternatingRowColors"> |
235
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
234 | <bool>true</bool> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
235 | </property> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
236 | <property name="verticalScrollMode"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
237 | <enum>QAbstractItemView::ScrollPerPixel</enum> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
238 | </property> |
237
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
239 | <property name="horizontalScrollMode"> |
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
240 | <enum>QAbstractItemView::ScrollPerPixel</enum> |
10a6298f636f
Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
236
diff
changeset
|
241 | </property> |
236
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
242 | <property name="gridStyle"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
243 | <enum>Qt::DotLine</enum> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
244 | </property> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
245 | <attribute name="horizontalHeaderDefaultSectionSize"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
246 | <number>150</number> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
247 | </attribute> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
248 | <attribute name="horizontalHeaderStretchLastSection"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
249 | <bool>true</bool> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
250 | </attribute> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
251 | <attribute name="verticalHeaderVisible"> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
252 | <bool>false</bool> |
1fa0e1de9f0a
Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
235
diff
changeset
|
253 | </attribute> |
235
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
254 | </widget> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
255 | </item> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
256 | </layout> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
257 | </widget> |
7ef03c2b46ab
Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
231
diff
changeset
|
258 | </widget> |
335 | 259 | <widget class="QToolBar" name="gridToolBar"> |
260 | <property name="windowTitle"> | |
261 | <string>toolBar_2</string> | |
262 | </property> | |
263 | <attribute name="toolBarArea"> | |
264 | <enum>TopToolBarArea</enum> | |
265 | </attribute> | |
266 | <attribute name="toolBarBreak"> | |
267 | <bool>false</bool> | |
268 | </attribute> | |
269 | <addaction name="actionGridFine"/> | |
270 | <addaction name="actionGridMedium"/> | |
271 | <addaction name="actionGridCoarse"/> | |
272 | </widget> | |
356
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
273 | <widget class="QDockWidget" name="dockWidget"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
274 | <property name="features"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
275 | <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
276 | </property> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
277 | <property name="windowTitle"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
278 | <string>Grid matrix</string> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
279 | </property> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
280 | <attribute name="dockWidgetArea"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
281 | <number>2</number> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
282 | </attribute> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
283 | <widget class="QWidget" name="dockWidgetContents_4"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
284 | <layout class="QVBoxLayout" name="verticalLayout_5"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
285 | <item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
286 | <layout class="QHBoxLayout" name="horizontalLayout"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
287 | <item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
288 | <widget class="MatrixEditor" name="gridMatrix"/> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
289 | </item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
290 | <item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
291 | <spacer name="horizontalSpacer"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
292 | <property name="orientation"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
293 | <enum>Qt::Horizontal</enum> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
294 | </property> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
295 | <property name="sizeHint" stdset="0"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
296 | <size> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
297 | <width>40</width> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
298 | <height>20</height> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
299 | </size> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
300 | </property> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
301 | </spacer> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
302 | </item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
303 | </layout> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
304 | </item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
305 | <item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
306 | <spacer name="verticalSpacer"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
307 | <property name="orientation"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
308 | <enum>Qt::Vertical</enum> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
309 | </property> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
310 | <property name="sizeHint" stdset="0"> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
311 | <size> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
312 | <width>20</width> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
313 | <height>40</height> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
314 | </size> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
315 | </property> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
316 | </spacer> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
317 | </item> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
318 | </layout> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
319 | </widget> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
320 | </widget> |
365
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
321 | <widget class="QToolBar" name="editToolbar"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
322 | <property name="windowTitle"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
323 | <string>toolBar_2</string> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
324 | </property> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
325 | <attribute name="toolBarArea"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
326 | <enum>TopToolBarArea</enum> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
327 | </attribute> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
328 | <attribute name="toolBarBreak"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
329 | <bool>false</bool> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
330 | </attribute> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
331 | <addaction name="actionCut"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
332 | <addaction name="actionCopy"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
333 | <addaction name="actionPaste"/> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
334 | </widget> |
0 | 335 | <action name="actionQuit"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
336 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
337 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
338 | <normaloff>:/icons/close.png</normaloff>:/icons/close.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
339 | </property> |
0 | 340 | <property name="text"> |
341 | <string>Quit</string> | |
342 | </property> | |
343 | </action> | |
3 | 344 | <action name="actionOpen"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
345 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
346 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
347 | <normaloff>:/icons/folder-open-outline.png</normaloff>:/icons/folder-open-outline.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
348 | </property> |
3 | 349 | <property name="text"> |
350 | <string>Open…</string> | |
351 | </property> | |
352 | <property name="shortcut"> | |
353 | <string>Ctrl+O</string> | |
354 | </property> | |
355 | </action> | |
5 | 356 | <action name="actionNew"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
357 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
358 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
359 | <normaloff>:/icons/document-outline.png</normaloff>:/icons/document-outline.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
360 | </property> |
3 | 361 | <property name="text"> |
5 | 362 | <string>New</string> |
3 | 363 | </property> |
364 | <property name="shortcut"> | |
365 | <string>Ctrl+N</string> | |
366 | </property> | |
367 | </action> | |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
368 | <action name="actionSettingsEditor"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
369 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
370 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
371 | <normaloff>:/icons/settings-outline.png</normaloff>:/icons/settings-outline.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
372 | </property> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
373 | <property name="text"> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
374 | <string>Preferences…</string> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
375 | </property> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
376 | </action> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
377 | <action name="actionRenderStyleNormal"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
378 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
379 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
380 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
381 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
382 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
383 | <normaloff>:/icons/renderstyle-normal.png</normaloff>:/icons/renderstyle-normal.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
384 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
385 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
386 | <string>Normal colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
387 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
388 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
389 | <action name="actionRenderStyleBfc"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
390 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
391 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
392 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
393 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
394 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
395 | <normaloff>:/icons/renderstyle-bfc.png</normaloff>:/icons/renderstyle-bfc.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
396 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
397 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
398 | <string>BFC color coding</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
399 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
400 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
401 | <action name="actionRenderStyleRandom"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
402 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
403 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
404 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
405 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
406 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
407 | <normaloff>:/icons/renderstyle-randomcolors.png</normaloff>:/icons/renderstyle-randomcolors.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
408 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
409 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
410 | <string>Random colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
411 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
412 | </action> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
413 | <action name="actionRenderStylePickScene"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
414 | <property name="checkable"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
415 | <bool>true</bool> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
416 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
417 | <property name="text"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
418 | <string>Pick scene colours</string> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
419 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
420 | </action> |
141 | 421 | <action name="actionSave"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
422 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
423 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
424 | <normaloff>:/icons/save-outline.png</normaloff>:/icons/save-outline.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
425 | </property> |
141 | 426 | <property name="text"> |
427 | <string>Save</string> | |
428 | </property> | |
429 | <property name="shortcut"> | |
430 | <string>Ctrl+S</string> | |
431 | </property> | |
432 | </action> | |
433 | <action name="actionSaveAs"> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
434 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
435 | <iconset resource="../resources.qrc"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
436 | <normaloff>:/icons/save-as-outline.png</normaloff>:/icons/save-as-outline.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
437 | </property> |
141 | 438 | <property name="text"> |
439 | <string>Save as…</string> | |
440 | </property> | |
441 | <property name="shortcut"> | |
442 | <string>Ctrl+Shift+S</string> | |
443 | </property> | |
444 | </action> | |
160 | 445 | <action name="actionClose"> |
446 | <property name="icon"> | |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
447 | <iconset resource="../resources.qrc"> |
160 | 448 | <normaloff>:/icons/close-circle-outline.png</normaloff>:/icons/close-circle-outline.png</iconset> |
449 | </property> | |
450 | <property name="text"> | |
451 | <string>Close</string> | |
452 | </property> | |
453 | <property name="shortcut"> | |
454 | <string>Ctrl+W</string> | |
455 | </property> | |
456 | </action> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
457 | <action name="actionDelete"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
458 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
459 | <iconset resource="../resources.qrc"> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
460 | <normaloff>:/icons/trash-bin-outline.png</normaloff>:/icons/trash-bin-outline.png</iconset> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
461 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
462 | <property name="text"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
463 | <string>Delete</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
464 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
465 | <property name="shortcut"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
466 | <string>Del</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
467 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
468 | </action> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
469 | <action name="actionDrawAxes"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
470 | <property name="checkable"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
471 | <bool>true</bool> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
472 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
473 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
474 | <iconset resource="../resources.qrc"> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
475 | <normaloff>:/icons/axes.png</normaloff>:/icons/axes.png</iconset> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
476 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
477 | <property name="text"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
478 | <string>Draw axes</string> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
479 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
480 | </action> |
175 | 481 | <action name="actionGridFine"> |
482 | <property name="checkable"> | |
483 | <bool>true</bool> | |
484 | </property> | |
485 | <property name="text"> | |
486 | <string>Fine grid</string> | |
487 | </property> | |
488 | <property name="shortcut"> | |
489 | <string>Ctrl+1</string> | |
490 | </property> | |
491 | </action> | |
492 | <action name="actionGridMedium"> | |
493 | <property name="checkable"> | |
494 | <bool>true</bool> | |
495 | </property> | |
496 | <property name="text"> | |
497 | <string>Medium grid</string> | |
498 | </property> | |
499 | <property name="shortcut"> | |
500 | <string>Ctrl+2</string> | |
501 | </property> | |
502 | </action> | |
503 | <action name="actionGridCoarse"> | |
504 | <property name="checkable"> | |
505 | <bool>true</bool> | |
506 | </property> | |
507 | <property name="text"> | |
508 | <string>Coarse grid</string> | |
509 | </property> | |
510 | <property name="shortcut"> | |
511 | <string>Ctrl+3</string> | |
512 | </property> | |
513 | </action> | |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
514 | <action name="actionInvert"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
515 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
516 | <iconset resource="../resources.qrc"> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
517 | <normaloff>:/icons/invert.png</normaloff>:/icons/invert.png</iconset> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
518 | </property> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
519 | <property name="text"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
520 | <string>Invert</string> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
521 | </property> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
522 | </action> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
523 | <action name="actionAboutQt"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
524 | <property name="text"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
525 | <string>About Qt</string> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
526 | </property> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
527 | </action> |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
528 | <action name="actionWireframe"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
529 | <property name="checkable"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
530 | <bool>true</bool> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
531 | </property> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
532 | <property name="icon"> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
533 | <iconset resource="../resources.qrc"> |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
534 | <normaloff>:/icons/renderstyle-wireframe.png</normaloff>:/icons/renderstyle-wireframe.png</iconset> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
535 | </property> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
536 | <property name="text"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
537 | <string>Wireframe</string> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
538 | </property> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
539 | </action> |
262
dc33f8a707c4
Add action to make a model unofficial (modifies the !LDRAW_ORG line)
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
240
diff
changeset
|
540 | <action name="actionMakeUnofficial"> |
dc33f8a707c4
Add action to make a model unofficial (modifies the !LDRAW_ORG line)
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
240
diff
changeset
|
541 | <property name="text"> |
dc33f8a707c4
Add action to make a model unofficial (modifies the !LDRAW_ORG line)
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
240
diff
changeset
|
542 | <string>Make unofficial</string> |
dc33f8a707c4
Add action to make a model unofficial (modifies the !LDRAW_ORG line)
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
240
diff
changeset
|
543 | </property> |
dc33f8a707c4
Add action to make a model unofficial (modifies the !LDRAW_ORG line)
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
240
diff
changeset
|
544 | </action> |
272
9d52b119b3f5
Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
271
diff
changeset
|
545 | <action name="actionAbout"> |
276
17b3212d3045
Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
272
diff
changeset
|
546 | <property name="icon"> |
17b3212d3045
Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
272
diff
changeset
|
547 | <iconset resource="../resources.qrc"> |
17b3212d3045
Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
272
diff
changeset
|
548 | <normaloff>:/icons/appicon.png</normaloff>:/icons/appicon.png</iconset> |
17b3212d3045
Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
272
diff
changeset
|
549 | </property> |
272
9d52b119b3f5
Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
271
diff
changeset
|
550 | <property name="text"> |
9d52b119b3f5
Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
271
diff
changeset
|
551 | <string>About %1</string> |
9d52b119b3f5
Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
271
diff
changeset
|
552 | </property> |
9d52b119b3f5
Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
271
diff
changeset
|
553 | </action> |
288
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
554 | <action name="actionTileSubWindows"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
555 | <property name="text"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
556 | <string>Tile subwindows</string> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
557 | </property> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
558 | </action> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
559 | <action name="actionCascadeSubWindows"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
560 | <property name="text"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
561 | <string>Cascade subwindows</string> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
562 | </property> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
563 | </action> |
303 | 564 | <action name="actionSelectAll"> |
565 | <property name="text"> | |
566 | <string>Select all</string> | |
567 | </property> | |
568 | <property name="shortcut"> | |
569 | <string>Ctrl+A</string> | |
570 | </property> | |
571 | </action> | |
327 | 572 | <action name="actionCopy"> |
573 | <property name="icon"> | |
574 | <iconset resource="../resources.qrc"> | |
575 | <normaloff>:/icons/copy.png</normaloff>:/icons/copy.png</iconset> | |
576 | </property> | |
577 | <property name="text"> | |
578 | <string>Copy</string> | |
579 | </property> | |
580 | <property name="shortcut"> | |
581 | <string>Ctrl+C</string> | |
582 | </property> | |
583 | </action> | |
584 | <action name="actionCut"> | |
585 | <property name="icon"> | |
586 | <iconset resource="../resources.qrc"> | |
587 | <normaloff>:/icons/cut.png</normaloff>:/icons/cut.png</iconset> | |
588 | </property> | |
589 | <property name="text"> | |
590 | <string>Cut</string> | |
591 | </property> | |
592 | <property name="shortcut"> | |
593 | <string>Ctrl+X</string> | |
594 | </property> | |
595 | </action> | |
596 | <action name="actionPaste"> | |
597 | <property name="icon"> | |
598 | <iconset resource="../resources.qrc"> | |
599 | <normaloff>:/icons/paste.png</normaloff>:/icons/paste.png</iconset> | |
600 | </property> | |
601 | <property name="text"> | |
602 | <string>Paste</string> | |
603 | </property> | |
604 | <property name="shortcut"> | |
605 | <string>Ctrl+V</string> | |
606 | </property> | |
607 | </action> | |
365
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
608 | <action name="actionUndo"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
609 | <property name="text"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
610 | <string>Undo</string> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
611 | </property> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
612 | <property name="shortcut"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
613 | <string>Ctrl+Z</string> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
614 | </property> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
615 | </action> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
616 | <action name="actionRedo"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
617 | <property name="text"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
618 | <string>Redo</string> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
619 | </property> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
620 | <property name="shortcut"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
621 | <string>Ctrl+Y</string> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
622 | </property> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
623 | </action> |
0 | 624 | </widget> |
356
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
625 | <customwidgets> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
626 | <customwidget> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
627 | <class>MatrixEditor</class> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
628 | <extends>QWidget</extends> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
629 | <header>widgets/matrixeditor.h</header> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
630 | </customwidget> |
65b4741b302d
Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
335
diff
changeset
|
631 | </customwidgets> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
632 | <resources> |
270
1202b102a10b
Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
262
diff
changeset
|
633 | <include location="../resources.qrc"/> |
303 | 634 | <include location="../resources.qrc"/> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
635 | </resources> |
288
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
636 | <connections> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
637 | <connection> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
638 | <sender>actionTileSubWindows</sender> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
639 | <signal>triggered()</signal> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
640 | <receiver>mdiArea</receiver> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
641 | <slot>tileSubWindows()</slot> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
642 | <hints> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
643 | <hint type="sourcelabel"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
644 | <x>-1</x> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
645 | <y>-1</y> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
646 | </hint> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
647 | <hint type="destinationlabel"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
648 | <x>231</x> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
649 | <y>202</y> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
650 | </hint> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
651 | </hints> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
652 | </connection> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
653 | <connection> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
654 | <sender>actionCascadeSubWindows</sender> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
655 | <signal>triggered()</signal> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
656 | <receiver>mdiArea</receiver> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
657 | <slot>cascadeSubWindows()</slot> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
658 | <hints> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
659 | <hint type="sourcelabel"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
660 | <x>-1</x> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
661 | <y>-1</y> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
662 | </hint> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
663 | <hint type="destinationlabel"> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
664 | <x>231</x> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
665 | <y>202</y> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
666 | </hint> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
667 | </hints> |
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
668 | </connection> |
365
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
669 | <connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
670 | <sender>actionUndo</sender> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
671 | <signal>triggered()</signal> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
672 | <receiver>modelEdit</receiver> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
673 | <slot>undo()</slot> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
674 | <hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
675 | <hint type="sourcelabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
676 | <x>-1</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
677 | <y>-1</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
678 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
679 | <hint type="destinationlabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
680 | <x>1041</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
681 | <y>163</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
682 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
683 | </hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
684 | </connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
685 | <connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
686 | <sender>actionRedo</sender> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
687 | <signal>triggered()</signal> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
688 | <receiver>modelEdit</receiver> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
689 | <slot>redo()</slot> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
690 | <hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
691 | <hint type="sourcelabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
692 | <x>-1</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
693 | <y>-1</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
694 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
695 | <hint type="destinationlabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
696 | <x>1041</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
697 | <y>163</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
698 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
699 | </hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
700 | </connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
701 | <connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
702 | <sender>actionCut</sender> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
703 | <signal>triggered()</signal> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
704 | <receiver>modelEdit</receiver> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
705 | <slot>cut()</slot> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
706 | <hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
707 | <hint type="sourcelabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
708 | <x>-1</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
709 | <y>-1</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
710 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
711 | <hint type="destinationlabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
712 | <x>1041</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
713 | <y>163</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
714 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
715 | </hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
716 | </connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
717 | <connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
718 | <sender>actionCopy</sender> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
719 | <signal>triggered()</signal> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
720 | <receiver>modelEdit</receiver> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
721 | <slot>copy()</slot> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
722 | <hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
723 | <hint type="sourcelabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
724 | <x>-1</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
725 | <y>-1</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
726 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
727 | <hint type="destinationlabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
728 | <x>1041</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
729 | <y>163</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
730 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
731 | </hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
732 | </connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
733 | <connection> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
734 | <sender>actionPaste</sender> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
735 | <signal>triggered()</signal> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
736 | <receiver>modelEdit</receiver> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
737 | <slot>paste()</slot> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
738 | <hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
739 | <hint type="sourcelabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
740 | <x>-1</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
741 | <y>-1</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
742 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
743 | <hint type="destinationlabel"> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
744 | <x>1041</x> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
745 | <y>163</y> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
746 | </hint> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
747 | </hints> |
9d5cb5635c18
Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
356
diff
changeset
|
748 | </connection> |
288
169b30f282bd
Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
287
diff
changeset
|
749 | </connections> |
0 | 750 | </ui> |