25 #ifndef DIGIKAM_ICC_SETTINGS_CONTAINER_H
26 #define DIGIKAM_ICC_SETTINGS_CONTAINER_H
56 UseEmbeddedProfile = 1 << 0,
58 UseWorkspace = 1 << 2,
59 UseDefaultInputProfile = 1 << 3,
60 UseSpecifiedProfile = 1 << 4,
61 AutomaticColors = 1 << 5,
62 DoNotInterpret = 1 << 6,
66 KeepProfile = 1 << 10,
67 ConvertToWorkspace = 1 << 11,
71 LeaveFileUntagged = 1 << 18,
74 SafestBestAction = 1 << 21,
78 PreserveEmbeddedProfile = UseEmbeddedProfile | KeepProfile,
79 EmbeddedToWorkspace = UseEmbeddedProfile | ConvertToWorkspace,
80 SRGBToWorkspace = UseSRGB | ConvertToWorkspace,
81 AutoToWorkspace = AutomaticColors | ConvertToWorkspace,
82 InputToWorkspace = UseDefaultInputProfile | ConvertToWorkspace,
83 SpecifiedToWorkspace = UseSpecifiedProfile | ConvertToWorkspace,
84 NoColorManagement = DoNotInterpret | LeaveFileUntagged
86 Q_DECLARE_FLAGS(Behavior, BehaviorEnum)
93 void readFromConfig(KConfigGroup& group);
94 void writeToConfig(KConfigGroup& group)
const;
95 void writeManagedViewToConfig(KConfigGroup& group)
const;
96 void writeManagedPreviewsToConfig(KConfigGroup& group)
const;
133 QString getProfilePath(KConfigGroup& group,
const char* key)
const;
138 Q_DECLARE_OPERATORS_FOR_FLAGS(Digikam::ICCSettingsContainer::Behavior)
Definition: iccsettingscontainer.h:44
BehaviorEnum
Definition: iccsettingscontainer.h:49
bool useBPC
Definition: iccsettingscontainer.h:123
Behavior lastMismatchBehavior
Definition: iccsettingscontainer.h:110
bool useManagedView
Definition: iccsettingscontainer.h:116
QString iccFolder
Definition: iccsettingscontainer.h:102
~ICCSettingsContainer()
Definition: iccsettingscontainer.h:91
bool useManagedPreviews
Definition: iccsettingscontainer.h:117
Behavior lastUncalibratedBehavior
Definition: iccsettingscontainer.h:112
Behavior defaultMissingProfileBehavior
Definition: iccsettingscontainer.h:107
Behavior defaultMismatchBehavior
Definition: iccsettingscontainer.h:106
Behavior defaultUncalibratedBehavior
Definition: iccsettingscontainer.h:108
int proofingRenderingIntent
Settings specific for soft proofing.
Definition: iccsettingscontainer.h:127
QString defaultInputProfile
Definition: iccsettingscontainer.h:120
QColor gamutCheckMaskColor
Definition: iccsettingscontainer.h:129
int renderingIntent
Definition: iccsettingscontainer.h:124
int doGamutCheck
Definition: iccsettingscontainer.h:128
QString lastSpecifiedInputProfile
Definition: iccsettingscontainer.h:114
QString lastSpecifiedAssignProfile
Definition: iccsettingscontainer.h:113
QString workspaceProfile
Definition: iccsettingscontainer.h:104
QString defaultProofProfile
Definition: iccsettingscontainer.h:121
QString monitorProfile
Definition: iccsettingscontainer.h:118
Behavior lastMissingProfileBehavior
Definition: iccsettingscontainer.h:111
bool enableCM
Definition: iccsettingscontainer.h:100
Definition: datefolderview.cpp:43