src/mainwindow.ui

Fri, 11 Mar 2022 20:19:26 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 11 Mar 2022 20:19:26 +0200
changeset 175
41628bdab71c
parent 170
9b655f6fe5a1
child 183
97b591813c8b
permissions
-rw-r--r--

add grid actions

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>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
9 <width>800</width>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
10 <height>600</height>
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>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
13 <property name="windowTitle">
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
14 <string>LDForge</string>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
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">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
17 <layout class="QVBoxLayout" name="verticalLayout">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
18 <item>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
19 <widget class="QTabWidget" name="tabs">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
20 <property name="tabsClosable">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
21 <bool>true</bool>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
22 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
23 </widget>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
24 </item>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
25 </layout>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
26 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
27 <widget class="QMenuBar" name="menubar">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
28 <property name="geometry">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
29 <rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
30 <x>0</x>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
31 <y>0</y>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
32 <width>800</width>
175
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
33 <height>31</height>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
34 </rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
35 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
36 <widget class="QMenu" name="menuFile">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
37 <property name="title">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
38 <string>File</string>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
45 <addaction name="actionNew"/>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
46 <addaction name="actionOpen"/>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
47 <addaction name="menuRecentFiles"/>
141
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
48 <addaction name="actionSave"/>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
49 <addaction name="actionSaveAs"/>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
50 <addaction name="actionClose"/>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
54 <addaction name="actionQuit"/>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
73 <addaction name="separator"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
74 <addaction name="actionGridFine"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
75 <addaction name="actionGridMedium"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
76 <addaction name="actionGridCoarse"/>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
77 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
81 </widget>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
124 <addaction name="actionGridFine"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
125 <addaction name="actionGridMedium"/>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
126 <addaction name="actionGridCoarse"/>
169
6da096930534 Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents: 160
diff changeset
127 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
133 <property name="text">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
134 <string>Quit</string>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
135 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
136 </action>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
142 <property name="text">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
143 <string>Open…</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
144 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
145 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
146 <string>Ctrl+O</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
147 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
148 </action>
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
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
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
154 <property name="text">
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
155 <string>New</string>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
156 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
157 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
158 <string>Ctrl+N</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
159 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
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
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
227 <property name="text">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
228 <string>Save</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
229 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
230 <property name="shortcut">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
231 <string>Ctrl+S</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
232 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
233 </action>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
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
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
239 <property name="text">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
240 <string>Save as…</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
241 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
242 <property name="shortcut">
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
243 <string>Ctrl+Shift+S</string>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
244 </property>
185eb297dc1e Saving works now
Teemu Piippo <teemu@hecknology.net>
parents: 128
diff changeset
245 </action>
160
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
246 <action name="actionClose">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
247 <property name="icon">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
248 <iconset resource="../ldforge.qrc">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
249 <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
250 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
251 <property name="text">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
252 <string>Close</string>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
253 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
254 <property name="shortcut">
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
255 <string>Ctrl+W</string>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
256 </property>
536efae7137e Add document closing
Teemu Piippo <teemu@hecknology.net>
parents: 158
diff changeset
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
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
282 <action name="actionGridFine">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
283 <property name="checkable">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
284 <bool>true</bool>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
285 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
286 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
287 <string>Fine grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
288 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
289 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
290 <string>Ctrl+1</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
291 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
292 </action>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
293 <action name="actionGridMedium">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
294 <property name="checkable">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
295 <bool>true</bool>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
296 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
297 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
298 <string>Medium grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
299 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
300 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
301 <string>Ctrl+2</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
302 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
303 </action>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
304 <action name="actionGridCoarse">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
305 <property name="checkable">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
306 <bool>true</bool>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
307 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
308 <property name="text">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
309 <string>Coarse grid</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
310 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
311 <property name="shortcut">
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
312 <string>Ctrl+3</string>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
313 </property>
41628bdab71c add grid actions
Teemu Piippo <teemu@hecknology.net>
parents: 170
diff changeset
314 </action>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
319 <connections/>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
320 </ui>

mercurial