src/mainwindow.ui

Mon, 19 Jul 2021 23:41:52 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 19 Jul 2021 23:41:52 +0300
changeset 105
6ca6e8c647d4
parent 96
165777a20dc7
child 125
f127982d3412
permissions
-rw-r--r--

added preview layer code and fixed build warnings

0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 <ui version="4.0">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 <class>MainWindow</class>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 <widget class="QMainWindow" name="MainWindow">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 <property name="geometry">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 <rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 <x>0</x>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
8 <y>0</y>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
9 <width>800</width>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
10 <height>600</height>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
11 </rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
12 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
13 <property name="windowTitle">
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents: 6
diff changeset
14 <string>LDForge</string>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
15 </property>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
16 <widget class="QWidget" name="centralwidget">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
17 <layout class="QVBoxLayout" name="verticalLayout">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
18 <item>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
19 <widget class="QTabWidget" name="tabs"/>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
20 </item>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
21 </layout>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
22 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
23 <widget class="QMenuBar" name="menubar">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
24 <property name="geometry">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
25 <rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
26 <x>0</x>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
27 <y>0</y>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
28 <width>800</width>
96
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
29 <height>26</height>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
30 </rect>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
31 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
32 <widget class="QMenu" name="menuFile">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
33 <property name="title">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
34 <string>File</string>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
41 <addaction name="actionNew"/>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
47 <addaction name="actionQuit"/>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
58 <addaction name="menuFile"/>
36
bbb901b97404 added render style storage
Teemu Piippo <teemu@hecknology.net>
parents: 9
diff changeset
59 <addaction name="menuView"/>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
60 </widget>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
61 <widget class="QStatusBar" name="statusbar"/>
96
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
62 <widget class="QToolBar" name="toolsBar">
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
63 <property name="windowTitle">
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
64 <string>toolBar</string>
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
65 </property>
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
66 <attribute name="toolBarArea">
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
67 <enum>LeftToolBarArea</enum>
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
68 </attribute>
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
69 <attribute name="toolBarBreak">
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
70 <bool>false</bool>
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
71 </attribute>
165777a20dc7 added tool base code
Teemu Piippo <teemu@hecknology.net>
parents: 79
diff changeset
72 </widget>
0
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
73 <action name="actionQuit">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
74 <property name="text">
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
75 <string>Quit</string>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
76 </property>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
77 </action>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
78 <action name="actionOpen">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
79 <property name="text">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
80 <string>Open…</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
81 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
82 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
83 <string>Ctrl+O</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
84 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
85 </action>
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
86 <action name="actionNew">
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
87 <property name="text">
5
Teemu Piippo <teemu@hecknology.net>
parents: 3
diff changeset
88 <string>New</string>
3
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
89 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
90 <property name="shortcut">
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
91 <string>Ctrl+N</string>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
92 </property>
55a55a9ec2c2 Added lots of code
Teemu Piippo <teemu@hecknology.net>
parents: 0
diff changeset
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
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
131 </widget>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
132 <resources/>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
133 <connections/>
f9f4d4d6f162 initial commit
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
134 </ui>

mercurial