Skip to content

Commit 156ebbc

Browse files
Make settings page scrollable
1 parent 8af4909 commit 156ebbc

File tree

1 file changed

+149
-130
lines changed

1 file changed

+149
-130
lines changed

qt/OpenRGBSettingsPage.ui

Lines changed: 149 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -14,138 +14,157 @@
1414
<string>Form</string>
1515
</property>
1616
<layout class="QGridLayout" name="gridLayout">
17-
<item row="11" column="1">
18-
<widget class="QCheckBox" name="CheckboxAutoStartSetServerPort">
19-
<property name="text">
20-
<string>Set Server Port</string>
21-
</property>
22-
</widget>
23-
</item>
24-
<item row="18" column="1">
25-
<spacer name="verticalSpacer">
26-
<property name="orientation">
27-
<enum>Qt::Vertical</enum>
28-
</property>
29-
<property name="sizeType">
30-
<enum>QSizePolicy::MinimumExpanding</enum>
31-
</property>
32-
<property name="sizeHint" stdset="0">
33-
<size>
34-
<width>20</width>
35-
<height>40</height>
36-
</size>
37-
</property>
38-
</spacer>
39-
</item>
40-
<item row="0" column="1">
41-
<widget class="QLabel" name="ThemeLabel">
42-
<property name="text">
43-
<string>Theme</string>
44-
</property>
45-
</widget>
46-
</item>
47-
<item row="15" column="6">
48-
<widget class="QComboBox" name="ComboBoxAutoStartProfile"/>
49-
</item>
50-
<item row="0" column="6">
51-
<widget class="QComboBox" name="ComboBoxTheme"/>
52-
</item>
53-
<item row="3" column="1">
54-
<widget class="QCheckBox" name="CheckboxMinimizeOnClose">
55-
<property name="text">
56-
<string>Minimize On Close</string>
57-
</property>
58-
</widget>
59-
</item>
60-
<item row="10" column="1">
61-
<widget class="QCheckBox" name="CheckboxAutoStartServer">
62-
<property name="text">
63-
<string>Start Server</string>
64-
</property>
65-
</widget>
66-
</item>
67-
<item row="7" column="1">
68-
<widget class="QCheckBox" name="CheckboxAutoStart">
69-
<property name="text">
70-
<string>Start At Login</string>
71-
</property>
72-
</widget>
73-
</item>
74-
<item row="11" column="6">
75-
<widget class="QLineEdit" name="TextServerPort">
76-
<property name="inputMask">
77-
<string>90000</string>
78-
</property>
79-
<property name="text">
80-
<string/>
81-
</property>
82-
<property name="placeholderText">
83-
<string/>
84-
</property>
85-
</widget>
86-
</item>
87-
<item row="15" column="1">
88-
<widget class="QCheckBox" name="CheckboxAutoStartProfile">
89-
<property name="text">
90-
<string>Load Profile</string>
91-
</property>
17+
<item row="0" column="1" colspan="6">
18+
<widget class="QScrollArea" name="scrollArea">
19+
<property name="widgetResizable">
20+
<bool>true</bool>
21+
</property>
22+
<widget class="QWidget" name="scrollAreaWidgetContents_2">
23+
<property name="geometry">
24+
<rect>
25+
<x>0</x>
26+
<y>0</y>
27+
<width>412</width>
28+
<height>480</height>
29+
</rect>
30+
</property>
31+
<layout class="QGridLayout" name="gridLayout_3">
32+
<item row="5" column="0">
33+
<widget class="QCheckBox" name="CheckboxSaveGeometry">
34+
<property name="text">
35+
<string>Save Geometry On Close</string>
36+
</property>
37+
</widget>
38+
</item>
39+
<item row="13" column="0">
40+
<widget class="QCheckBox" name="CheckboxAutoStartProfile">
41+
<property name="text">
42+
<string>Load Profile</string>
43+
</property>
44+
</widget>
45+
</item>
46+
<item row="12" column="1">
47+
<widget class="QLineEdit" name="TextCustomArgs"/>
48+
</item>
49+
<item row="2" column="1">
50+
<widget class="QComboBox" name="ComboBoxTheme"/>
51+
</item>
52+
<item row="10" column="1">
53+
<widget class="QLineEdit" name="TextServerPort">
54+
<property name="inputMask">
55+
<string>90000</string>
56+
</property>
57+
<property name="text">
58+
<string/>
59+
</property>
60+
<property name="placeholderText">
61+
<string/>
62+
</property>
63+
</widget>
64+
</item>
65+
<item row="3" column="0">
66+
<widget class="QCheckBox" name="CheckboxMinimizeOnClose">
67+
<property name="text">
68+
<string>Minimize On Close</string>
69+
</property>
70+
</widget>
71+
</item>
72+
<item row="7" column="0">
73+
<widget class="QLabel" name="AutoStartLabel">
74+
<property name="text">
75+
<string>Start At Login Settings:</string>
76+
</property>
77+
</widget>
78+
</item>
79+
<item row="10" column="0">
80+
<widget class="QCheckBox" name="CheckboxAutoStartSetServerPort">
81+
<property name="text">
82+
<string>Set Server Port</string>
83+
</property>
84+
</widget>
85+
</item>
86+
<item row="2" column="0">
87+
<widget class="QLabel" name="ThemeLabel">
88+
<property name="text">
89+
<string>Theme</string>
90+
</property>
91+
</widget>
92+
</item>
93+
<item row="6" column="0">
94+
<widget class="QCheckBox" name="CheckboxAutoStart">
95+
<property name="text">
96+
<string>Start At Login</string>
97+
</property>
98+
</widget>
99+
</item>
100+
<item row="12" column="0">
101+
<widget class="QCheckBox" name="CheckboxAutoStartCustom">
102+
<property name="text">
103+
<string>Custom Arguments</string>
104+
</property>
105+
</widget>
106+
</item>
107+
<item row="8" column="0">
108+
<widget class="QCheckBox" name="CheckboxAutoStartMinimized">
109+
<property name="text">
110+
<string>Start Minimized</string>
111+
</property>
112+
</widget>
113+
</item>
114+
<item row="14" column="0">
115+
<widget class="QLabel" name="AutoStartStatusLabel">
116+
<property name="text">
117+
<string>Start at Login Status</string>
118+
</property>
119+
</widget>
120+
</item>
121+
<item row="11" column="1">
122+
<widget class="QLineEdit" name="TextClientHost"/>
123+
</item>
124+
<item row="11" column="0">
125+
<widget class="QCheckBox" name="CheckboxAutoStartClient">
126+
<property name="text">
127+
<string>Start Client</string>
128+
</property>
129+
</widget>
130+
</item>
131+
<item row="13" column="1">
132+
<widget class="QComboBox" name="ComboBoxAutoStartProfile"/>
133+
</item>
134+
<item row="9" column="0">
135+
<widget class="QCheckBox" name="CheckboxAutoStartServer">
136+
<property name="text">
137+
<string>Start Server</string>
138+
</property>
139+
</widget>
140+
</item>
141+
<item row="4" column="0">
142+
<widget class="QCheckBox" name="CheckboxLoadGeometry">
143+
<property name="text">
144+
<string>Load Window Geometry</string>
145+
</property>
146+
</widget>
147+
</item>
148+
<item row="15" column="0">
149+
<spacer name="verticalSpacer">
150+
<property name="orientation">
151+
<enum>Qt::Vertical</enum>
152+
</property>
153+
<property name="sizeType">
154+
<enum>QSizePolicy::MinimumExpanding</enum>
155+
</property>
156+
<property name="sizeHint" stdset="0">
157+
<size>
158+
<width>20</width>
159+
<height>40</height>
160+
</size>
161+
</property>
162+
</spacer>
163+
</item>
164+
</layout>
165+
</widget>
92166
</widget>
93167
</item>
94-
<item row="13" column="1">
95-
<widget class="QCheckBox" name="CheckboxAutoStartClient">
96-
<property name="text">
97-
<string>Start Client</string>
98-
</property>
99-
</widget>
100-
</item>
101-
<item row="9" column="1">
102-
<widget class="QCheckBox" name="CheckboxAutoStartMinimized">
103-
<property name="text">
104-
<string>Start Minimized</string>
105-
</property>
106-
</widget>
107-
</item>
108-
<item row="6" column="1">
109-
<widget class="QCheckBox" name="CheckboxSaveGeometry">
110-
<property name="text">
111-
<string>Save Geometry On Close</string>
112-
</property>
113-
</widget>
114-
</item>
115-
<item row="17" column="1">
116-
<widget class="QLabel" name="AutoStartStatusLabel">
117-
<property name="text">
118-
<string>Start at Login Status</string>
119-
</property>
120-
</widget>
121-
</item>
122-
<item row="8" column="1">
123-
<widget class="QLabel" name="AutoStartLabel">
124-
<property name="text">
125-
<string>Start At Login Settings:</string>
126-
</property>
127-
</widget>
128-
</item>
129-
<item row="13" column="6">
130-
<widget class="QLineEdit" name="TextClientHost"/>
131-
</item>
132-
<item row="4" column="1">
133-
<widget class="QCheckBox" name="CheckboxLoadGeometry">
134-
<property name="text">
135-
<string>Load Window Geometry</string>
136-
</property>
137-
</widget>
138-
</item>
139-
<item row="14" column="1">
140-
<widget class="QCheckBox" name="CheckboxAutoStartCustom">
141-
<property name="text">
142-
<string>Custom Arguments</string>
143-
</property>
144-
</widget>
145-
</item>
146-
<item row="14" column="6">
147-
<widget class="QLineEdit" name="TextCustomArgs"/>
148-
</item>
149168
</layout>
150169
</widget>
151170
<resources/>

0 commit comments

Comments
 (0)