Sun, 25 Jul 2021 16:26:38 +0300
replaced preview layers in favor of overpainting callback
0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ui version="4.0"> | |
3 | <class>MainWindow</class> | |
4 | <widget class="QMainWindow" name="MainWindow"> | |
5 | <property name="geometry"> | |
6 | <rect> | |
7 | <x>0</x> | |
8 | <y>0</y> | |
9 | <width>800</width> | |
10 | <height>600</height> | |
11 | </rect> | |
12 | </property> | |
13 | <property name="windowTitle"> | |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
14 | <string>LDForge</string> |
0 | 15 | </property> |
3 | 16 | <widget class="QWidget" name="centralwidget"> |
17 | <layout class="QVBoxLayout" name="verticalLayout"> | |
18 | <item> | |
19 | <widget class="QTabWidget" name="tabs"/> | |
20 | </item> | |
21 | </layout> | |
22 | </widget> | |
0 | 23 | <widget class="QMenuBar" name="menubar"> |
24 | <property name="geometry"> | |
25 | <rect> | |
26 | <x>0</x> | |
27 | <y>0</y> | |
28 | <width>800</width> | |
96 | 29 | <height>26</height> |
0 | 30 | </rect> |
31 | </property> | |
32 | <widget class="QMenu" name="menuFile"> | |
33 | <property name="title"> | |
34 | <string>File</string> | |
35 | </property> | |
9
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
36 | <widget class="QMenu" name="menuRecentFiles"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
37 | <property name="title"> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
38 | <string>Recent files</string> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
39 | </property> |
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
40 | </widget> |
5 | 41 | <addaction name="actionNew"/> |
3 | 42 | <addaction name="actionOpen"/> |
9
8b9780700b5e
added saving of splitter state and recent files
Teemu Piippo <teemu@hecknology.net>
parents:
7
diff
changeset
|
43 | <addaction name="menuRecentFiles"/> |
3 | 44 | <addaction name="separator"/> |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
45 | <addaction name="actionSettingsEditor"/> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
46 | <addaction name="separator"/> |
0 | 47 | <addaction name="actionQuit"/> |
48 | </widget> | |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
49 | <widget class="QMenu" name="menuView"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
50 | <property name="title"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
51 | <string>View</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
52 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
53 | <addaction name="actionRenderStyleNormal"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
54 | <addaction name="actionRenderStyleBfc"/> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
55 | <addaction name="actionRenderStyleRandom"/> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
56 | <addaction name="actionRenderStylePickScene"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
57 | </widget> |
0 | 58 | <addaction name="menuFile"/> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
59 | <addaction name="menuView"/> |
0 | 60 | </widget> |
61 | <widget class="QStatusBar" name="statusbar"/> | |
96 | 62 | <widget class="QToolBar" name="toolsBar"> |
63 | <property name="windowTitle"> | |
64 | <string>toolBar</string> | |
65 | </property> | |
66 | <attribute name="toolBarArea"> | |
67 | <enum>LeftToolBarArea</enum> | |
68 | </attribute> | |
69 | <attribute name="toolBarBreak"> | |
70 | <bool>false</bool> | |
71 | </attribute> | |
72 | </widget> | |
0 | 73 | <action name="actionQuit"> |
74 | <property name="text"> | |
75 | <string>Quit</string> | |
76 | </property> | |
77 | </action> | |
3 | 78 | <action name="actionOpen"> |
79 | <property name="text"> | |
80 | <string>Open…</string> | |
81 | </property> | |
82 | <property name="shortcut"> | |
83 | <string>Ctrl+O</string> | |
84 | </property> | |
85 | </action> | |
5 | 86 | <action name="actionNew"> |
3 | 87 | <property name="text"> |
5 | 88 | <string>New</string> |
3 | 89 | </property> |
90 | <property name="shortcut"> | |
91 | <string>Ctrl+N</string> | |
92 | </property> | |
93 | </action> | |
7
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
94 | <action name="actionSettingsEditor"> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
95 | <property name="text"> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
96 | <string>Preferences…</string> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
97 | </property> |
68443f5be176
added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
6
diff
changeset
|
98 | </action> |
36
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
99 | <action name="actionRenderStyleNormal"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
100 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
101 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
102 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
103 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
104 | <string>Normal colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
105 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
106 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
107 | <action name="actionRenderStyleBfc"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
108 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
109 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
110 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
111 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
112 | <string>BFC color coding</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
113 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
114 | </action> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
115 | <action name="actionRenderStyleRandom"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
116 | <property name="checkable"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
117 | <bool>true</bool> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
118 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
119 | <property name="text"> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
120 | <string>Random colours</string> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
121 | </property> |
bbb901b97404
added render style storage
Teemu Piippo <teemu@hecknology.net>
parents:
9
diff
changeset
|
122 | </action> |
79
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
123 | <action name="actionRenderStylePickScene"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
124 | <property name="checkable"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
125 | <bool>true</bool> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
126 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
127 | <property name="text"> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
128 | <string>Pick scene colours</string> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
129 | </property> |
5fe2dd4e161a
added a render style for pick scene
Teemu Piippo <teemu@hecknology.net>
parents:
36
diff
changeset
|
130 | </action> |
0 | 131 | </widget> |
132 | <resources/> | |
133 | <connections/> | |
134 | </ui> |