Settings page, themes and cut path check for future updates. Volume now saved to config.

This commit is contained in:
BarsTiger
2022-11-29 23:27:20 +02:00
parent e9b7f1fdc1
commit 4d698235a1
14 changed files with 374 additions and 15 deletions

View File

@@ -697,7 +697,242 @@ QListWidget:item:selected {
<widget class="QWidget" name="stream_page"/>
<widget class="QWidget" name="collab_page"/>
<widget class="QWidget" name="download_page"/>
<widget class="QWidget" name="settings_page"/>
<widget class="QWidget" name="settings_page">
<layout class="QVBoxLayout" name="settings_page_lay">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QTabWidget" name="settings_tabs_widget">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="audio_devices_settings_tab">
<attribute name="title">
<string>Audio</string>
</attribute>
<layout class="QVBoxLayout" name="audio_devices_settings_tab_lay">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="play_options_group">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Play options</string>
</property>
<layout class="QVBoxLayout" name="play_options_group_lay">
<property name="topMargin">
<number>5</number>
</property>
<item>
<widget class="QLabel" name="output_device_play_label">
<property name="text">
<string>Output device (or virtual mic input)</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="output_device_play_box">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="preview_device_play_label">
<property name="text">
<string>Preview device (your headphones)</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="preview_device_play_box">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item alignment="Qt::AlignTop">
<widget class="QGroupBox" name="restream_options_group">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Microphone restream options</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="topMargin">
<number>5</number>
</property>
<item>
<widget class="QCheckBox" name="restream_micro_checkbox">
<property name="text">
<string>Restream microphone</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="input_device_restream_label">
<property name="text">
<string>Input microphone</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="input_device_restream_box">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="output_device_restream_label">
<property name="text">
<string>Output device (virtual mic input)</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="output_device_restream_box">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="audio_devices_settings_tab_spacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="general_settings_tab">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QVBoxLayout" name="general_settings_tab_lay">
<property name="leftMargin">
<number>3</number>
</property>
<property name="topMargin">
<number>3</number>
</property>
<property name="rightMargin">
<number>3</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<widget class="QLabel" name="theme_label">
<property name="text">
<string> App theme (restart needed)</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="theme_box">
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<item>
<property name="text">
<string>Dark gray</string>
</property>
</item>
<item>
<property name="text">
<string>Black</string>
</property>
</item>
<item>
<property name="text">
<string>Black acrylic</string>
</property>
</item>
</widget>
</item>
<item>
<spacer name="general_settings_tab_spacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
@@ -806,13 +1041,6 @@ QListWidget:item:selected {
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="player_track_label">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>