Mon, 20 Jun 2022 02:04:51 +0300
Add base code for circular primitives
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> | |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
9 | <width>729</width> |
0 | 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"> |
203
1909a0123c72
Move editing modes tool bar, tool options widget stack and model list view into the main window
Teemu Piippo <teemu@hecknology.net>
parents:
202
diff
changeset
|
17 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
3 | 18 | <item> |
202
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
19 | <widget class="QMdiArea" name="mdiArea"> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
20 | <property name="viewMode"> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
21 | <enum>QMdiArea::TabbedView</enum> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
22 | </property> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
23 | <property name="documentMode"> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
24 | <bool>true</bool> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
25 | </property> |
160 | 26 | <property name="tabsClosable"> |
27 | <bool>true</bool> | |
28 | </property> | |
202
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
29 | <property name="tabsMovable"> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
30 | <bool>true</bool> |
b05af0bab735
Replaced the tab widget with an MDI area
Teemu Piippo <teemu@hecknology.net>
parents:
183
diff
changeset
|
31 | </property> |
160 | 32 | </widget> |
3 | 33 | </item> |
34 | </layout> | |
35 | </widget> | |
0 | 36 | <widget class="QMenuBar" name="menubar"> |
37 | <property name="geometry"> | |
38 | <rect> | |
39 | <x>0</x> | |
40 | <y>0</y> | |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
41 | <width>729</width> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
42 | <height>29</height> |
0 | 43 | </rect> |
44 | </property> | |
45 | <widget class="QMenu" name="menuFile"> | |
46 | <property name="title"> | |
47 | <string>File</string> | |
48 | </property> | |
9
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
49 | <widget class="QMenu" name="menuRecentFiles"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
50 | <property name="title"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
51 | <string>Recent files</string> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
52 | </property> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
53 | </widget> |
5 | 54 | <addaction name="actionNew"/> |
3 | 55 | <addaction name="actionOpen"/> |
160 | 56 | <addaction name="menuRecentFiles"/> |
141 | 57 | <addaction name="actionSave"/> |
58 | <addaction name="actionSaveAs"/> | |
160 | 59 | <addaction name="actionClose"/> |
3 | 60 | <addaction name="separator"/> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
61 | <addaction name="actionSettingsEditor"/> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
62 | <addaction name="separator"/> |
0 | 63 | <addaction name="actionQuit"/> |
64 | </widget> | |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
65 | <widget class="QMenu" name="menuView"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
66 | <property name="title"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
67 | <string>View</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
68 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
69 | <addaction name="actionRenderStyleNormal"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
70 | <addaction name="actionRenderStyleBfc"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
71 | <addaction name="actionRenderStyleRandom"/> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
72 | <addaction name="actionRenderStylePickScene"/> |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
73 | <addaction name="actionWireframe"/> |
128
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
74 | <addaction name="separator"/> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
75 | <addaction name="actionAdjustGridToView"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
76 | <addaction name="actionDrawAxes"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
77 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
78 | <widget class="QMenu" name="menuEdit"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
79 | <property name="title"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
80 | <string>Edit</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
81 | </property> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
82 | <addaction name="actionInvert"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
83 | <addaction name="actionDelete"/> |
175 | 84 | <addaction name="separator"/> |
85 | <addaction name="actionGridFine"/> | |
86 | <addaction name="actionGridMedium"/> | |
87 | <addaction name="actionGridCoarse"/> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
88 | </widget> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
89 | <widget class="QMenu" name="menuHelp"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
90 | <property name="title"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
91 | <string>Help</string> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
92 | </property> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
93 | <addaction name="actionAboutQt"/> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
94 | </widget> |
0 | 95 | <addaction name="menuFile"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
96 | <addaction name="menuView"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
97 | <addaction name="menuEdit"/> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
98 | <addaction name="menuHelp"/> |
0 | 99 | </widget> |
100 | <widget class="QStatusBar" name="statusbar"/> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
101 | <widget class="QToolBar" name="fileToolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
102 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
103 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
104 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
105 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
106 | <enum>TopToolBarArea</enum> |
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 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
109 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
110 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
111 | <addaction name="actionNew"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
112 | <addaction name="actionOpen"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
113 | <addaction name="actionSave"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
114 | <addaction name="actionSaveAs"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
115 | </widget> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
116 | <widget class="QToolBar" name="toolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
117 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
118 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
119 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
120 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
121 | <enum>TopToolBarArea</enum> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
122 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
123 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
124 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
125 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
126 | <addaction name="actionRenderStyleNormal"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
127 | <addaction name="actionRenderStyleBfc"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
128 | <addaction name="actionRenderStyleRandom"/> |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
129 | <addaction name="actionWireframe"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
130 | <addaction name="actionDrawAxes"/> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
131 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
132 | <widget class="QToolBar" name="editToolBar"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
133 | <property name="windowTitle"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
134 | <string>toolBar_2</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
135 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
136 | <attribute name="toolBarArea"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
137 | <enum>TopToolBarArea</enum> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
138 | </attribute> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
139 | <attribute name="toolBarBreak"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
140 | <bool>false</bool> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
141 | </attribute> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
142 | <addaction name="actionInvert"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
143 | <addaction name="actionDelete"/> |
175 | 144 | <addaction name="actionGridFine"/> |
145 | <addaction name="actionGridMedium"/> | |
146 | <addaction name="actionGridCoarse"/> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
147 | </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
|
148 | <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
|
149 | <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
|
150 | <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
|
151 | </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
|
152 | <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
|
153 | <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
|
154 | </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
|
155 | <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
|
156 | <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
|
157 | </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
|
158 | </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
|
159 | <widget class="QDockWidget" name="dockWidget_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
|
160 | <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
|
161 | <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
|
162 | </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
|
163 | <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
|
164 | <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
|
165 | </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
|
166 | <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
|
167 | <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
|
168 | <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
|
169 | <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
|
170 | </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
|
171 | </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
|
172 | </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
|
173 | </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
|
174 | <widget class="QDockWidget" name="dockWidget_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
|
175 | <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
|
176 | <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
|
177 | </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
|
178 | <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
|
179 | <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
|
180 | </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
|
181 | <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
|
182 | <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
|
183 | <item> |
204
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
184 | <widget class="QListView" name="modelListView"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
185 | <property name="alternatingRowColors"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
186 | <bool>true</bool> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
187 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
188 | <property name="selectionMode"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
189 | <enum>QAbstractItemView::ExtendedSelection</enum> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
190 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
191 | <property name="selectionBehavior"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
192 | <enum>QAbstractItemView::SelectRows</enum> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
193 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
194 | <property name="wordWrap"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
195 | <bool>true</bool> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
196 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
197 | <property name="selectionRectVisible"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
198 | <bool>true</bool> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
199 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
200 | </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
|
201 | </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
|
202 | </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
|
203 | </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
|
204 | </widget> |
0 | 205 | <action name="actionQuit"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
206 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
207 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
208 | <normaloff>:/icons/close.png</normaloff>:/icons/close.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
209 | </property> |
0 | 210 | <property name="text"> |
211 | <string>Quit</string> | |
212 | </property> | |
213 | </action> | |
3 | 214 | <action name="actionOpen"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
215 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
216 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
217 | <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
|
218 | </property> |
3 | 219 | <property name="text"> |
220 | <string>Open…</string> | |
221 | </property> | |
222 | <property name="shortcut"> | |
223 | <string>Ctrl+O</string> | |
224 | </property> | |
225 | </action> | |
5 | 226 | <action name="actionNew"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
227 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
228 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
229 | <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
|
230 | </property> |
3 | 231 | <property name="text"> |
5 | 232 | <string>New</string> |
3 | 233 | </property> |
234 | <property name="shortcut"> | |
235 | <string>Ctrl+N</string> | |
236 | </property> | |
237 | </action> | |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
238 | <action name="actionSettingsEditor"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
239 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
240 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
241 | <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
|
242 | </property> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
243 | <property name="text"> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
244 | <string>Preferences…</string> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
245 | </property> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
246 | </action> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
247 | <action name="actionRenderStyleNormal"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
248 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
249 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
250 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
251 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
252 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
253 | <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
|
254 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
255 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
256 | <string>Normal colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
257 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
258 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
259 | <action name="actionRenderStyleBfc"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
260 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
261 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
262 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
263 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
264 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
265 | <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
|
266 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
267 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
268 | <string>BFC color coding</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
269 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
270 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
271 | <action name="actionRenderStyleRandom"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
272 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
273 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
274 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
275 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
276 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
277 | <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
|
278 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
279 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
280 | <string>Random colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
281 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
282 | </action> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
283 | <action name="actionRenderStylePickScene"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
284 | <property name="checkable"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
285 | <bool>true</bool> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
286 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
287 | <property name="text"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
288 | <string>Pick scene colours</string> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
289 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
290 | </action> |
128
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
291 | <action name="actionAdjustGridToView"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
292 | <property name="text"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
293 | <string>Adjust grid to view</string> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
294 | </property> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
295 | <property name="shortcut"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
296 | <string>Ctrl+G</string> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
297 | </property> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
298 | </action> |
141 | 299 | <action name="actionSave"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
300 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
301 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
302 | <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
|
303 | </property> |
141 | 304 | <property name="text"> |
305 | <string>Save</string> | |
306 | </property> | |
307 | <property name="shortcut"> | |
308 | <string>Ctrl+S</string> | |
309 | </property> | |
310 | </action> | |
311 | <action name="actionSaveAs"> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
312 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
313 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
314 | <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
|
315 | </property> |
141 | 316 | <property name="text"> |
317 | <string>Save as…</string> | |
318 | </property> | |
319 | <property name="shortcut"> | |
320 | <string>Ctrl+Shift+S</string> | |
321 | </property> | |
322 | </action> | |
160 | 323 | <action name="actionClose"> |
324 | <property name="icon"> | |
325 | <iconset resource="../ldforge.qrc"> | |
326 | <normaloff>:/icons/close-circle-outline.png</normaloff>:/icons/close-circle-outline.png</iconset> | |
327 | </property> | |
328 | <property name="text"> | |
329 | <string>Close</string> | |
330 | </property> | |
331 | <property name="shortcut"> | |
332 | <string>Ctrl+W</string> | |
333 | </property> | |
334 | </action> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
335 | <action name="actionDelete"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
336 | <property name="icon"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
337 | <iconset resource="../ldforge.qrc"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
338 | <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
|
339 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
340 | <property name="text"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
341 | <string>Delete</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
342 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
343 | <property name="shortcut"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
344 | <string>Del</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
345 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
346 | </action> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
347 | <action name="actionDrawAxes"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
348 | <property name="checkable"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
349 | <bool>true</bool> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
350 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
351 | <property name="icon"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
352 | <iconset resource="../ldforge.qrc"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
353 | <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
|
354 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
355 | <property name="text"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
356 | <string>Draw axes</string> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
357 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
358 | </action> |
175 | 359 | <action name="actionGridFine"> |
360 | <property name="checkable"> | |
361 | <bool>true</bool> | |
362 | </property> | |
363 | <property name="text"> | |
364 | <string>Fine grid</string> | |
365 | </property> | |
366 | <property name="shortcut"> | |
367 | <string>Ctrl+1</string> | |
368 | </property> | |
369 | </action> | |
370 | <action name="actionGridMedium"> | |
371 | <property name="checkable"> | |
372 | <bool>true</bool> | |
373 | </property> | |
374 | <property name="text"> | |
375 | <string>Medium grid</string> | |
376 | </property> | |
377 | <property name="shortcut"> | |
378 | <string>Ctrl+2</string> | |
379 | </property> | |
380 | </action> | |
381 | <action name="actionGridCoarse"> | |
382 | <property name="checkable"> | |
383 | <bool>true</bool> | |
384 | </property> | |
385 | <property name="text"> | |
386 | <string>Coarse grid</string> | |
387 | </property> | |
388 | <property name="shortcut"> | |
389 | <string>Ctrl+3</string> | |
390 | </property> | |
391 | </action> | |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
392 | <action name="actionInvert"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
393 | <property name="icon"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
394 | <iconset resource="../ldforge.qrc"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
395 | <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
|
396 | </property> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
397 | <property name="text"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
398 | <string>Invert</string> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
399 | </property> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
400 | </action> |
229
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
401 | <action name="actionAboutQt"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
402 | <property name="text"> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
403 | <string>About Qt</string> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
404 | </property> |
38d86002d548
Add About Qt menu entry
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
204
diff
changeset
|
405 | </action> |
231
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
406 | <action name="actionWireframe"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
407 | <property name="checkable"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
408 | <bool>true</bool> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
409 | </property> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
410 | <property name="icon"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
411 | <iconset resource="../ldforge.qrc"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
412 | <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
|
413 | </property> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
414 | <property name="text"> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
415 | <string>Wireframe</string> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
416 | </property> |
a9bf6bab5ea2
Add wireframe button
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
229
diff
changeset
|
417 | </action> |
0 | 418 | </widget> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
419 | <resources> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
420 | <include location="../ldforge.qrc"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
421 | </resources> |
0 | 422 | <connections/> |
423 | </ui> |