Fri, 11 Mar 2022 20:19:26 +0200
add grid actions
0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ui version="4.0"> | |
3 | <class>MainWindow</class> | |
4 | <widget class="QMainWindow" name="MainWindow"> | |
5 | <property name="geometry"> | |
6 | <rect> | |
7 | <x>0</x> | |
8 | <y>0</y> | |
9 | <width>800</width> | |
10 | <height>600</height> | |
11 | </rect> | |
12 | </property> | |
13 | <property name="windowTitle"> | |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
14 | <string>LDForge</string> |
0 | 15 | </property> |
3 | 16 | <widget class="QWidget" name="centralwidget"> |
17 | <layout class="QVBoxLayout" name="verticalLayout"> | |
18 | <item> | |
160 | 19 | <widget class="QTabWidget" name="tabs"> |
20 | <property name="tabsClosable"> | |
21 | <bool>true</bool> | |
22 | </property> | |
23 | </widget> | |
3 | 24 | </item> |
25 | </layout> | |
26 | </widget> | |
0 | 27 | <widget class="QMenuBar" name="menubar"> |
28 | <property name="geometry"> | |
29 | <rect> | |
30 | <x>0</x> | |
31 | <y>0</y> | |
32 | <width>800</width> | |
175 | 33 | <height>31</height> |
0 | 34 | </rect> |
35 | </property> | |
36 | <widget class="QMenu" name="menuFile"> | |
37 | <property name="title"> | |
38 | <string>File</string> | |
39 | </property> | |
9
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
40 | <widget class="QMenu" name="menuRecentFiles"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
41 | <property name="title"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
42 | <string>Recent files</string> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
43 | </property> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
44 | </widget> |
5 | 45 | <addaction name="actionNew"/> |
3 | 46 | <addaction name="actionOpen"/> |
160 | 47 | <addaction name="menuRecentFiles"/> |
141 | 48 | <addaction name="actionSave"/> |
49 | <addaction name="actionSaveAs"/> | |
160 | 50 | <addaction name="actionClose"/> |
3 | 51 | <addaction name="separator"/> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
52 | <addaction name="actionSettingsEditor"/> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
53 | <addaction name="separator"/> |
0 | 54 | <addaction name="actionQuit"/> |
55 | </widget> | |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
56 | <widget class="QMenu" name="menuView"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
57 | <property name="title"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
58 | <string>View</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
59 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
60 | <addaction name="actionRenderStyleNormal"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
61 | <addaction name="actionRenderStyleBfc"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
62 | <addaction name="actionRenderStyleRandom"/> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
63 | <addaction name="actionRenderStylePickScene"/> |
128
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
64 | <addaction name="separator"/> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
65 | <addaction name="actionAdjustGridToView"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
66 | <addaction name="actionDrawAxes"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
67 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
68 | <widget class="QMenu" name="menuEdit"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
69 | <property name="title"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
70 | <string>Edit</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
71 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
72 | <addaction name="actionDelete"/> |
175 | 73 | <addaction name="separator"/> |
74 | <addaction name="actionGridFine"/> | |
75 | <addaction name="actionGridMedium"/> | |
76 | <addaction name="actionGridCoarse"/> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
77 | </widget> |
0 | 78 | <addaction name="menuFile"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
79 | <addaction name="menuView"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
80 | <addaction name="menuEdit"/> |
0 | 81 | </widget> |
82 | <widget class="QStatusBar" name="statusbar"/> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
83 | <widget class="QToolBar" name="fileToolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
84 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
85 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
86 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
87 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
88 | <enum>TopToolBarArea</enum> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
89 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
90 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
91 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
92 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
93 | <addaction name="actionNew"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
94 | <addaction name="actionOpen"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
95 | <addaction name="actionSave"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
96 | <addaction name="actionSaveAs"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
97 | </widget> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
98 | <widget class="QToolBar" name="toolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
99 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
100 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
101 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
102 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
103 | <enum>TopToolBarArea</enum> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
104 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
105 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
106 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
107 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
108 | <addaction name="actionRenderStyleNormal"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
109 | <addaction name="actionRenderStyleBfc"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
110 | <addaction name="actionRenderStyleRandom"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
111 | <addaction name="actionDrawAxes"/> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
112 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
113 | <widget class="QToolBar" name="editToolBar"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
114 | <property name="windowTitle"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
115 | <string>toolBar_2</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
116 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
117 | <attribute name="toolBarArea"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
118 | <enum>TopToolBarArea</enum> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
119 | </attribute> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
120 | <attribute name="toolBarBreak"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
121 | <bool>false</bool> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
122 | </attribute> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
123 | <addaction name="actionDelete"/> |
175 | 124 | <addaction name="actionGridFine"/> |
125 | <addaction name="actionGridMedium"/> | |
126 | <addaction name="actionGridCoarse"/> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
127 | </widget> |
0 | 128 | <action name="actionQuit"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
129 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
130 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
131 | <normaloff>:/icons/close.png</normaloff>:/icons/close.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
132 | </property> |
0 | 133 | <property name="text"> |
134 | <string>Quit</string> | |
135 | </property> | |
136 | </action> | |
3 | 137 | <action name="actionOpen"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
138 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
139 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
140 | <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
|
141 | </property> |
3 | 142 | <property name="text"> |
143 | <string>Open…</string> | |
144 | </property> | |
145 | <property name="shortcut"> | |
146 | <string>Ctrl+O</string> | |
147 | </property> | |
148 | </action> | |
5 | 149 | <action name="actionNew"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
150 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
151 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
152 | <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
|
153 | </property> |
3 | 154 | <property name="text"> |
5 | 155 | <string>New</string> |
3 | 156 | </property> |
157 | <property name="shortcut"> | |
158 | <string>Ctrl+N</string> | |
159 | </property> | |
160 | </action> | |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
161 | <action name="actionSettingsEditor"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
162 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
163 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
164 | <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
|
165 | </property> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
166 | <property name="text"> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
167 | <string>Preferences…</string> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
168 | </property> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
169 | </action> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
170 | <action name="actionRenderStyleNormal"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
171 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
172 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
173 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
174 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
175 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
176 | <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
|
177 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
178 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
179 | <string>Normal colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
180 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
181 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
182 | <action name="actionRenderStyleBfc"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
183 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
184 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
185 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
186 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
187 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
188 | <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
|
189 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
190 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
191 | <string>BFC color coding</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
192 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
193 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
194 | <action name="actionRenderStyleRandom"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
195 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
196 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
197 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
198 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
199 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
200 | <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
|
201 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
202 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
203 | <string>Random colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
204 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
205 | </action> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
206 | <action name="actionRenderStylePickScene"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
207 | <property name="checkable"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
208 | <bool>true</bool> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
209 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
210 | <property name="text"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
211 | <string>Pick scene colours</string> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
212 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
213 | </action> |
128
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
214 | <action name="actionAdjustGridToView"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
215 | <property name="text"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
216 | <string>Adjust grid to view</string> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
217 | </property> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
218 | <property name="shortcut"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
219 | <string>Ctrl+G</string> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
220 | </property> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
221 | </action> |
141 | 222 | <action name="actionSave"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
223 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
224 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
225 | <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
|
226 | </property> |
141 | 227 | <property name="text"> |
228 | <string>Save</string> | |
229 | </property> | |
230 | <property name="shortcut"> | |
231 | <string>Ctrl+S</string> | |
232 | </property> | |
233 | </action> | |
234 | <action name="actionSaveAs"> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
235 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
236 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
237 | <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
|
238 | </property> |
141 | 239 | <property name="text"> |
240 | <string>Save as…</string> | |
241 | </property> | |
242 | <property name="shortcut"> | |
243 | <string>Ctrl+Shift+S</string> | |
244 | </property> | |
245 | </action> | |
160 | 246 | <action name="actionClose"> |
247 | <property name="icon"> | |
248 | <iconset resource="../ldforge.qrc"> | |
249 | <normaloff>:/icons/close-circle-outline.png</normaloff>:/icons/close-circle-outline.png</iconset> | |
250 | </property> | |
251 | <property name="text"> | |
252 | <string>Close</string> | |
253 | </property> | |
254 | <property name="shortcut"> | |
255 | <string>Ctrl+W</string> | |
256 | </property> | |
257 | </action> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
258 | <action name="actionDelete"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
259 | <property name="icon"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
260 | <iconset resource="../ldforge.qrc"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
261 | <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
|
262 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
263 | <property name="text"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
264 | <string>Delete</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
265 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
266 | <property name="shortcut"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
267 | <string>Del</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
268 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
269 | </action> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
270 | <action name="actionDrawAxes"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
271 | <property name="checkable"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
272 | <bool>true</bool> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
273 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
274 | <property name="icon"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
275 | <iconset resource="../ldforge.qrc"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
276 | <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
|
277 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
278 | <property name="text"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
279 | <string>Draw axes</string> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
280 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
281 | </action> |
175 | 282 | <action name="actionGridFine"> |
283 | <property name="checkable"> | |
284 | <bool>true</bool> | |
285 | </property> | |
286 | <property name="text"> | |
287 | <string>Fine grid</string> | |
288 | </property> | |
289 | <property name="shortcut"> | |
290 | <string>Ctrl+1</string> | |
291 | </property> | |
292 | </action> | |
293 | <action name="actionGridMedium"> | |
294 | <property name="checkable"> | |
295 | <bool>true</bool> | |
296 | </property> | |
297 | <property name="text"> | |
298 | <string>Medium grid</string> | |
299 | </property> | |
300 | <property name="shortcut"> | |
301 | <string>Ctrl+2</string> | |
302 | </property> | |
303 | </action> | |
304 | <action name="actionGridCoarse"> | |
305 | <property name="checkable"> | |
306 | <bool>true</bool> | |
307 | </property> | |
308 | <property name="text"> | |
309 | <string>Coarse grid</string> | |
310 | </property> | |
311 | <property name="shortcut"> | |
312 | <string>Ctrl+3</string> | |
313 | </property> | |
314 | </action> | |
0 | 315 | </widget> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
316 | <resources> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
317 | <include location="../ldforge.qrc"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
318 | </resources> |
0 | 319 | <connections/> |
320 | </ui> |