git repos / SagoImageBrowser

blame: src/preferencesdialog.h

normal view · raw

10d6e6f8 Poul Sander 2026-02-24 18:40 1
#pragma once
10d6e6f8 Poul Sander 2026-02-24 18:40 2
10d6e6f8 Poul Sander 2026-02-24 18:40 3
#include <QDialog>
10d6e6f8 Poul Sander 2026-02-24 18:40 4
10d6e6f8 Poul Sander 2026-02-24 18:40 5
class QComboBox;
10d6e6f8 Poul Sander 2026-02-24 18:40 6
10d6e6f8 Poul Sander 2026-02-24 18:40 7
class PreferencesDialog : public QDialog
10d6e6f8 Poul Sander 2026-02-24 18:40 8
{
10d6e6f8 Poul Sander 2026-02-24 18:40 9
    Q_OBJECT
10d6e6f8 Poul Sander 2026-02-24 18:40 10
10d6e6f8 Poul Sander 2026-02-24 18:40 11
public:
10d6e6f8 Poul Sander 2026-02-24 18:40 12
    explicit PreferencesDialog(QWidget *parent = nullptr);
10d6e6f8 Poul Sander 2026-02-24 18:40 13
10d6e6f8 Poul Sander 2026-02-24 18:40 14
    QString getBackgroundColor() const;
10d6e6f8 Poul Sander 2026-02-24 18:40 15
    void setBackgroundColor(const QString &color);
10d6e6f8 Poul Sander 2026-02-24 18:40 16
10d6e6f8 Poul Sander 2026-02-24 18:40 17
private:
10d6e6f8 Poul Sander 2026-02-24 18:40 18
    QComboBox *m_backgroundColorCombo;
10d6e6f8 Poul Sander 2026-02-24 18:40 19
};
1970-01-01 00:00 20