digiKam
Loading...
Searching...
No Matches
setupversioning.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2010-08-06
7 * Description : setup tab for image versioning
8 *
9 * SPDX-FileCopyrightText: 2010 by Martin Klapetek <martin dot klapetek at gmail dot com>
10 * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Qt includes
19
20#include <QScrollArea>
21
22namespace Digikam
23{
24
25class SetupVersioning : public QScrollArea
26{
27 Q_OBJECT
28
29public:
30
31 explicit SetupVersioning(QWidget* const parent = nullptr);
32 ~SetupVersioning() override;
33
34 void applySettings();
35
36 static void losslessFormatToolTip(QString& formatHelp,
37 bool hasJXLSupport,
38 bool hasWEBPSupport,
39 bool hasAVIFSupport);
40
41private:
42
43 void readSettings();
44
45private Q_SLOTS:
46
47 void showNonDestructiveInformation();
48 void showFormatInformation();
49 void showSnapshotInformation();
50 void showViewInformation();
51 void enableToggled(bool);
52
53private:
54
55 class Private;
56 Private* const d = nullptr;
57};
58
59} // namespace Digikam
Definition setupversioning.h:26
static void losslessFormatToolTip(QString &formatHelp, bool hasJXLSupport, bool hasWEBPSupport, bool hasAVIFSupport)
Definition setupversioning.cpp:448
void applySettings()
Definition setupversioning.cpp:352
~SetupVersioning() override
Definition setupversioning.cpp:347
Definition datefolderview.cpp:34