digiKam
Loading...
Searching...
No Matches
imagequalitycontainer.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 : 2013-08-19
7 * Description : Image quality Settings Container.
8 *
9 * SPDX-FileCopyrightText: 2013-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 * SPDX-FileCopyrightText: 2021-2022 by Phuoc Khanh Le <phuockhanhnk94 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 <QDebug>
21
22// Local includes
23
24#include "digikam_export.h"
25
26class KConfigGroup;
27
28namespace Digikam
29{
30
31class DIGIKAM_EXPORT ImageQualityContainer
32{
33public:
34
38
39 ImageQualityContainer& operator=(const ImageQualityContainer& other);
40
41public:
42
43 void readFromConfig();
44 void readFromConfig(const KConfigGroup&);
45 void writeToConfig();
46 void writeToConfig(KConfigGroup&);
47
48public:
49
55
59
67};
68
70DIGIKAM_EXPORT QDebug operator<<(QDebug dbg, const ImageQualityContainer& s);
71
72} // namespace Digikam
Definition imagequalitycontainer.h:32
int exposureWeight
Item exposure level.
Definition imagequalitycontainer.h:66
int acceptedThreshold
Item accepted threshold.
Definition imagequalitycontainer.h:62
int compressionWeight
Item compression level.
Definition imagequalitycontainer.h:65
bool lowQRejected
Assign Rejected property to low quality.
Definition imagequalitycontainer.h:56
int blurWeight
Item blur level.
Definition imagequalitycontainer.h:63
int rejectedThreshold
Item rejection threshold.
Definition imagequalitycontainer.h:60
bool detectBlur
Enable image blur detection.
Definition imagequalitycontainer.h:50
bool detectCompression
Enable image compression detection.
Definition imagequalitycontainer.h:52
bool detectNoise
Enable image noise detection.
Definition imagequalitycontainer.h:51
int pendingThreshold
Item pending threshold.
Definition imagequalitycontainer.h:61
bool highQAccepted
Assign Accepted property to high quality.
Definition imagequalitycontainer.h:58
bool detectExposure
Enable image over and under exposure detection.
Definition imagequalitycontainer.h:53
bool mediumQPending
Assign Pending property to medium quality.
Definition imagequalitycontainer.h:57
bool detectAesthetic
Enable image aesthetic detection.
Definition imagequalitycontainer.h:54
int noiseWeight
Item noise level.
Definition imagequalitycontainer.h:64
Definition datefolderview.cpp:34
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition dbengineparameters.cpp:930