33
33
sysProfilesLayout->setSpacing( 5 );
34
34
sysProfilesLayout->setMargin( 10 );
36
ProfilesL::Iterator it;
36
// ProfilesL::Iterator it;
38
inputP = new QComboBox( true, sysProfiles, "InputP" );
39
inputP->setMinimumSize( QSize( 190, 22 ) );
40
inputP->setEditable(false);
41
for (it = InputProfiles->begin(); it != InputProfiles->end(); ++it)
38
inputPRGBIm = new QComboBox( true, sysProfiles, "InputP" );
39
inputPRGBIm->setMinimumSize( QSize( 190, 22 ) );
40
inputPRGBIm->setEditable(false);
41
/* for (it = InputProfiles->begin(); it != InputProfiles->end(); ++it)
43
inputP->insertItem(it.key());
44
if (it.key() == Vor->DefaultImageRGBProfile)
45
inputP->setCurrentItem(inputP->count()-1);
47
text1 = new QLabel( inputP, tr( "&RGB Pictures:" ), sysProfiles, "Text1" );
43
inputPRGBIm->insertItem(it.key());
44
if (it.key() == prefs->DefaultImageRGBProfile)
45
inputPRGBIm->setCurrentItem(inputPRGBIm->count()-1);
47
text1 = new QLabel( inputPRGBIm, tr( "&RGB Pictures:" ), sysProfiles, "Text1" );
48
48
sysProfilesLayout->addWidget( text1, 0, 0 );
49
sysProfilesLayout->addWidget( inputP, 0, 1 );
49
sysProfilesLayout->addWidget( inputPRGBIm, 0, 1 );
51
inputPCMYKIm = new QComboBox( true, sysProfiles, "inputPCMYKIm" );
52
inputPCMYKIm->setMinimumSize( QSize( 190, 22 ) );
53
inputPCMYKIm->setEditable(false);
54
/* for (it = InputProfilesCMYK->begin(); it != InputProfilesCMYK->end(); ++it)
56
inputPCMYKIm->insertItem(it.key());
57
if (it.key() == prefs->DefaultImageCMYKProfile)
58
inputPCMYKIm->setCurrentItem(inputPCMYKIm->count()-1);
60
text1CMYK = new QLabel( inputPCMYKIm, tr( "&CMYK Pictures:" ), sysProfiles, "text1cmyk" );
61
sysProfilesLayout->addWidget( text1CMYK, 1, 0 );
62
sysProfilesLayout->addWidget( inputPCMYKIm, 1, 1 );
64
inputPRGB = new QComboBox( true, sysProfiles, "inputPRGB" );
65
inputPRGB->setMinimumSize( QSize( 190, 22 ) );
66
inputPRGB->setEditable(false);
67
/* for (it = InputProfiles->begin(); it != InputProfiles->end(); ++it)
69
inputPRGB->insertItem(it.key());
70
if (it.key() == prefs->DefaultSolidColorRGBProfile)
71
inputPRGB->setCurrentItem(inputPRGB->count()-1);
73
text4 = new QLabel( inputPRGB, tr( "&RGB Solid Colors:" ), sysProfiles, "Text4" );
74
sysProfilesLayout->addWidget( text4, 2, 0 );
75
sysProfilesLayout->addWidget( inputPRGB, 2, 1 );
51
77
inputPCMYK = new QComboBox( true, sysProfiles, "inputPCMYK" );
52
78
inputPCMYK->setMinimumSize( QSize( 190, 22 ) );
53
79
inputPCMYK->setEditable(false);
54
for (it = InputProfilesCMYK->begin(); it != InputProfilesCMYK->end(); ++it)
80
/* for (it = InputProfilesCMYK->begin(); it != InputProfilesCMYK->end(); ++it)
56
82
inputPCMYK->insertItem(it.key());
57
if (it.key() == Vor->DefaultImageCMYKProfile)
83
if (it.key() == prefs->DefaultSolidColorCMYKProfile)
58
84
inputPCMYK->setCurrentItem(inputPCMYK->count()-1);
60
text1CMYK = new QLabel( inputPCMYK, tr( "&CMYK Pictures:" ), sysProfiles, "text1cmyk" );
61
sysProfilesLayout->addWidget( text1CMYK, 1, 0 );
62
sysProfilesLayout->addWidget( inputPCMYK, 1, 1 );
64
inputP2 = new QComboBox( true, sysProfiles, "InputP2" );
65
inputP2->setMinimumSize( QSize( 190, 22 ) );
66
inputP2->setEditable(false);
67
for (it = InputProfiles->begin(); it != InputProfiles->end(); ++it)
69
inputP2->insertItem(it.key());
70
if (it.key() == Vor->DefaultSolidColorProfile)
71
inputP2->setCurrentItem(inputP2->count()-1);
73
text4 = new QLabel( inputP2, tr( "&Solid Colors:" ), sysProfiles, "Text4" );
74
sysProfilesLayout->addWidget( text4, 2, 0 );
75
sysProfilesLayout->addWidget( inputP2, 2, 1 );
86
text5 = new QLabel( inputPCMYK, tr( "&CMYK Solid Colors:" ), sysProfiles, "Text5" );
87
sysProfilesLayout->addWidget( text5, 3, 0 );
88
sysProfilesLayout->addWidget( inputPCMYK, 3, 1 );
77
90
monitorP = new QComboBox( true, sysProfiles, "MonitorP" );
78
91
monitorP->setMinimumSize( QSize( 190, 22 ) );
79
92
monitorP->setEditable(false);
80
for (it = MonitorProfiles->begin(); it != MonitorProfiles->end(); ++it)
93
/* for (it = MonitorProfiles->begin(); it != MonitorProfiles->end(); ++it)
82
95
monitorP->insertItem(it.key());
83
if (it.key() == Vor->DefaultMonitorProfile)
96
if (it.key() == prefs->DefaultMonitorProfile)
84
97
monitorP->setCurrentItem(monitorP->count()-1);
86
99
text2 = new QLabel( monitorP, tr( "&Monitor:" ), sysProfiles, "Text2" );
87
sysProfilesLayout->addWidget( text2, 3, 0 );
88
sysProfilesLayout->addWidget( monitorP, 3, 1 );
100
sysProfilesLayout->addWidget( text2, 4, 0 );
101
sysProfilesLayout->addWidget( monitorP, 4, 1 );
90
103
printerP = new QComboBox( true, sysProfiles, "PrinterP" );
91
104
printerP->setMinimumSize( QSize( 190, 22 ) );
92
105
printerP->setEditable(false);
93
for (it = PrinterProfiles->begin(); it != PrinterProfiles->end(); ++it)
106
/* for (it = PrinterProfiles->begin(); it != PrinterProfiles->end(); ++it)
95
108
printerP->insertItem(it.key());
96
if (it.key() == Vor->DefaultPrinterProfile)
109
if (it.key() == prefs->DefaultPrinterProfile)
97
110
printerP->setCurrentItem(printerP->count()-1);
99
112
text3 = new QLabel( printerP, tr( "P&rinter:" ), sysProfiles, "Text3" );
100
sysProfilesLayout->addWidget( text3, 4, 0 );
101
sysProfilesLayout->addWidget( printerP, 4, 1 );
113
sysProfilesLayout->addWidget( text3, 5, 0 );
114
sysProfilesLayout->addWidget( printerP, 5, 1 );
102
115
cmsPrefsLayout->addWidget( sysProfiles );
104
117
render = new QGroupBox( tr( "Rendering Intents" ), this, "Render" );
105
if (!checkBox1->isChecked())
106
render->setEnabled( false );
118
/* if (!checkBox1->isChecked())
119
render->setEnabled( false );*/
107
120
render->setColumnLayout(0, Qt::Vertical );
108
121
render->layout()->setSpacing( 0 );
109
122
render->layout()->setMargin( 0 );
112
125
renderLayout->setSpacing( 5 );
113
126
renderLayout->setMargin( 10 );
115
monitorI = new QComboBox( true, render, "MonitorI" );
116
QString tmp_mp[] = { tr("Perceptual"), tr("Relative Colorimetric"),
117
tr("Saturation"), tr("Absolute Colorimetric")};
118
size_t array = sizeof(tmp_mp) / sizeof(*tmp_mp);
128
imagesI = new QComboBox( true, render, "ImagesI" );
129
// QString tmp_mp[] = { tr("Perceptual"), tr("Relative Colorimetric"),
130
// tr("Saturation"), tr("Absolute Colorimetric")};
131
// size_t array = sizeof(tmp_mp) / sizeof(*tmp_mp);
119
132
/* PFJ - 29.02.04 - Changed from uint to int and var name */
120
for (uint prop = 0; prop < array; ++prop)
121
monitorI->insertItem(tmp_mp[prop]);
122
monitorI->setMinimumSize( QSize( 190, 22 ) );
123
monitorI->setEditable(false);
124
monitorI->setCurrentItem(Vor->DefaultIntentMonitor);
125
text21 = new QLabel( monitorI, tr( "M&onitor:" ), render, "Text21" );
133
/* for (uint prop = 0; prop < array; ++prop)
134
imagesI->insertItem(tmp_mp[prop]);*/
135
imagesI->setMinimumSize( QSize( 190, 22 ) );
136
imagesI->setEditable(false);
137
// imagesI->setCurrentItem(prefs->DefaultIntentImages);
138
text21 = new QLabel( imagesI, tr( "Pictures:" ), render, "Text21" );
126
139
renderLayout->addWidget( text21, 0, 0 );
127
renderLayout->addWidget( monitorI, 0, 1 );
140
renderLayout->addWidget( imagesI, 0, 1 );
129
printerI = new QComboBox( true, render, "PrinterI" );
130
for (uint prop = 0; prop < array; ++prop)
131
printerI->insertItem(tmp_mp[prop]);
132
printerI->setMinimumSize( QSize( 190, 22 ) );
133
printerI->setEditable(false);
134
printerI->setCurrentItem(Vor->DefaultIntentPrinter);
135
text22 = new QLabel( printerI, tr( "Pr&inter:" ), render, "Text22" );
142
colorsI = new QComboBox( true, render, "colorsI" );
143
/* for (uint prop = 0; prop < array; ++prop)
144
colorsI->insertItem(tmp_mp[prop]);*/
145
colorsI->setMinimumSize( QSize( 190, 22 ) );
146
colorsI->setEditable(false);
147
// colorsI->setCurrentItem(prefs->DefaultIntentColors);
148
text22 = new QLabel( colorsI, tr( "Sol&id Colors:" ), render, "Text22" );
136
149
renderLayout->addWidget( text22, 1, 0 );
137
renderLayout->addWidget( printerI, 1, 1 );
150
renderLayout->addWidget( colorsI, 1, 1 );
139
152
cmsPrefsLayout->addWidget( render );
141
154
simulate = new QCheckBox( tr( "Sim&ulate Printer on the Screen" ), this, "Simulate" );
142
simulate->setChecked(Vor->SoftProofOn);
155
// simulate->setChecked(prefs->SoftProofOn);
143
156
cmsPrefsLayout->addWidget( simulate );
158
convertLayout = new QHBoxLayout( cmsPrefsLayout );
159
convertLayout->setAlignment( Qt::AlignTop );
160
convertLayout->setMargin( 0 );
161
convertLayout->addSpacing( 30 );
163
convertAll = new QCheckBox( tr( "Convert all colors to printer space" ), this, "fullSimulate" );
164
// convertAll->setChecked(prefs->SoftProofFullOn);
165
convertLayout->addWidget( convertAll );
167
gamutLayout = new QHBoxLayout( cmsPrefsLayout );
168
gamutLayout->setAlignment( Qt::AlignTop );
169
gamutLayout->setMargin( 0 );
170
gamutLayout->addSpacing( 30 );
145
172
gamutC = new QCheckBox( tr( "Mark Colors out of &Gamut" ), this, "Gamut" );
146
gamutC->setChecked(Vor->GamutCheck);
147
cmsPrefsLayout->addWidget( gamutC );
173
// gamutC->setChecked(prefs->GamutCheck);
174
gamutLayout->addWidget( gamutC );
149
176
blackP = new QCheckBox( tr( "Use &Blackpoint Compensation" ), this, "Black" );
150
blackP->setChecked(Vor->BlackPoint);
177
// blackP->setChecked(prefs->BlackPoint);
151
178
cmsPrefsLayout->addWidget( blackP );
153
if (!checkBox1->isChecked())
180
/* if (!checkBox1->isChecked())
155
182
simulate->setEnabled( false );
183
convertAll->setEnabled( false );
156
184
//gamutC->setEnabled( false );
157
185
blackP->setEnabled( false );
160
gamutC->setEnabled(simulate->isEnabled() && simulate->isChecked());
162
QToolTip::add( inputPCMYK, tr( "Default color profile for imported CMYK images" ) );
163
QToolTip::add( inputP, tr( "Default color profile for imported RGB images" ) );
164
QToolTip::add( inputP2, tr( "Default color profile for solid colors on the page" ) );
188
// convertAll->setEnabled(simulate->isEnabled() && simulate->isChecked());
189
// gamutC->setEnabled(simulate->isEnabled() && simulate->isChecked());
191
// switched off as it's called in main prefs classes - PV
192
restoreDefaults(prefs, InputProfiles, InputProfilesCMYK, PrinterProfiles, MonitorProfiles);
194
QToolTip::add( inputPCMYKIm, tr( "Default color profile for imported CMYK images" ) );
195
QToolTip::add( inputPRGBIm, tr( "Default color profile for imported RGB images" ) );
196
QToolTip::add( inputPRGB, tr( "Default color profile for solid RGB colors on the page" ) );
197
QToolTip::add( inputPCMYK, tr( "Default color profile for solid CMYK colors on the page" ) );
165
198
QToolTip::add( monitorP, tr( "Color profile that you have generated or received from the manufacturer.\nThis profile should be specific to your monitor and not a generic profile (i.e. sRGB)." ) );
166
199
QToolTip::add( printerP, tr( "Color profile for your printer model from the manufacturer.\nThis profile should be specific to your printer and not a generic profile (i.e. sRGB)." ) );
167
QToolTip::add( monitorI, tr( "Default rendering intent for your monitor. Unless you know why to change it,\nRelative Colorimetric or Perceptual should be chosen." ) );
168
QToolTip::add( printerI, tr( "Default rendering intent for your printer. Unless you know why to change it,\nRelative Colorimetric or Perceptual should be chosen." ) );
200
QToolTip::add( colorsI, tr( "Default rendering intent for solid colors. Unless you know why to change it,\nRelative Colorimetric or Perceptual should be chosen." ) );
201
QToolTip::add( imagesI, tr( "Default rendering intent for images. Unless you know why to change it,\nRelative Colorimetric or Perceptual should be chosen." ) );
169
202
QToolTip::add( simulate, tr( "Enable 'soft proofing' of how your document colors will print,\nbased on the chosen printer profile." ) );
203
QToolTip::add( convertAll, tr( "Simulate a full color managed environment :\nall colors, rgb or cmyk, are converted to printer color space." ) );
170
204
QToolTip::add( gamutC, tr( "Method of showing colors on the screen which may not print properly.\nThis requires very accurate profiles and serves only as a warning." ) );
171
205
QToolTip::add( blackP, tr( "Black Point Compensation is a method of improving contrast in photos.\nIt is recommended that you enable this if you have photos in your document." ) );
175
209
connect( simulate, SIGNAL( clicked() ), this, SLOT( slotSimula() ) );
178
void CMSPrefs::restoreDefaults()
212
void CMSPrefs::restoreDefaults(CMSData *prefs, ProfilesL *InputProfiles, ProfilesL *InputProfilesCMYK, ProfilesL *PrinterProfiles, ProfilesL *MonitorProfiles)
214
checkBox1->setChecked(prefs->CMSinUse);
216
ProfilesL::Iterator it;
217
inputPRGBIm->clear();
218
for (it = InputProfiles->begin(); it != InputProfiles->end(); ++it)
220
inputPRGBIm->insertItem(it.key());
221
if (it.key() == prefs->DefaultImageRGBProfile)
222
inputPRGBIm->setCurrentItem(inputPRGBIm->count()-1);
224
inputPCMYKIm->clear();
225
for (it = InputProfilesCMYK->begin(); it != InputProfilesCMYK->end(); ++it)
227
inputPCMYKIm->insertItem(it.key());
228
if (it.key() == prefs->DefaultImageCMYKProfile)
229
inputPCMYKIm->setCurrentItem(inputPCMYKIm->count()-1);
232
for (it = InputProfiles->begin(); it != InputProfiles->end(); ++it)
234
inputPRGB->insertItem(it.key());
235
if (it.key() == prefs->DefaultSolidColorRGBProfile)
236
inputPRGB->setCurrentItem(inputPRGB->count()-1);
239
for (it = InputProfilesCMYK->begin(); it != InputProfilesCMYK->end(); ++it)
241
inputPCMYK->insertItem(it.key());
242
if (it.key() == prefs->DefaultSolidColorCMYKProfile)
243
inputPCMYK->setCurrentItem(inputPCMYK->count()-1);
246
for (it = MonitorProfiles->begin(); it != MonitorProfiles->end(); ++it)
248
monitorP->insertItem(it.key());
249
if (it.key() == prefs->DefaultMonitorProfile)
250
monitorP->setCurrentItem(monitorP->count()-1);
253
for (it = PrinterProfiles->begin(); it != PrinterProfiles->end(); ++it)
255
printerP->insertItem(it.key());
256
if (it.key() == prefs->DefaultPrinterProfile)
257
printerP->setCurrentItem(printerP->count()-1);
260
QString tmp_mp[] = { tr("Perceptual"), tr("Relative Colorimetric"),
261
tr("Saturation"), tr("Absolute Colorimetric")};
262
size_t array = sizeof(tmp_mp) / sizeof(*tmp_mp);
264
for (uint prop = 0; prop < array; ++prop)
265
imagesI->insertItem(tmp_mp[prop]);
266
imagesI->setCurrentItem(prefs->DefaultIntentImages);
268
for (uint prop = 0; prop < array; ++prop)
269
colorsI->insertItem(tmp_mp[prop]);
270
colorsI->setCurrentItem(prefs->DefaultIntentColors);
272
simulate->setChecked(prefs->SoftProofOn);
273
convertAll->setChecked(prefs->SoftProofFullOn);
274
gamutC->setChecked(prefs->GamutCheck);
275
blackP->setChecked(prefs->BlackPoint);
277
if (!checkBox1->isChecked())
279
simulate->setEnabled( false );
280
convertAll->setEnabled( false );
281
//gamutC->setEnabled( false );
282
blackP->setEnabled( false );
283
sysProfiles->setEnabled( false );
284
render->setEnabled( false );
286
convertAll->setEnabled(simulate->isEnabled() && simulate->isChecked());
287
gamutC->setEnabled(simulate->isEnabled() && simulate->isChecked());
182
290
void CMSPrefs::setValues()
184
if ((prefs->DefaultImageRGBProfile != inputP->currentText()) ||
185
(prefs->DefaultImageCMYKProfile != inputPCMYK->currentText()) ||
186
(prefs->DefaultSolidColorProfile != inputP2->currentText()) ||
292
if ((prefs->DefaultImageRGBProfile != inputPRGBIm->currentText()) ||
293
(prefs->DefaultImageCMYKProfile != inputPCMYKIm->currentText()) ||
294
(prefs->DefaultSolidColorRGBProfile != inputPRGB->currentText()) ||
295
(prefs->DefaultSolidColorCMYKProfile != inputPCMYK->currentText()) ||
187
296
(prefs->DefaultMonitorProfile != monitorP->currentText()) ||
188
297
(prefs->DefaultPrinterProfile != printerP->currentText()) ||
189
(prefs->DefaultIntentPrinter != printerI->currentItem()) ||
190
(prefs->DefaultIntentMonitor != monitorI->currentItem()) ||
298
(prefs->DefaultIntentColors != colorsI->currentItem()) ||
299
(prefs->DefaultIntentImages != imagesI->currentItem()) ||
191
300
(prefs->SoftProofOn != simulate->isChecked()) ||
301
(prefs->SoftProofFullOn != convertAll->isChecked()) ||
192
302
(prefs->GamutCheck != gamutC->isChecked()) ||
193
303
(prefs->BlackPoint != blackP->isChecked()) ||
194
304
(prefs->CMSinUse != checkBox1->isChecked()))
196
prefs->DefaultImageRGBProfile = inputP->currentText();
197
prefs->DefaultImageCMYKProfile = inputPCMYK->currentText();
198
prefs->DefaultSolidColorProfile = inputP2->currentText();
306
prefs->DefaultImageRGBProfile = inputPRGBIm->currentText();
307
prefs->DefaultImageCMYKProfile = inputPCMYKIm->currentText();
308
prefs->DefaultSolidColorRGBProfile = inputPRGB->currentText();
309
prefs->DefaultSolidColorCMYKProfile = inputPCMYK->currentText();
199
310
prefs->DefaultMonitorProfile = monitorP->currentText();
200
311
prefs->DefaultPrinterProfile = printerP->currentText();
201
prefs->DefaultIntentPrinter = printerI->currentItem();
202
prefs->DefaultIntentMonitor = monitorI->currentItem();
203
prefs->DefaultIntentImages = monitorI->currentItem();
312
prefs->DefaultIntentColors = colorsI->currentItem();
313
prefs->DefaultIntentImages = imagesI->currentItem();
204
314
prefs->SoftProofOn = simulate->isChecked();
315
prefs->SoftProofFullOn = convertAll->isChecked();
205
316
prefs->GamutCheck = gamutC->isChecked();
206
317
prefs->CMSinUse = checkBox1->isChecked();
207
318
prefs->BlackPoint = blackP->isChecked();
210
321
void CMSPrefs::updateDocSettings(ScribusDoc* doc)
212
if ((doc->CMSSettings.DefaultImageRGBProfile != inputP->currentText()) ||
213
(doc->CMSSettings.DefaultImageCMYKProfile != inputPCMYK->currentText()) ||
214
(doc->CMSSettings.DefaultSolidColorProfile != inputP2->currentText()) ||
323
if ((doc->CMSSettings.DefaultImageRGBProfile != inputPRGBIm->currentText()) ||
324
(doc->CMSSettings.DefaultImageCMYKProfile != inputPCMYKIm->currentText()) ||
325
(doc->CMSSettings.DefaultSolidColorRGBProfile != inputPRGB->currentText()) ||
326
(doc->CMSSettings.DefaultSolidColorCMYKProfile != inputPCMYK->currentText()) ||
215
327
(doc->CMSSettings.DefaultMonitorProfile != monitorP->currentText()) ||
216
328
(doc->CMSSettings.DefaultPrinterProfile != printerP->currentText()) ||
217
(doc->CMSSettings.DefaultIntentPrinter != printerI->currentItem()) ||
218
(doc->CMSSettings.DefaultIntentMonitor != monitorI->currentItem()) ||
329
(doc->CMSSettings.DefaultIntentColors != colorsI->currentItem()) ||
330
(doc->CMSSettings.DefaultIntentImages != imagesI->currentItem()) ||
219
331
(doc->CMSSettings.SoftProofOn != simulate->isChecked()) ||
332
(doc->CMSSettings.SoftProofFullOn != convertAll->isChecked()) ||
220
333
(doc->CMSSettings.GamutCheck != gamutC->isChecked()) ||
221
334
(doc->CMSSettings.BlackPoint != blackP->isChecked()) ||
222
335
(doc->CMSSettings.CMSinUse != checkBox1->isChecked()))
224
doc->CMSSettings.DefaultImageRGBProfile = inputP->currentText();
225
doc->CMSSettings.DefaultImageCMYKProfile = inputPCMYK->currentText();
226
doc->CMSSettings.DefaultSolidColorProfile = inputP2->currentText();
337
doc->CMSSettings.DefaultImageRGBProfile = inputPRGBIm->currentText();
338
doc->CMSSettings.DefaultImageCMYKProfile = inputPCMYKIm->currentText();
339
doc->CMSSettings.DefaultSolidColorRGBProfile = inputPRGB->currentText();
340
doc->CMSSettings.DefaultSolidColorCMYKProfile = inputPCMYK->currentText();
227
341
doc->CMSSettings.DefaultMonitorProfile = monitorP->currentText();
228
342
doc->CMSSettings.DefaultPrinterProfile = printerP->currentText();
229
doc->CMSSettings.DefaultIntentPrinter = printerI->currentItem();
230
doc->CMSSettings.DefaultIntentMonitor = monitorI->currentItem();
231
doc->CMSSettings.DefaultIntentImages = monitorI->currentItem();
343
doc->CMSSettings.DefaultIntentColors = colorsI->currentItem();
344
doc->CMSSettings.DefaultIntentImages = imagesI->currentItem();
232
345
doc->CMSSettings.SoftProofOn = simulate->isChecked();
346
doc->CMSSettings.SoftProofFullOn = convertAll->isChecked();
233
347
doc->CMSSettings.GamutCheck = gamutC->isChecked();
234
348
doc->CMSSettings.CMSinUse = checkBox1->isChecked();
235
349
doc->CMSSettings.BlackPoint = blackP->isChecked();