Bild weiter verbessert, Icon und .desktop hinzugefügt

This commit is contained in:
2026-10-17 23:39:50 +02:00
parent d1de850b60
commit 29a86d895a
20 changed files with 1086 additions and 14 deletions

View File

@@ -3,8 +3,11 @@
#include <QDialog>
#include <QString>
#include "Profile.h"
QT_BEGIN_NAMESPACE
class QComboBox;
class QPushButton;
class QCheckBox;
class QDoubleSpinBox;
class QSpinBox;
@@ -37,10 +40,20 @@ public:
void setPreselectedHwContrast(int value); // -1 = unverändert
void setPreselectedHwSaturation(int value); // -1 = unverändert
// Profile: aktueller Stand der Bild-Einstellungen im Dialog, und
// Profil-Auswahl passend zu den aktuellen Werten setzen (nach den
// setPreselected*-Aufrufen verwenden).
Profile currentProfile() const;
void refreshProfileSelection();
private:
void populateVideoDevices();
void populateAudioDevices();
void selectByData(QComboBox* combo, const QString& data);
void populateProfiles(const QString& select);
void loadProfileIntoControls(const QString& name);
void saveProfile();
void deleteProfile();
QComboBox* m_videoCombo = nullptr;
QComboBox* m_audioCombo = nullptr;
@@ -51,4 +64,8 @@ private:
QSpinBox* m_hwBrightnessSpin = nullptr;
QSpinBox* m_hwContrastSpin = nullptr;
QSpinBox* m_hwSaturationSpin = nullptr;
QComboBox* m_profileCombo = nullptr;
QPushButton* m_profileSaveBtn = nullptr;
QPushButton* m_profileDeleteBtn = nullptr;
bool m_loadingProfile = false;
};