| 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; |
| 459bad0f |
Poul Sander |
2026-05-17 14:11 |
7 |
class QSpinBox; |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
8 |
|
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
9 |
class PreferencesDialog : public QDialog |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
10 |
{ |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
11 |
Q_OBJECT |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
12 |
|
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
13 |
public: |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
14 |
explicit PreferencesDialog(QWidget *parent = nullptr); |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
15 |
|
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
16 |
QString getBackgroundColor() const; |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
17 |
void setBackgroundColor(const QString &color); |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
18 |
|
| 459bad0f |
Poul Sander |
2026-05-17 14:11 |
19 |
int getCacheSize() const; |
| 459bad0f |
Poul Sander |
2026-05-17 14:11 |
20 |
void setCacheSize(int n); |
| 459bad0f |
Poul Sander |
2026-05-17 14:11 |
21 |
|
| ac476ca8 |
Poul Sander |
2026-05-18 16:47 |
22 |
QString getThumbnailCacheSize() const; |
| ac476ca8 |
Poul Sander |
2026-05-18 16:47 |
23 |
void setThumbnailCacheSize(const QString &size); |
| ac476ca8 |
Poul Sander |
2026-05-18 16:47 |
24 |
|
| 4ae57f60 |
Poul Sander |
2026-02-25 21:35 |
25 |
bool getLockDocking() const; |
| 4ae57f60 |
Poul Sander |
2026-02-25 21:35 |
26 |
void setLockDocking(bool lock); |
| 4ae57f60 |
Poul Sander |
2026-02-25 21:35 |
27 |
|
| d1aa6cbe |
Poul Sander |
2026-03-02 16:57 |
28 |
bool getResetLayout() const; |
| d1aa6cbe |
Poul Sander |
2026-03-02 16:57 |
29 |
void setResetLayout(bool reset); |
| d1aa6cbe |
Poul Sander |
2026-03-02 16:57 |
30 |
|
| 7370f1c0 |
Poul Sander |
2026-03-01 15:15 |
31 |
signals: |
| 7370f1c0 |
Poul Sander |
2026-03-01 15:15 |
32 |
void resetLayoutRequested(); |
| 7370f1c0 |
Poul Sander |
2026-03-01 15:15 |
33 |
|
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
34 |
private: |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
35 |
QComboBox *m_backgroundColorCombo; |
| 459bad0f |
Poul Sander |
2026-05-17 14:11 |
36 |
QSpinBox *m_cacheSizeSpinBox; |
| ac476ca8 |
Poul Sander |
2026-05-18 16:47 |
37 |
QComboBox *m_thumbnailSizeCombo; |
| 4ae57f60 |
Poul Sander |
2026-02-25 21:35 |
38 |
QCheckBox *m_lockDockingCheck; |
| d1aa6cbe |
Poul Sander |
2026-03-02 16:57 |
39 |
QCheckBox *m_resetLayoutCheck; |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
40 |
}; |
|
|
1970-01-01 00:00 |
41 |
|