mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
refs #892, disable audio settings when no audio context is available
* Info for which machine audio setup is displayed * Obtain audio "location" * Remark: Audio can run on core and in GUI which is different from other contexts
This commit is contained in:
committed by
Mathew Sutcliffe
parent
891b67eccc
commit
7203655a05
@@ -2,6 +2,14 @@
|
||||
<ui version="4.0">
|
||||
<class>CAudioSetupComponent</class>
|
||||
<widget class="QFrame" name="CAudioSetupComponent">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>264</width>
|
||||
<height>359</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Audio setup</string>
|
||||
</property>
|
||||
@@ -27,6 +35,22 @@
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QWidget" name="wi_ExtraInfo" native="true">
|
||||
<layout class="QVBoxLayout" name="vl_ExtraInfo">
|
||||
<item>
|
||||
<widget class="QLabel" name="lbl_ExtraInfo">
|
||||
<property name="text">
|
||||
<string>Extra info goes here</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QFormLayout" name="fl_SetupAudio">
|
||||
<property name="sizeConstraint">
|
||||
@@ -112,7 +136,7 @@
|
||||
<item row="2" column="1">
|
||||
<widget class="QCheckBox" name="cb_SetupAudioLoopback">
|
||||
<property name="text">
|
||||
<string>Loopback, test sound input to output loop</string>
|
||||
<string>Loopback, test sound in- to output</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -120,6 +144,18 @@
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QGridLayout" name="gl_NotificationSounds">
|
||||
<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 row="0" column="1">
|
||||
<widget class="QLabel" name="lbl_NotificationSounds">
|
||||
<property name="text">
|
||||
|
||||
Reference in New Issue
Block a user