src/mainwindow.ui

Mon, 10 Apr 2023 14:18:11 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Mon, 10 Apr 2023 14:18:11 +0300
changeset 370
b2f9ded235a6
parent 366
ea656dead697
child 374
75efc3ba5a56
permissions
-rw-r--r--

Grid scaling buttons now work

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"/>
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
337 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
338 <action name="actionQuit">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
339 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
340 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
341 <normaloff>:/icons/close.png</normaloff>:/icons/close.png</iconset>
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
342 </property>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
343 <property name="text">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
344 <string>Quit</string>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
345 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
346 </action>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
347 <action name="actionOpen">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
348 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
349 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
350 <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
351 </property>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
352 <property name="text">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
353 <string>Open…</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
354 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
355 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
356 <string>Ctrl+O</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
357 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
358 </action>
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
359 <action name="actionNew">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
360 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
361 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
362 <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
363 </property>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
364 <property name="text">
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
365 <string>New</string>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
366 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
367 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
368 <string>Ctrl+N</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
369 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
370 </action>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
371 <action name="actionSettingsEditor">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
372 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
373 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
374 <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
375 </property>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
376 <property name="text">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
377 <string>Preferences…</string>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
378 </property>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
379 </action>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
380 <action name="actionRenderStyleNormal">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
381 <property name="checkable">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
382 <bool>true</bool>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
383 </property>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
384 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
385 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
386 <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
387 </property>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
388 <property name="text">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
389 <string>Normal colours</string>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
390 </property>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
391 </action>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
392 <action name="actionRenderStyleBfc">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
393 <property name="checkable">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
394 <bool>true</bool>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
395 </property>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
396 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
397 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
398 <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
399 </property>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
400 <property name="text">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
401 <string>BFC color coding</string>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
402 </property>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
403 </action>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
404 <action name="actionRenderStyleRandom">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
405 <property name="checkable">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
406 <bool>true</bool>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
407 </property>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
408 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
409 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
410 <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
411 </property>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
412 <property name="text">
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
413 <string>Random colours</string>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
414 </property>
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
415 </action>
79
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
416 <action name="actionRenderStylePickScene">
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
417 <property name="checkable">
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
418 <bool>true</bool>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
419 </property>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
420 <property name="text">
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
421 <string>Pick scene colours</string>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
422 </property>
5fe2dd4e161a added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents: 36
diff changeset
423 </action>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
424 <action name="actionSave">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
425 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
426 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
427 <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
428 </property>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
429 <property name="text">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
430 <string>Save</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
431 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
432 <property name="shortcut">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
433 <string>Ctrl+S</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
434 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
435 </action>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
436 <action name="actionSaveAs">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
437 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
438 <iconset resource="../resources.qrc">
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
439 <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
440 </property>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
441 <property name="text">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
442 <string>Save as…</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
443 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
444 <property name="shortcut">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
445 <string>Ctrl+Shift+S</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
446 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
447 </action>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
448 <action name="actionClose">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
449 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
450 <iconset resource="../resources.qrc">
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
451 <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
452 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
453 <property name="text">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
454 <string>Close</string>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
455 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
456 <property name="shortcut">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
457 <string>Ctrl+W</string>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
458 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
459 </action>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
460 <action name="actionDelete">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
461 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
462 <iconset resource="../resources.qrc">
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
463 <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
464 </property>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
465 <property name="text">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
466 <string>Delete</string>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
467 </property>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
468 <property name="shortcut">
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
469 <string>Del</string>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
470 </property>
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
471 </action>
170
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
472 <action name="actionDrawAxes">
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
473 <property name="checkable">
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
474 <bool>true</bool>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
475 </property>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
476 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
477 <iconset resource="../resources.qrc">
170
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
478 <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
479 </property>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
480 <property name="text">
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
481 <string>Draw axes</string>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
482 </property>
9b655f6fe5a1 Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents: 169
diff changeset
483 </action>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
484 <action name="actionGridFine">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
485 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
486 <string>Fine grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
487 </property>
370
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
488 <property name="toolTip">
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
489 <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
490 </property>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
491 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
492 <string>Ctrl+1</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
493 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
494 </action>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
495 <action name="actionGridMedium">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
496 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
497 <string>Medium grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
498 </property>
370
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
499 <property name="toolTip">
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
500 <string>Set grid scaling to 1</string>
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
501 </property>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
502 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
503 <string>Ctrl+2</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
504 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
505 </action>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
506 <action name="actionGridCoarse">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
507 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
508 <string>Coarse grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
509 </property>
370
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
510 <property name="toolTip">
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
511 <string>Set grid scaling to 5</string>
b2f9ded235a6 Grid scaling buttons now work
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 366
diff changeset
512 </property>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
513 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
514 <string>Ctrl+3</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
515 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
516 </action>
183
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
517 <action name="actionInvert">
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
518 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
519 <iconset resource="../resources.qrc">
183
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
520 <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
521 </property>
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
522 <property name="text">
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
523 <string>Invert</string>
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
524 </property>
97b591813c8b - Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents: 175
diff changeset
525 </action>
229
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
526 <action name="actionAboutQt">
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
527 <property name="text">
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
528 <string>About Qt</string>
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
529 </property>
38d86002d548 Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 204
diff changeset
530 </action>
231
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
531 <action name="actionWireframe">
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
532 <property name="checkable">
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
533 <bool>true</bool>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
534 </property>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
535 <property name="icon">
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
536 <iconset resource="../resources.qrc">
231
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
537 <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
538 </property>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
539 <property name="text">
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
540 <string>Wireframe</string>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
541 </property>
a9bf6bab5ea2 Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 229
diff changeset
542 </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
543 <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
544 <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
545 <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
546 </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
547 </action>
272
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
548 <action name="actionAbout">
276
17b3212d3045 Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 272
diff changeset
549 <property name="icon">
17b3212d3045 Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 272
diff changeset
550 <iconset resource="../resources.qrc">
17b3212d3045 Add some sort of basic application icon
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 272
diff changeset
551 <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
552 </property>
272
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
553 <property name="text">
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
554 <string>About %1</string>
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
555 </property>
9d52b119b3f5 Sort out versions more, add about page
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 271
diff changeset
556 </action>
288
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
557 <action name="actionTileSubWindows">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
558 <property name="text">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
559 <string>Tile subwindows</string>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
560 </property>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
561 </action>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
562 <action name="actionCascadeSubWindows">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
563 <property name="text">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
564 <string>Cascade subwindows</string>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
565 </property>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
566 </action>
303
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
567 <action name="actionSelectAll">
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
568 <property name="text">
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
569 <string>Select all</string>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
570 </property>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
571 <property name="shortcut">
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
572 <string>Ctrl+A</string>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
573 </property>
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
574 </action>
327
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
575 <action name="actionCopy">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
576 <property name="icon">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
577 <iconset resource="../resources.qrc">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
578 <normaloff>:/icons/copy.png</normaloff>:/icons/copy.png</iconset>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
579 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
580 <property name="text">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
581 <string>Copy</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
582 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
583 <property name="shortcut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
584 <string>Ctrl+C</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
585 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
586 </action>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
587 <action name="actionCut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
588 <property name="icon">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
589 <iconset resource="../resources.qrc">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
590 <normaloff>:/icons/cut.png</normaloff>:/icons/cut.png</iconset>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
591 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
592 <property name="text">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
593 <string>Cut</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
594 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
595 <property name="shortcut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
596 <string>Ctrl+X</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
597 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
598 </action>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
599 <action name="actionPaste">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
600 <property name="icon">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
601 <iconset resource="../resources.qrc">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
602 <normaloff>:/icons/paste.png</normaloff>:/icons/paste.png</iconset>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
603 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
604 <property name="text">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
605 <string>Paste</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
606 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
607 <property name="shortcut">
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
608 <string>Ctrl+V</string>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
609 </property>
2aa15daa0216 Add copy action
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 304
diff changeset
610 </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
611 <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
612 <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
613 <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
614 </property>
9d5cb5635c18 Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 356
diff changeset
615 <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
616 <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
617 </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
618 </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
619 <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
620 <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
621 <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
622 </property>
9d5cb5635c18 Add undo, redo, cut, copy and paste actions to MainWindow which pass onto the editor widget
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 356
diff changeset
623 <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
624 <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
625 </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
626 </action>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
627 </widget>
356
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
628 <customwidgets>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
629 <customwidget>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
630 <class>MatrixEditor</class>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
631 <extends>QWidget</extends>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
632 <header>widgets/matrixeditor.h</header>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
633 </customwidget>
65b4741b302d Made editor font configurable
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 335
diff changeset
634 </customwidgets>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
635 <resources>
270
1202b102a10b Fix qrc path in mainwindow.ui
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 262
diff changeset
636 <include location="../resources.qrc"/>
303
f4383ac6e21e Add select all
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 288
diff changeset
637 <include location="../resources.qrc"/>
158
5bd755eaa5a8 Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents: 141
diff changeset
638 </resources>
288
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
639 <connections>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
640 <connection>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
641 <sender>actionTileSubWindows</sender>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
642 <signal>triggered()</signal>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
643 <receiver>mdiArea</receiver>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
644 <slot>tileSubWindows()</slot>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
645 <hints>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
646 <hint type="sourcelabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
647 <x>-1</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
648 <y>-1</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
649 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
650 <hint type="destinationlabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
651 <x>231</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
652 <y>202</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
653 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
654 </hints>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
655 </connection>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
656 <connection>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
657 <sender>actionCascadeSubWindows</sender>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
658 <signal>triggered()</signal>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
659 <receiver>mdiArea</receiver>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
660 <slot>cascadeSubWindows()</slot>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
661 <hints>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
662 <hint type="sourcelabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
663 <x>-1</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
664 <y>-1</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
665 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
666 <hint type="destinationlabel">
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
667 <x>231</x>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
668 <y>202</y>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
669 </hint>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
670 </hints>
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
671 </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
672 <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
673 <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
674 <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
675 <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
676 <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
677 <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
678 <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
679 <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
680 <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
681 </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
682 <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
683 <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
684 <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
685 </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
686 </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
687 </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
688 <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
689 <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
690 <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
691 <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
692 <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
693 <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
694 <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
695 <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
696 <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
697 </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
698 <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
699 <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
700 <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
701 </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
702 </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
703 </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
704 <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
705 <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
706 <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
707 <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
708 <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
709 <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
710 <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
711 <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
712 <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
713 </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
714 <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
715 <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
716 <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
717 </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
718 </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
719 </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
720 <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
721 <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
722 <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
723 <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
724 <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
725 <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
726 <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
727 <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
728 <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
729 </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
730 <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
731 <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
732 <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
733 </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
734 </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
735 </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
736 <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
737 <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
738 <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
739 <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
740 <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
741 <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
742 <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
743 <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
744 <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
745 </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
746 <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
747 <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
748 <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
749 </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
750 </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
751 </connection>
366
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
752 <connection>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
753 <sender>actionSelectAll</sender>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
754 <signal>triggered()</signal>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
755 <receiver>modelEdit</receiver>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
756 <slot>selectAll()</slot>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
757 <hints>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
758 <hint type="sourcelabel">
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
759 <x>-1</x>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
760 <y>-1</y>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
761 </hint>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
762 <hint type="destinationlabel">
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
763 <x>1041</x>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
764 <y>163</y>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
765 </hint>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
766 </hints>
ea656dead697 Also connect up "Select all"
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 365
diff changeset
767 </connection>
288
169b30f282bd Add tile and cascade subwindows actions
Teemu Piippo <teemu.s.piippo@gmail.com>
parents: 287
diff changeset
768 </connections>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
769 </ui>

mercurial