| 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 |
|
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
21 |
private: |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
22 |
QComboBox *m_backgroundColorCombo; |
| 4ae57f60 |
Poul Sander |
2026-02-25 21:35 |
23 |
QCheckBox *m_lockDockingCheck; |
| 10d6e6f8 |
Poul Sander |
2026-02-24 18:40 |
24 |
}; |
|
|
1970-01-01 00:00 |
25 |
|