diff options
| author | Méven Car <[email protected]> | 2023-06-13 09:40:27 +0000 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-06-13 09:40:27 +0000 |
| commit | 3338c2834af81e00c3f2b73ad7061fefce89f226 (patch) | |
| tree | 79c6c332584c36391ba3691db41cf90fde91dab7 /src/settings/viewmodes/contentdisplaytab.h | |
| parent | d8bf2f3f19e95b27a81d22d4dc8b9774561cae6b (diff) | |
Settings Add ViewModes > Content display
This does not move the settings location in files though.
baby step for https://invent.kde.org/system/dolphin/-/issues/36
Diffstat (limited to 'src/settings/viewmodes/contentdisplaytab.h')
| -rw-r--r-- | src/settings/viewmodes/contentdisplaytab.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/settings/viewmodes/contentdisplaytab.h b/src/settings/viewmodes/contentdisplaytab.h new file mode 100644 index 000000000..5484bf413 --- /dev/null +++ b/src/settings/viewmodes/contentdisplaytab.h @@ -0,0 +1,39 @@ +/* + * SPDX-FileCopyrightText: 2023 Méven Car <[email protected]> + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ +#ifndef GENERALTAB_H +#define GENERALTAB_H + +#include "settings/settingspagebase.h" + +class QRadioButton; +class QSpinBox; + +class ContentDisplayTab : public SettingsPageBase +{ + Q_OBJECT + +public: + ContentDisplayTab(QWidget *parent); + +public: + // SettingsPageBase interface + void applySettings() override; + void restoreDefaults() override; + +private: + void loadSettings(); + + QRadioButton *m_numberOfItems; + QRadioButton *m_sizeOfContents; + QSpinBox *m_recursiveDirectorySizeLimit; + QRadioButton *m_useRelatetiveDates; + QRadioButton *m_useShortDates; + QRadioButton *m_useSymbolicPermissions; + QRadioButton *m_useNumericPermissions; + QRadioButton *m_useCombinedPermissions; +}; + +#endif // GENERALTAB_H |
