┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/viewmodes/contentdisplaytab.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-06-28 09:49:46 +0200
committerMéven Car <[email protected]>2023-06-28 09:49:46 +0200
commitcd2e64154fd5446a7e19aff4cb147efe2f2ba31e (patch)
tree37f4e2c8644129f809a66fd2f6b2c9b28d52fed8 /src/settings/viewmodes/contentdisplaytab.h
parentdcd5c994bb1d331b94fdea8a5c6cd55a471b34b8 (diff)
parentea56e1f75eae435c18e3934c402c94ae76ec9c11 (diff)
Merge branch 'master' into kf6
Diffstat (limited to 'src/settings/viewmodes/contentdisplaytab.h')
-rw-r--r--src/settings/viewmodes/contentdisplaytab.h39
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