src/mainwindow.ui

Tue, 11 Apr 2023 11:11:28 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Tue, 11 Apr 2023 11:11:28 +0300
changeset 374
75efc3ba5a56
parent 370
b2f9ded235a6
permissions
-rw-r--r--

More refactor and renaming
Added a test function that makes recolors stuff red

0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 <ui version="4.0">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 <class>MainWindow</class>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 <widget class="QMainWindow" name="MainWindow">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 <property name="geometry">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 <rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 <x>0</x>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
11 </rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
32 <property name="tabsClosable">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
33 <bool>true</bool>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
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
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
38 </widget>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
39 </item>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
40 </layout>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
41 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
42 <widget class="QMenuBar" name="menubar">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
43 <property name="geometry">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
44 <rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
45 <x>0</x>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
49 </rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
50 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
51 <widget class="QMenu" name="menuFile">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
52 <property name="title">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
53 <string>File</string>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
60 <addaction name="actionNew"/>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
61 <addaction name="actionOpen"/>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
62 <addaction name="menuRecentFiles"/>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
63 <addaction name="actionSave"/>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
64 <addaction name="actionSaveAs"/>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
65 <addaction name="actionClose"/>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
69 <addaction name="actionQuit"/>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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"/>
366
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
97 <addaction name="actionSelectAll"/>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
98 <addaction name="separator"/>
183
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
99 <addaction name="actionInvert"/>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
100 <addaction name="separator"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
101 <addaction name="actionGridFine"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
102 <addaction name="actionGridMedium"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
103 <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
104 <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
105 <addaction name="actionMakeUnofficial"/>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
106 </widget>
229
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
107 <widget class="QMenu" name="menuHelp">
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
108 <property name="title">
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
109 <string>Help</string>
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
110 </property>
272
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
111 <addaction name="actionAbout"/>
229
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
112 <addaction name="actionAboutQt"/>
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
113 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
114 <addaction name="menuFile"/>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
115 <addaction name="menuView"/>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
116 <addaction name="menuEdit"/>
229
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
117 <addaction name="menuHelp"/>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
118 </widget>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
119 <widget class="QStatusBar" name="statusbar"/>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
120 <widget class="QToolBar" name="fileToolBar">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
121 <property name="windowTitle">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
122 <string>toolBar</string>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
123 </property>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
124 <attribute name="toolBarArea">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
125 <enum>TopToolBarArea</enum>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
126 </attribute>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
127 <attribute name="toolBarBreak">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
128 <bool>false</bool>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
129 </attribute>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
130 <addaction name="actionNew"/>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
131 <addaction name="actionOpen"/>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
132 <addaction name="actionSave"/>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
133 <addaction name="actionSaveAs"/>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
134 </widget>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
135 <widget class="QToolBar" name="toolBar">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
136 <property name="windowTitle">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
137 <string>toolBar</string>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
138 </property>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
139 <attribute name="toolBarArea">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
140 <enum>TopToolBarArea</enum>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
141 </attribute>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
142 <attribute name="toolBarBreak">
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
143 <bool>false</bool>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
144 </attribute>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
145 <addaction name="actionRenderStyleNormal"/>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
146 <addaction name="actionRenderStyleBfc"/>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
147 <addaction name="actionRenderStyleRandom"/>
231
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
148 <addaction name="actionWireframe"/>
170
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
149 <addaction name="actionDrawAxes"/>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
150 </widget>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
151 <widget class="QToolBar" name="editToolBar">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
152 <property name="windowTitle">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
153 <string>toolBar_2</string>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
154 </property>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
155 <attribute name="toolBarArea">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
156 <enum>TopToolBarArea</enum>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
157 </attribute>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
158 <attribute name="toolBarBreak">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
159 <bool>false</bool>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
160 </attribute>
183
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
161 <addaction name="actionInvert"/>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
162 <addaction name="actionDelete"/>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
163 </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
164 <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
165 <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
166 <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
167 </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
168 <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
169 <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
170 </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
171 <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
172 <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
173 </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
174 </widget>
240
414d392b9ae6 some improvements to dock widget handling
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 237
diff changeset
175 <widget class="QDockWidget" name="toolOptionsDock">
236
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
176 <property name="features">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
177 <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
178 </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
179 <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
180 <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
181 </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
182 <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
183 <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
184 </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
185 <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
186 <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
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 <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
189 </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
190 </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
191 </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
192 </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
193 <widget class="QDockWidget" name="dockWidget_3">
236
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
194 <property name="features">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
195 <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
196 </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
197 <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
198 <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
199 </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
200 <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
201 <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
202 </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
203 <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
204 <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
205 <item>
332
ae7f7fbb9cda Only enable the text editor when having a model open
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 328
diff changeset
206 <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
207 <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
208 <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
209 </property>
ae7f7fbb9cda Only enable the text editor when having a model open
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 328
diff changeset
210 </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
211 </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
212 </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
213 </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
214 </widget>
240
414d392b9ae6 some improvements to dock widget handling
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 237
diff changeset
215 <widget class="QDockWidget" name="messageLogDock">
236
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
216 <property name="features">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
217 <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
218 </property>
235
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
219 <property name="windowTitle">
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
220 <string>Message log</string>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
221 </property>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
222 <attribute name="dockWidgetArea">
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
223 <number>8</number>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
224 </attribute>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
225 <widget class="QWidget" name="dockWidgetContents">
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
226 <layout class="QVBoxLayout" name="verticalLayout">
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
227 <item>
236
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
228 <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
229 <property name="verticalScrollBarPolicy">
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
230 <enum>Qt::ScrollBarAlwaysOn</enum>
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
231 </property>
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
232 <property name="horizontalScrollBarPolicy">
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
233 <enum>Qt::ScrollBarAlwaysOn</enum>
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
234 </property>
236
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
235 <property name="alternatingRowColors">
235
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
236 <bool>true</bool>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
237 </property>
236
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
238 <property name="verticalScrollMode">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
239 <enum>QAbstractItemView::ScrollPerPixel</enum>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
240 </property>
237
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
241 <property name="horizontalScrollMode">
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
242 <enum>QAbstractItemView::ScrollPerPixel</enum>
10a6298f636f Add an option to log opengl messages
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 236
diff changeset
243 </property>
236
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
244 <property name="gridStyle">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
245 <enum>Qt::DotLine</enum>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
246 </property>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
247 <attribute name="horizontalHeaderDefaultSectionSize">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
248 <number>150</number>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
249 </attribute>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
250 <attribute name="horizontalHeaderStretchLastSection">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
251 <bool>true</bool>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
252 </attribute>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
253 <attribute name="verticalHeaderVisible">
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
254 <bool>false</bool>
1fa0e1de9f0a Made message log a model
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 235
diff changeset
255 </attribute>
235
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
256 </widget>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
257 </item>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
258 </layout>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
259 </widget>
7ef03c2b46ab Add a basic message log
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 231
diff changeset
260 </widget>
335
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
261 <widget class="QToolBar" name="gridToolBar">
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
262 <property name="windowTitle">
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
263 <string>toolBar_2</string>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
264 </property>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
265 <attribute name="toolBarArea">
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
266 <enum>TopToolBarArea</enum>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
267 </attribute>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
268 <attribute name="toolBarBreak">
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
269 <bool>false</bool>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
270 </attribute>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
271 <addaction name="actionGridFine"/>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
272 <addaction name="actionGridMedium"/>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
273 <addaction name="actionGridCoarse"/>
c5830bce1c23 Fix crashing
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 332
diff changeset
274 </widget>
356
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
275 <widget class="QDockWidget" name="dockWidget">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
276 <property name="features">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
277 <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
278 </property>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
279 <property name="windowTitle">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
280 <string>Grid matrix</string>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
281 </property>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
282 <attribute name="dockWidgetArea">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
283 <number>2</number>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
284 </attribute>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
285 <widget class="QWidget" name="dockWidgetContents_4">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
286 <layout class="QVBoxLayout" name="verticalLayout_5">
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 <layout class="QHBoxLayout" name="horizontalLayout">
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 <widget class="MatrixEditor" name="gridMatrix"/>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
291 </item>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
292 <item>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
293 <spacer name="horizontalSpacer">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
294 <property name="orientation">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
295 <enum>Qt::Horizontal</enum>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
296 </property>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
297 <property name="sizeHint" stdset="0">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
298 <size>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
299 <width>40</width>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
300 <height>20</height>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
301 </size>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
302 </property>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
303 </spacer>
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 </layout>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
306 </item>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
307 <item>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
308 <spacer name="verticalSpacer">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
309 <property name="orientation">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
310 <enum>Qt::Vertical</enum>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
311 </property>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
312 <property name="sizeHint" stdset="0">
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
313 <size>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
314 <width>20</width>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
315 <height>40</height>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
316 </size>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
317 </property>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
318 </spacer>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
319 </item>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
320 </layout>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
321 </widget>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
322 </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
323 <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
324 <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
325 <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
326 </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
327 <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
328 <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
329 </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
330 <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
331 <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
332 </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
333 <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
334 <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
335 <addaction name="actionPaste"/>
366
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
336 <addaction name="actionSelectAll"/>
374
75efc3ba5a56 More refactor and renaming
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 370
diff changeset
337 <addaction name="action_make_stuff_red"/>
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
338 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
339 <action name="actionQuit">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
340 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
341 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
342 <normaloff>:/icons/close.png</normaloff>:/icons/close.png</iconset>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
343 </property>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
344 <property name="text">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
345 <string>Quit</string>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
346 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
347 </action>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
348 <action name="actionOpen">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
349 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
350 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
351 <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
352 </property>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
353 <property name="text">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
354 <string>Open…</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
355 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
356 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
357 <string>Ctrl+O</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
358 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
359 </action>
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
360 <action name="actionNew">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
361 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
362 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
363 <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
364 </property>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
365 <property name="text">
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
366 <string>New</string>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
367 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
368 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
369 <string>Ctrl+N</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
370 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
371 </action>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
372 <action name="actionSettingsEditor">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
373 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
374 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
375 <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
376 </property>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
377 <property name="text">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
378 <string>Preferences…</string>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
379 </property>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
380 </action>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
381 <action name="actionRenderStyleNormal">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
382 <property name="checkable">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
383 <bool>true</bool>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
384 </property>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
385 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
386 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
387 <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
388 </property>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
389 <property name="text">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
390 <string>Normal colours</string>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
391 </property>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
392 </action>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
393 <action name="actionRenderStyleBfc">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
394 <property name="checkable">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
395 <bool>true</bool>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
396 </property>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
397 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
398 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
399 <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
400 </property>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
401 <property name="text">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
402 <string>BFC color coding</string>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
403 </property>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
404 </action>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
405 <action name="actionRenderStyleRandom">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
406 <property name="checkable">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
407 <bool>true</bool>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
408 </property>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
409 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
410 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
411 <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
412 </property>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
413 <property name="text">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
414 <string>Random colours</string>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
415 </property>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
416 </action>
79
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
417 <action name="actionRenderStylePickScene">
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
418 <property name="checkable">
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
419 <bool>true</bool>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
420 </property>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
421 <property name="text">
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
422 <string>Pick scene colours</string>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
423 </property>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
424 </action>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
425 <action name="actionSave">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
426 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
427 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
428 <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
429 </property>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
430 <property name="text">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
431 <string>Save</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
432 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
433 <property name="shortcut">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
434 <string>Ctrl+S</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
435 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
436 </action>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
437 <action name="actionSaveAs">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
438 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
439 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
440 <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
441 </property>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
442 <property name="text">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
443 <string>Save as…</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
444 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
445 <property name="shortcut">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
446 <string>Ctrl+Shift+S</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
447 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
448 </action>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
449 <action name="actionClose">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
450 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
451 <iconset resource="../resources.qrc">
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
452 <normaloff>:/icons/close-circle-outline.png</normaloff>:/icons/close-circle-outline.png</iconset>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
453 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
454 <property name="text">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
455 <string>Close</string>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
456 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
457 <property name="shortcut">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
458 <string>Ctrl+W</string>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
459 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
460 </action>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
461 <action name="actionDelete">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
462 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
463 <iconset resource="../resources.qrc">
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
464 <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
465 </property>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
466 <property name="text">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
467 <string>Delete</string>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
468 </property>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
469 <property name="shortcut">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
470 <string>Del</string>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
471 </property>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
472 </action>
170
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
473 <action name="actionDrawAxes">
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
474 <property name="checkable">
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
475 <bool>true</bool>
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="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
478 <iconset resource="../resources.qrc">
170
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
479 <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
480 </property>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
481 <property name="text">
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
482 <string>Draw axes</string>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
483 </property>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
484 </action>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
485 <action name="actionGridFine">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
486 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
487 <string>Fine grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
488 </property>
370
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
489 <property name="toolTip">
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
490 <string>Set grid scaling to 0.1</string>
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
491 </property>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
492 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
493 <string>Ctrl+1</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
494 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
495 </action>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
496 <action name="actionGridMedium">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
497 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
498 <string>Medium grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
499 </property>
370
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
500 <property name="toolTip">
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
501 <string>Set grid scaling to 1</string>
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
502 </property>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
503 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
504 <string>Ctrl+2</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
505 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
506 </action>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
507 <action name="actionGridCoarse">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
508 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
509 <string>Coarse grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
510 </property>
370
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
511 <property name="toolTip">
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
512 <string>Set grid scaling to 5</string>
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
513 </property>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
514 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
515 <string>Ctrl+3</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
516 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
517 </action>
183
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
518 <action name="actionInvert">
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
519 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
520 <iconset resource="../resources.qrc">
183
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
521 <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
522 </property>
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
523 <property name="text">
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
524 <string>Invert</string>
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
525 </property>
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
526 </action>
229
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
527 <action name="actionAboutQt">
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
528 <property name="text">
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
529 <string>About Qt</string>
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
530 </property>
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
531 </action>
231
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
532 <action name="actionWireframe">
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
533 <property name="checkable">
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
534 <bool>true</bool>
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="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
537 <iconset resource="../resources.qrc">
231
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
538 <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
539 </property>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
540 <property name="text">
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
541 <string>Wireframe</string>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
542 </property>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
543 </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
544 <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
545 <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
546 <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
547 </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
548 </action>
272
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
549 <action name="actionAbout">
276
17b3212d3045 Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 272
diff changeset
550 <property name="icon">
17b3212d3045 Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 272
diff changeset
551 <iconset resource="../resources.qrc">
17b3212d3045 Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 272
diff changeset
552 <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
553 </property>
272
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
554 <property name="text">
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
555 <string>About %1</string>
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
556 </property>
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
557 </action>
288
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
558 <action name="actionTileSubWindows">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
559 <property name="text">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
560 <string>Tile subwindows</string>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
561 </property>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
562 </action>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
563 <action name="actionCascadeSubWindows">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
564 <property name="text">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
565 <string>Cascade subwindows</string>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
566 </property>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
567 </action>
303
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
568 <action name="actionSelectAll">
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
569 <property name="text">
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
570 <string>Select all</string>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
571 </property>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
572 <property name="shortcut">
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
573 <string>Ctrl+A</string>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
574 </property>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
575 </action>
327
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
576 <action name="actionCopy">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
577 <property name="icon">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
578 <iconset resource="../resources.qrc">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
579 <normaloff>:/icons/copy.png</normaloff>:/icons/copy.png</iconset>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
580 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
581 <property name="text">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
582 <string>Copy</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
583 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
584 <property name="shortcut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
585 <string>Ctrl+C</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
586 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
587 </action>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
588 <action name="actionCut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
589 <property name="icon">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
590 <iconset resource="../resources.qrc">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
591 <normaloff>:/icons/cut.png</normaloff>:/icons/cut.png</iconset>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
592 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
593 <property name="text">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
594 <string>Cut</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
595 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
596 <property name="shortcut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
597 <string>Ctrl+X</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
598 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
599 </action>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
600 <action name="actionPaste">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
601 <property name="icon">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
602 <iconset resource="../resources.qrc">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
603 <normaloff>:/icons/paste.png</normaloff>:/icons/paste.png</iconset>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
604 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
605 <property name="text">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
606 <string>Paste</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
607 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
608 <property name="shortcut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
609 <string>Ctrl+V</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
610 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
611 </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
612 <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
613 <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
614 <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
615 </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
616 <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
617 <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
618 </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
619 </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
620 <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
621 <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
622 <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
623 </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
624 <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
625 <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
626 </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
627 </action>
374
75efc3ba5a56 More refactor and renaming
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 370
diff changeset
628 <action name="action_make_stuff_red">
75efc3ba5a56 More refactor and renaming
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 370
diff changeset
629 <property name="text">
75efc3ba5a56 More refactor and renaming
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 370
diff changeset
630 <string>Make stuff red</string>
75efc3ba5a56 More refactor and renaming
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 370
diff changeset
631 </property>
75efc3ba5a56 More refactor and renaming
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 370
diff changeset
632 </action>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
633 </widget>
356
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
634 <customwidgets>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
635 <customwidget>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
636 <class>MatrixEditor</class>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
637 <extends>QWidget</extends>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
638 <header>widgets/matrixeditor.h</header>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
639 </customwidget>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
640 </customwidgets>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
641 <resources>
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
642 <include location="../resources.qrc"/>
303
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
643 <include location="../resources.qrc"/>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
644 </resources>
288
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
645 <connections>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
646 <connection>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
647 <sender>actionTileSubWindows</sender>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
648 <signal>triggered()</signal>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
649 <receiver>mdiArea</receiver>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
650 <slot>tileSubWindows()</slot>
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 <hint type="sourcelabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
653 <x>-1</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
654 <y>-1</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
655 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
656 <hint type="destinationlabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
657 <x>231</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
658 <y>202</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
659 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
660 </hints>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
661 </connection>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
662 <connection>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
663 <sender>actionCascadeSubWindows</sender>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
664 <signal>triggered()</signal>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
665 <receiver>mdiArea</receiver>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
666 <slot>cascadeSubWindows()</slot>
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 <hint type="sourcelabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
669 <x>-1</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
670 <y>-1</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
671 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
672 <hint type="destinationlabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
673 <x>231</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
674 <y>202</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
675 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
676 </hints>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
677 </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
678 <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
679 <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
680 <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
681 <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
682 <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
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 <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
685 <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
686 <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
687 </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
688 <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
689 <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
690 <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
691 </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
692 </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
693 </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
694 <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
695 <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
696 <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
697 <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
698 <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
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 <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
701 <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
702 <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
703 </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
704 <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
705 <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
706 <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
707 </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
708 </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
709 </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
710 <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
711 <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
712 <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
713 <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
714 <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
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 <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
717 <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
718 <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
719 </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
720 <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
721 <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
722 <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
723 </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
724 </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
725 </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
726 <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
727 <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
728 <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
729 <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
730 <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
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 <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
733 <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
734 <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
735 </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
736 <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
737 <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
738 <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
739 </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
740 </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
741 </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
742 <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
743 <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
744 <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
745 <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
746 <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
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 <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
749 <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
750 <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
751 </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
752 <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
753 <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
754 <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
755 </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
756 </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
757 </connection>
366
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
758 <connection>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
759 <sender>actionSelectAll</sender>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
760 <signal>triggered()</signal>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
761 <receiver>modelEdit</receiver>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
762 <slot>selectAll()</slot>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
763 <hints>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
764 <hint type="sourcelabel">
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
765 <x>-1</x>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
766 <y>-1</y>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
767 </hint>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
768 <hint type="destinationlabel">
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
769 <x>1041</x>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
770 <y>163</y>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
771 </hint>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
772 </hints>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
773 </connection>
288
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
774 </connections>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
775 </ui>

mercurial