git repos / SagoImageBrowser

src/preferencesdialog.h

browsing at commit = 5810327788e8302a179558b0cb0ee9af4746358c

raw · blame · history

#pragma once

#include <QDialog>

class QComboBox;
class QCheckBox;

class PreferencesDialog : public QDialog
{
    Q_OBJECT

public:
    explicit PreferencesDialog(QWidget *parent = nullptr);

    QString getBackgroundColor() const;
    void setBackgroundColor(const QString &color);

    bool getLockDocking() const;
    void setLockDocking(bool lock);

signals:
    void resetLayoutRequested();

private:
    QComboBox *m_backgroundColorCombo;
    QCheckBox *m_lockDockingCheck;
};