src/settingseditor/settingseditor.ui

Wed, 25 May 2022 20:36:34 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 25 May 2022 20:36:34 +0300
changeset 199
6988973515d2
parent 48
3c10f0e2fbe0
child 202
b05af0bab735
permissions
-rw-r--r--

Fix pick() picking from weird places on the screen with high DPI scaling

glReadPixels reads data from the frame buffer, which contains data after
high DPI scaling, so any reads to that need to take this scaling into account

7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
2 <ui version="4.0">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
3 <class>SettingsEditor</class>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
4 <widget class="QDialog" name="SettingsEditor">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
5 <property name="geometry">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
6 <rect>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
7 <x>0</x>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
8 <y>0</y>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
9 <width>574</width>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
10 <height>416</height>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
11 </rect>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
12 </property>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
13 <property name="windowTitle">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
14 <string>Dialog</string>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
15 </property>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
16 <layout class="QVBoxLayout" name="verticalLayout">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
17 <item>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
18 <widget class="QTabWidget" name="tabWidget">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
19 <property name="currentIndex">
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
20 <number>0</number>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
21 </property>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
22 <widget class="QWidget" name="tabGeneral">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
23 <attribute name="title">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
24 <string>General</string>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
25 </attribute>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
26 <layout class="QVBoxLayout" name="verticalLayout_3">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
27 <item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
28 <widget class="QGroupBox" name="groupBox">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
29 <property name="title">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
30 <string>Interface</string>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
31 </property>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
32 <layout class="QFormLayout" name="formLayout">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
33 <item row="0" column="0">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
34 <widget class="QLabel" name="label">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
35 <property name="text">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
36 <string>Language:</string>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
37 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
38 </widget>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
39 </item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
40 <item row="0" column="1">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
41 <layout class="QHBoxLayout" name="horizontalLayout_2">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
42 <item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
43 <widget class="QComboBox" name="language">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
44 <item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
45 <property name="text">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
46 <string>System language</string>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
47 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
48 </item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
49 <item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
50 <property name="text">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
51 <string>English</string>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
52 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
53 </item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
54 </widget>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
55 </item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
56 <item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
57 <spacer name="horizontalSpacer_2">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
58 <property name="orientation">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
59 <enum>Qt::Horizontal</enum>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
60 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
61 <property name="sizeHint" stdset="0">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
62 <size>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
63 <width>40</width>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
64 <height>20</height>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
65 </size>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
66 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
67 </spacer>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
68 </item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
69 </layout>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
70 </item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
71 </layout>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
72 </widget>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
73 </item>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
74 <item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
75 <widget class="QGroupBox" name="groupBox_2">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
76 <property name="title">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
77 <string>Rendering</string>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
78 </property>
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
79 <layout class="QHBoxLayout" name="horizontalLayout">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
80 <item>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
81 <layout class="QFormLayout" name="formLayout_2">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
82 <item row="0" column="0">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
83 <widget class="QLabel" name="label_2">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
84 <property name="text">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
85 <string>Main colour:</string>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
86 </property>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
87 </widget>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
88 </item>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
89 <item row="0" column="1">
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
90 <widget class="ColorButton" name="mainColorButton">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
91 <property name="text">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
92 <string/>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
93 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
94 </widget>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
95 </item>
48
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
96 <item row="2" column="0">
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
97 <widget class="QLabel" name="label_3">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
98 <property name="text">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
99 <string>Background colour:</string>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
100 </property>
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
101 </widget>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
102 </item>
48
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
103 <item row="2" column="1">
40
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
104 <widget class="ColorButton" name="backgroundColorButton">
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
105 <property name="text">
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
106 <string/>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
107 </property>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
108 </widget>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
109 </item>
48
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
110 <item row="4" column="0">
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
111 <widget class="QLabel" name="label_4">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
112 <property name="text">
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
113 <string>Line thickness:</string>
40
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
114 </property>
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
115 </widget>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
116 </item>
48
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
117 <item row="4" column="1">
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
118 <widget class="QDoubleSpinBox" name="lineThickness"/>
40
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
119 </item>
48
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
120 <item row="5" column="0">
45
272c84c7c87e added configurable line anti-aliasing
Teemu Piippo <teemu@hecknology.net>
parents: 44
diff changeset
121 <widget class="QCheckBox" name="lineAntiAliasing">
272c84c7c87e added configurable line anti-aliasing
Teemu Piippo <teemu@hecknology.net>
parents: 44
diff changeset
122 <property name="text">
272c84c7c87e added configurable line anti-aliasing
Teemu Piippo <teemu@hecknology.net>
parents: 44
diff changeset
123 <string>Line anti-aliasing</string>
272c84c7c87e added configurable line anti-aliasing
Teemu Piippo <teemu@hecknology.net>
parents: 44
diff changeset
124 </property>
272c84c7c87e added configurable line anti-aliasing
Teemu Piippo <teemu@hecknology.net>
parents: 44
diff changeset
125 </widget>
272c84c7c87e added configurable line anti-aliasing
Teemu Piippo <teemu@hecknology.net>
parents: 44
diff changeset
126 </item>
48
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
127 <item row="1" column="1">
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
128 <widget class="ColorButton" name="selectedColorButton">
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
129 <property name="text">
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
130 <string/>
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
131 </property>
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
132 </widget>
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
133 </item>
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
134 <item row="1" column="0">
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
135 <widget class="QLabel" name="label_5">
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
136 <property name="text">
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
137 <string>Selected colour:</string>
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
138 </property>
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
139 </widget>
3c10f0e2fbe0 added selection highlighting
Teemu Piippo <teemu@hecknology.net>
parents: 45
diff changeset
140 </item>
40
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
141 </layout>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
142 </item>
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
143 <item>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
144 <spacer name="horizontalSpacer_3">
40
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
145 <property name="orientation">
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
146 <enum>Qt::Horizontal</enum>
40
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
147 </property>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
148 <property name="sizeHint" stdset="0">
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
149 <size>
44
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
150 <width>316</width>
c6114b3af3a6 added configurable line thickness
Teemu Piippo <teemu@hecknology.net>
parents: 40
diff changeset
151 <height>20</height>
40
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
152 </size>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
153 </property>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
154 </spacer>
30cb5e836736 added configurable background color
Teemu Piippo <teemu@hecknology.net>
parents: 39
diff changeset
155 </item>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
156 </layout>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
157 </widget>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
158 </item>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
159 <item>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
160 <spacer name="verticalSpacer">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
161 <property name="orientation">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
162 <enum>Qt::Vertical</enum>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
163 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
164 <property name="sizeHint" stdset="0">
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
165 <size>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
166 <width>20</width>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
167 <height>40</height>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
168 </size>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
169 </property>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
170 </spacer>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
171 </item>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
172 </layout>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
173 </widget>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
174 <widget class="QWidget" name="tabLdrawLibraries">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
175 <attribute name="title">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
176 <string>LDraw parts libraries</string>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
177 </attribute>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
178 </widget>
16
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
179 <widget class="QWidget" name="tab">
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
180 <attribute name="title">
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
181 <string>Keyboard shortcuts</string>
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
182 </attribute>
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
183 <layout class="QVBoxLayout" name="verticalLayout_2">
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
184 <item>
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
185 <widget class="QTableView" name="keyboardShortcutsView"/>
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
186 </item>
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
187 </layout>
Teemu Piippo <teemu@hecknology.net>
parents: 7
diff changeset
188 </widget>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
189 </widget>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
190 </item>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
191 <item>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
192 <widget class="QDialogButtonBox" name="buttonBox">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
193 <property name="orientation">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
194 <enum>Qt::Horizontal</enum>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
195 </property>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
196 <property name="standardButtons">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
197 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
198 </property>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
199 </widget>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
200 </item>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
201 </layout>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
202 </widget>
39
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
203 <customwidgets>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
204 <customwidget>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
205 <class>ColorButton</class>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
206 <extends>QPushButton</extends>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
207 <header>widgets/colorbutton.h</header>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
208 </customwidget>
caac957e9834 Main color is now configurable
Teemu Piippo <teemu@hecknology.net>
parents: 16
diff changeset
209 </customwidgets>
7
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
210 <resources/>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
211 <connections>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
212 <connection>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
213 <sender>buttonBox</sender>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
214 <signal>accepted()</signal>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
215 <receiver>SettingsEditor</receiver>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
216 <slot>accept()</slot>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
217 <hints>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
218 <hint type="sourcelabel">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
219 <x>227</x>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
220 <y>394</y>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
221 </hint>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
222 <hint type="destinationlabel">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
223 <x>157</x>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
224 <y>274</y>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
225 </hint>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
226 </hints>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
227 </connection>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
228 <connection>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
229 <sender>buttonBox</sender>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
230 <signal>rejected()</signal>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
231 <receiver>SettingsEditor</receiver>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
232 <slot>reject()</slot>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
233 <hints>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
234 <hint type="sourcelabel">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
235 <x>295</x>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
236 <y>400</y>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
237 </hint>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
238 <hint type="destinationlabel">
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
239 <x>286</x>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
240 <y>274</y>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
241 </hint>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
242 </hints>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
243 </connection>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
244 </connections>
68443f5be176 added the settings editor
Teemu Piippo <teemu@hecknology.net>
parents:
diff changeset
245 </ui>

mercurial