mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
issue 960
This commit is contained in:
parent
33b32bcc33
commit
0e0e1fe83c
|
@ -238,3 +238,23 @@ void AVForm::onFilterAudioToggled(bool filterAudio)
|
|||
{
|
||||
Settings::getInstance().setFilterAudio(filterAudio);
|
||||
}
|
||||
|
||||
void AVForm::on_HueSlider_valueChanged(int value)
|
||||
{
|
||||
Camera::getInstance()->setProp(Camera::HUE, value / 100.0);
|
||||
}
|
||||
|
||||
void AVForm::on_BrightnessSlider_valueChanged(int value)
|
||||
{
|
||||
Camera::getInstance()->setProp(Camera::BRIGHTNESS, value / 100.0);
|
||||
}
|
||||
|
||||
void AVForm::on_SaturationSlider_valueChanged(int value)
|
||||
{
|
||||
Camera::getInstance()->setProp(Camera::SATURATION, value / 100.0);
|
||||
}
|
||||
|
||||
void AVForm::on_ContrastSlider_valueChanged(int value)
|
||||
{
|
||||
Camera::getInstance()->setProp(Camera::CONTRAST, value / 100.0);
|
||||
}
|
||||
|
|
|
@ -61,6 +61,14 @@ private slots:
|
|||
virtual void hideEvent(QHideEvent*);
|
||||
virtual void showEvent(QShowEvent*);
|
||||
|
||||
void on_HueSlider_valueChanged(int value);
|
||||
|
||||
void on_BrightnessSlider_valueChanged(int value);
|
||||
|
||||
void on_SaturationSlider_valueChanged(int value);
|
||||
|
||||
void on_ContrastSlider_valueChanged(int value);
|
||||
|
||||
private:
|
||||
Ui::AVSettings *bodyUI;
|
||||
VideoSurface* camView;
|
||||
|
|
Loading…
Reference in New Issue
Block a user