mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
267 lines
9.0 KiB
XML
267 lines
9.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AVSettings</class>
|
|
<widget class="QWidget" name="AVSettings">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>842</width>
|
|
<height>507</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string notr="true">Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>808</width>
|
|
<height>618</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
<item>
|
|
<widget class="QGroupBox" name="audioGroup">
|
|
<property name="title">
|
|
<string>Audio Settings</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="microphoneLabel">
|
|
<property name="text">
|
|
<string>Microphone</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="playbackLabel">
|
|
<property name="text">
|
|
<string>Playback</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSlider" name="playbackSlider">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Use slider to set volume of your speakers.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QSlider" name="microphoneSlider">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Use slider to set volume of your microphone.
|
|
WARNING: slider is not supposed to work yet.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="outDevLabel">
|
|
<property name="text">
|
|
<string>Playback device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="inDevLabel">
|
|
<property name="text">
|
|
<string>Capture device</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QComboBox" name="inDevCombobox"/>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QComboBox" name="outDevCombobox"/>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="rescanButton">
|
|
<property name="text">
|
|
<string>Rescan audio devices</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QCheckBox" name="filterAudio">
|
|
<property name="text">
|
|
<string>Filter audio</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Filter sound from your microphone, so that people hearing you would get better sound.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="videoGroup">
|
|
<property name="title">
|
|
<string>Video Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="resolutionLabel">
|
|
<property name="text">
|
|
<string>Resolution</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set resolution of your camera.
|
|
The higher values, the better video quality your friends may get.
|
|
Note though that with better video quality there is needed better internet connection.
|
|
Sometimes your connection may not be good enough to handle higher video quality,
|
|
which may lead to problems with video calls.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QComboBox" name="videoModescomboBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Set resolution of your camera.
|
|
The higher values, the better video quality your friends may get.
|
|
Note though that with better video quality there is needed better internet connection.
|
|
Sometimes your connection may not be good enough to handle higher video quality,
|
|
which may lead to problems with video calls.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="hueLabel">
|
|
<property name="text">
|
|
<string>Hue</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSlider" name="HueSlider">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="brightnessLabel">
|
|
<property name="text">
|
|
<string>Brightness</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QSlider" name="BrightnessSlider">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="saturationLabel">
|
|
<property name="text">
|
|
<string>Saturation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSlider" name="SaturationSlider">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="contrastLabel">
|
|
<property name="text">
|
|
<string>Contrast</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QSlider" name="ContrastSlider">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="CamFrame">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>1</horstretch>
|
|
<verstretch>99</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="VideoSurface" name="CamVideoSurface" native="true">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>160</width>
|
|
<height>120</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>VideoSurface</class>
|
|
<extends>QWidget</extends>
|
|
<header>src/widget/videosurface.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|