Erster Teststream absolviert. Positives Ergebnis
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QComboBox;
|
||||
class QCheckBox;
|
||||
class QDoubleSpinBox;
|
||||
class QSpinBox;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class DeviceDialog : public QDialog
|
||||
@@ -17,17 +20,35 @@ public:
|
||||
QString selectedVideoDevice() const;
|
||||
QString selectedAudioDevice() const;
|
||||
int selectedFps() const;
|
||||
bool selectedSmoothMode() const;
|
||||
bool selectedRetroMode() const;
|
||||
float selectedSharpenAmount() const;
|
||||
float selectedBrightness() const;
|
||||
int selectedHwContrast() const; // -1 = unverändert lassen
|
||||
int selectedHwSaturation() const; // -1 = unverändert lassen
|
||||
|
||||
void setPreselectedVideo(const QString& device);
|
||||
void setPreselectedAudio(const QString& device);
|
||||
void setPreselectedFps(int fps);
|
||||
void setPreselectedSmoothMode(bool enabled);
|
||||
void setPreselectedRetroMode(bool enabled);
|
||||
void setPreselectedSharpenAmount(float amount);
|
||||
void setPreselectedBrightness(float gamma);
|
||||
void setPreselectedHwContrast(int value); // -1 = unverändert
|
||||
void setPreselectedHwSaturation(int value); // -1 = unverändert
|
||||
|
||||
private:
|
||||
void populateVideoDevices();
|
||||
void populateAudioDevices();
|
||||
void selectByData(QComboBox* combo, const QString& data);
|
||||
|
||||
QComboBox* m_videoCombo = nullptr;
|
||||
QComboBox* m_audioCombo = nullptr;
|
||||
QComboBox* m_fpsCombo = nullptr;
|
||||
QComboBox* m_videoCombo = nullptr;
|
||||
QComboBox* m_audioCombo = nullptr;
|
||||
QComboBox* m_fpsCombo = nullptr;
|
||||
QCheckBox* m_smoothCheck = nullptr;
|
||||
QCheckBox* m_retroCheck = nullptr;
|
||||
QDoubleSpinBox* m_sharpenSpin = nullptr;
|
||||
QDoubleSpinBox* m_brightnessSpin = nullptr;
|
||||
QSpinBox* m_hwContrastSpin = nullptr;
|
||||
QSpinBox* m_hwSaturationSpin = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user