Sat, 11 Jun 2022 14:30:30 +0300
Rewrite dependency loading
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"> |
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> | |
41 | <width>800</width> | |
204
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
42 | <height>28</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"/> |
128
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
73 | <addaction name="separator"/> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
74 | <addaction name="actionAdjustGridToView"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
75 | <addaction name="actionDrawAxes"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
76 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
77 | <widget class="QMenu" name="menuEdit"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
78 | <property name="title"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
79 | <string>Edit</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
80 | </property> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
81 | <addaction name="actionInvert"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
82 | <addaction name="actionDelete"/> |
175 | 83 | <addaction name="separator"/> |
84 | <addaction name="actionGridFine"/> | |
85 | <addaction name="actionGridMedium"/> | |
86 | <addaction name="actionGridCoarse"/> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
87 | </widget> |
0 | 88 | <addaction name="menuFile"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
89 | <addaction name="menuView"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
90 | <addaction name="menuEdit"/> |
0 | 91 | </widget> |
92 | <widget class="QStatusBar" name="statusbar"/> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
93 | <widget class="QToolBar" name="fileToolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
94 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
95 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
96 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
97 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
98 | <enum>TopToolBarArea</enum> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
99 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
100 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
101 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
102 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
103 | <addaction name="actionNew"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
104 | <addaction name="actionOpen"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
105 | <addaction name="actionSave"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
106 | <addaction name="actionSaveAs"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
107 | </widget> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
108 | <widget class="QToolBar" name="toolBar"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
109 | <property name="windowTitle"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
110 | <string>toolBar</string> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
111 | </property> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
112 | <attribute name="toolBarArea"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
113 | <enum>TopToolBarArea</enum> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
114 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
115 | <attribute name="toolBarBreak"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
116 | <bool>false</bool> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
117 | </attribute> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
118 | <addaction name="actionRenderStyleNormal"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
119 | <addaction name="actionRenderStyleBfc"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
120 | <addaction name="actionRenderStyleRandom"/> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
121 | <addaction name="actionDrawAxes"/> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
122 | </widget> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
123 | <widget class="QToolBar" name="editToolBar"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
124 | <property name="windowTitle"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
125 | <string>toolBar_2</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
126 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
127 | <attribute name="toolBarArea"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
128 | <enum>TopToolBarArea</enum> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
129 | </attribute> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
130 | <attribute name="toolBarBreak"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
131 | <bool>false</bool> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
132 | </attribute> |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
133 | <addaction name="actionInvert"/> |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
134 | <addaction name="actionDelete"/> |
175 | 135 | <addaction name="actionGridFine"/> |
136 | <addaction name="actionGridMedium"/> | |
137 | <addaction name="actionGridCoarse"/> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
138 | </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
|
139 | <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
|
140 | <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
|
141 | <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
|
142 | </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
|
143 | <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
|
144 | <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
|
145 | </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
|
146 | <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
|
147 | <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
|
148 | </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
|
149 | </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
|
150 | <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
|
151 | <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
|
152 | <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
|
153 | </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
|
154 | <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
|
155 | <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
|
156 | </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
|
157 | <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
|
158 | <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
|
159 | <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
|
160 | <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
|
161 | </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
|
162 | </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
|
163 | </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
|
164 | </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
|
165 | <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
|
166 | <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
|
167 | <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
|
168 | </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
|
169 | <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
|
170 | <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
|
171 | </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
|
172 | <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
|
173 | <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
|
174 | <item> |
204
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
175 | <widget class="QListView" name="modelListView"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
176 | <property name="alternatingRowColors"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
177 | <bool>true</bool> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
178 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
179 | <property name="selectionMode"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
180 | <enum>QAbstractItemView::ExtendedSelection</enum> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
181 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
182 | <property name="selectionBehavior"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
183 | <enum>QAbstractItemView::SelectRows</enum> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
184 | </property> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
185 | <property name="wordWrap"> |
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="selectionRectVisible"> |
52e10e8d88cc
Concentrate model editing into one coroutine inside main()
Teemu Piippo <teemu@hecknology.net>
parents:
203
diff
changeset
|
189 | <bool>true</bool> |
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 | </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
|
192 | </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
|
193 | </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
|
194 | </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
|
195 | </widget> |
0 | 196 | <action name="actionQuit"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
197 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
198 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
199 | <normaloff>:/icons/close.png</normaloff>:/icons/close.png</iconset> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
200 | </property> |
0 | 201 | <property name="text"> |
202 | <string>Quit</string> | |
203 | </property> | |
204 | </action> | |
3 | 205 | <action name="actionOpen"> |
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/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
|
209 | </property> |
3 | 210 | <property name="text"> |
211 | <string>Open…</string> | |
212 | </property> | |
213 | <property name="shortcut"> | |
214 | <string>Ctrl+O</string> | |
215 | </property> | |
216 | </action> | |
5 | 217 | <action name="actionNew"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
218 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
219 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
220 | <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
|
221 | </property> |
3 | 222 | <property name="text"> |
5 | 223 | <string>New</string> |
3 | 224 | </property> |
225 | <property name="shortcut"> | |
226 | <string>Ctrl+N</string> | |
227 | </property> | |
228 | </action> | |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
229 | <action name="actionSettingsEditor"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
230 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
231 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
232 | <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
|
233 | </property> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
234 | <property name="text"> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
235 | <string>Preferences…</string> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
236 | </property> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
237 | </action> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
238 | <action name="actionRenderStyleNormal"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
239 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
240 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
241 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
242 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
243 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
244 | <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
|
245 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
246 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
247 | <string>Normal colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
248 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
249 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
250 | <action name="actionRenderStyleBfc"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
251 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
252 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
253 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
254 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
255 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
256 | <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
|
257 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
258 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
259 | <string>BFC color coding</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
260 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
261 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
262 | <action name="actionRenderStyleRandom"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
263 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
264 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
265 | </property> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
266 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
267 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
268 | <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
|
269 | </property> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
270 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
271 | <string>Random colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
272 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
273 | </action> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
274 | <action name="actionRenderStylePickScene"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
275 | <property name="checkable"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
276 | <bool>true</bool> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
277 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
278 | <property name="text"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
279 | <string>Pick scene colours</string> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
280 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
281 | </action> |
128
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
282 | <action name="actionAdjustGridToView"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
283 | <property name="text"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
284 | <string>Adjust grid to view</string> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
285 | </property> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
286 | <property name="shortcut"> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
287 | <string>Ctrl+G</string> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
288 | </property> |
7c834fe36b25
Moved automatic grid adjusting into a new action
Teemu Piippo <teemu@hecknology.net>
parents:
125
diff
changeset
|
289 | </action> |
141 | 290 | <action name="actionSave"> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
291 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
292 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
293 | <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
|
294 | </property> |
141 | 295 | <property name="text"> |
296 | <string>Save</string> | |
297 | </property> | |
298 | <property name="shortcut"> | |
299 | <string>Ctrl+S</string> | |
300 | </property> | |
301 | </action> | |
302 | <action name="actionSaveAs"> | |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
303 | <property name="icon"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
304 | <iconset resource="../ldforge.qrc"> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
305 | <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
|
306 | </property> |
141 | 307 | <property name="text"> |
308 | <string>Save as…</string> | |
309 | </property> | |
310 | <property name="shortcut"> | |
311 | <string>Ctrl+Shift+S</string> | |
312 | </property> | |
313 | </action> | |
160 | 314 | <action name="actionClose"> |
315 | <property name="icon"> | |
316 | <iconset resource="../ldforge.qrc"> | |
317 | <normaloff>:/icons/close-circle-outline.png</normaloff>:/icons/close-circle-outline.png</iconset> | |
318 | </property> | |
319 | <property name="text"> | |
320 | <string>Close</string> | |
321 | </property> | |
322 | <property name="shortcut"> | |
323 | <string>Ctrl+W</string> | |
324 | </property> | |
325 | </action> | |
169
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
326 | <action name="actionDelete"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
327 | <property name="icon"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
328 | <iconset resource="../ldforge.qrc"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
329 | <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
|
330 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
331 | <property name="text"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
332 | <string>Delete</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
333 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
334 | <property name="shortcut"> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
335 | <string>Del</string> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
336 | </property> |
6da096930534
Added the delete action
Teemu Piippo <teemu@hecknology.net>
parents:
160
diff
changeset
|
337 | </action> |
170
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
338 | <action name="actionDrawAxes"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
339 | <property name="checkable"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
340 | <bool>true</bool> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
341 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
342 | <property name="icon"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
343 | <iconset resource="../ldforge.qrc"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
344 | <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
|
345 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
346 | <property name="text"> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
347 | <string>Draw axes</string> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
348 | </property> |
9b655f6fe5a1
Added a toggle for setting whether axes are drawn
Teemu Piippo <teemu@hecknology.net>
parents:
169
diff
changeset
|
349 | </action> |
175 | 350 | <action name="actionGridFine"> |
351 | <property name="checkable"> | |
352 | <bool>true</bool> | |
353 | </property> | |
354 | <property name="text"> | |
355 | <string>Fine grid</string> | |
356 | </property> | |
357 | <property name="shortcut"> | |
358 | <string>Ctrl+1</string> | |
359 | </property> | |
360 | </action> | |
361 | <action name="actionGridMedium"> | |
362 | <property name="checkable"> | |
363 | <bool>true</bool> | |
364 | </property> | |
365 | <property name="text"> | |
366 | <string>Medium grid</string> | |
367 | </property> | |
368 | <property name="shortcut"> | |
369 | <string>Ctrl+2</string> | |
370 | </property> | |
371 | </action> | |
372 | <action name="actionGridCoarse"> | |
373 | <property name="checkable"> | |
374 | <bool>true</bool> | |
375 | </property> | |
376 | <property name="text"> | |
377 | <string>Coarse grid</string> | |
378 | </property> | |
379 | <property name="shortcut"> | |
380 | <string>Ctrl+3</string> | |
381 | </property> | |
382 | </action> | |
183
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
383 | <action name="actionInvert"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
384 | <property name="icon"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
385 | <iconset resource="../ldforge.qrc"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
386 | <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
|
387 | </property> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
388 | <property name="text"> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
389 | <string>Invert</string> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
390 | </property> |
97b591813c8b
- Add editors for string and bool properties
Teemu Piippo <teemu@hecknology.net>
parents:
175
diff
changeset
|
391 | </action> |
0 | 392 | </widget> |
158
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
393 | <resources> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
394 | <include location="../ldforge.qrc"/> |
5bd755eaa5a8
Add icons from ionicons
Teemu Piippo <teemu@hecknology.net>
parents:
141
diff
changeset
|
395 | </resources> |
0 | 396 | <connections/> |
397 | </ui> |