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;
4ae57f60 Poul Sander 2026-02-25 21:35 6
class QCheckBox;
10d6e6f8 Poul Sander 2026-02-24 18:40 7
10d6e6f8 Poul Sander 2026-02-24 18:40 8
class PreferencesDialog : public QDialog
10d6e6f8 Poul Sander 2026-02-24 18:40 9
{
10d6e6f8 Poul Sander 2026-02-24 18:40 10
    Q_OBJECT
10d6e6f8 Poul Sander 2026-02-24 18:40 11
10d6e6f8 Poul Sander 2026-02-24 18:40 12
public:
10d6e6f8 Poul Sander 2026-02-24 18:40 13
    explicit PreferencesDialog(QWidget *parent = nullptr);
10d6e6f8 Poul Sander 2026-02-24 18:40 14
10d6e6f8 Poul Sander 2026-02-24 18:40 15
    QString getBackgroundColor() const;
10d6e6f8 Poul Sander 2026-02-24 18:40 16
    void setBackgroundColor(const QString &color);
10d6e6f8 Poul Sander 2026-02-24 18:40 17
4ae57f60 Poul Sander 2026-02-25 21:35 18
    bool getLockDocking() const;
4ae57f60 Poul Sander 2026-02-25 21:35 19
    void setLockDocking(bool lock);
4ae57f60 Poul Sander 2026-02-25 21:35 20
7370f1c0 Poul Sander 2026-03-01 15:15 21
signals:
7370f1c0 Poul Sander 2026-03-01 15:15 22
    void resetLayoutRequested();
7370f1c0 Poul Sander 2026-03-01 15:15 23
10d6e6f8 Poul Sander 2026-02-24 18:40 24
private:
10d6e6f8 Poul Sander 2026-02-24 18:40 25
    QComboBox *m_backgroundColorCombo;
4ae57f60 Poul Sander 2026-02-25 21:35 26
    QCheckBox *m_lockDockingCheck;
10d6e6f8 Poul Sander 2026-02-24 18:40 27
};
1970-01-01 00:00 28