mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 22:45:55 -04:00
* Add JSON string configuration field to RGBController to store device-specific configurations
* This JSON string holds both configuration and schema
* Add settings schema tracking to SettingsManager
* Implement dynamic settings widget that generates a settings UI based on a JSON schema
* Implement SettingsManager callback for notifying of settings changes and settings schema updates
* Always enable Entire Device zone option and use it to enable Edit Device
* Rename SaveSizes to SaveConfiguration in ProfileManager and Sizes.json to Configuration.json
* Add zone flag for indicating that a zone's geometry may change, informing profile manager to ignore this check
* Remove Theme setting and Theme Manager, as this didn't work on most setups anyways and Qt6 has proper Windows dark theming
70 lines
2.0 KiB
XML
70 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>OpenRGBDeviceEditorDialog</class>
|
|
<widget class="QDialog" name="OpenRGBDeviceEditorDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>400</width>
|
|
<height>300</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Device Editor</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="GroupBoxDeviceSpecificConfiguration">
|
|
<property name="title">
|
|
<string>Device-Specific Configuration</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QScrollArea" name="ScrollAreaDeviceConfiguration">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="ScrollAreaDeviceConfigurationWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>368</width>
|
|
<height>232</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="ScrollAreaDeviceConfigurationLayout"/>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QDialogButtonBox" name="ButtonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
<connections>
|
|
<connection>
|
|
<sender>ButtonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>OpenRGBDeviceEditorDialog</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>ButtonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>OpenRGBDeviceEditorDialog</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|