[Lprof-devel] lprof/src/parmsqt profileparms.cpp, 1.64, 1.64.2.1 profileparmsmon.cpp, 1.6, 1.6.2.1
Brought to you by:
hvengel
From: Amit K. <ami...@us...> - 2009-07-01 18:34:12
|
Update of /cvsroot/lprof/lprof/src/parmsqt In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1838/parmsqt Modified Files: Tag: GSoC-2009 profileparms.cpp profileparmsmon.cpp Log Message: Index: profileparmsmon.cpp =================================================================== RCS file: /cvsroot/lprof/lprof/src/parmsqt/profileparmsmon.cpp,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -C2 -d -r1.6 -r1.6.2.1 *** profileparmsmon.cpp 18 May 2009 21:17:17 -0000 1.6 --- profileparmsmon.cpp 1 Jul 2009 18:34:02 -0000 1.6.2.1 *************** *** 28,37 **** // ! #include <q3buttongroup.h> ! #include <q3groupbox.h> #include <qlabel.h> #include <qpushbutton.h> #include <qradiobutton.h> #include <qcombobox.h> #include "profileparmsmon.h" --- 28,38 ---- // ! #include <qlabel.h> #include <qpushbutton.h> #include <qradiobutton.h> #include <qcombobox.h> + #include <QGroupBox> + #include <QButtonGroup> #include "profileparmsmon.h" *************** *** 114,130 **** source_or_dest_VC_groupBox -> setTitle (tr("Assumed display viewing conditions")); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[sRGB].toLocal8Bit()), 0); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[sRGBannexD].toLocal8Bit()), 1); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[iso9241].toLocal8Bit()), 2); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[projDark].toLocal8Bit()), 3); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[projDim].toLocal8Bit()), 4); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[userdef].toLocal8Bit()), 5); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[iso3664p2_pcs].toLocal8Bit()), 0); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[userdef].toLocal8Bit()), 1); } ProfileParmsMon::ProfileParmsMon(QWidget *parent ) ! : QDialog(parent, "", 0, Qt::WindowSystemMenuHint) { setupUi(this); --- 115,131 ---- source_or_dest_VC_groupBox -> setTitle (tr("Assumed display viewing conditions")); ! deviceVCcomboBox -> insertItem (0,tr(VCqStringValues[sRGB].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (1,tr(VCqStringValues[sRGBannexD].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (2,tr(VCqStringValues[iso9241].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (3,tr(VCqStringValues[projDark].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (4,tr(VCqStringValues[projDim].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (5,tr(VCqStringValues[userdef].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (0,tr(VCqStringValues[iso3664p2_pcs].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (1,tr(VCqStringValues[userdef].toLocal8Bit())); } ProfileParmsMon::ProfileParmsMon(QWidget *parent ) ! : QDialog(parent, Qt::WindowSystemMenuHint) { setupUi(this); *************** *** 204,212 **** PCSYbSpinBox -> setValue(sys.hdr.PCS.Yb); PCSLaSpinBox -> setValue(sys.hdr.PCS.La); ! deviceSurroundCombo -> setCurrentItem(sys.hdr.device.surround); ! PCSSurroundCombo -> setCurrentItem(sys.hdr.PCS.surround); ! deviceVCcomboBox -> setCurrentItem(currItemFromIndex(sys.hdr.viewingConditionsPredefDevice, FALSE)); ! PCSVCcomboBox -> setCurrentItem(currItemFromIndex(sys.hdr.viewingConditionsPredefPCS, TRUE)); slotChangeStrategy(); --- 205,213 ---- PCSYbSpinBox -> setValue(sys.hdr.PCS.Yb); PCSLaSpinBox -> setValue(sys.hdr.PCS.La); ! deviceSurroundCombo -> setCurrentIndex(sys.hdr.device.surround); ! PCSSurroundCombo -> setCurrentIndex(sys.hdr.PCS.surround); ! deviceVCcomboBox -> setCurrentIndex(currItemFromIndex(sys.hdr.viewingConditionsPredefDevice, FALSE)); ! PCSVCcomboBox -> setCurrentIndex(currItemFromIndex(sys.hdr.viewingConditionsPredefPCS, TRUE)); slotChangeStrategy(); *************** *** 217,222 **** // qDebug("ProfileParmsMon:ControlsToValues())"); QString Buff; ! sys.hdr.device.surround = deviceSurroundCombo -> currentItem(); ! sys.hdr.PCS.surround = PCSSurroundCombo -> currentItem(); sys.hdr.viewingConditionsPredefDevice = getCVindex (deviceVCcomboBox -> currentText()); sys.hdr.viewingConditionsPredefPCS = getCVindex (PCSVCcomboBox -> currentText()); --- 218,223 ---- // qDebug("ProfileParmsMon:ControlsToValues())"); QString Buff; ! sys.hdr.device.surround = deviceSurroundCombo -> currentIndex(); ! sys.hdr.PCS.surround = PCSSurroundCombo -> currentIndex(); sys.hdr.viewingConditionsPredefDevice = getCVindex (deviceVCcomboBox -> currentText()); sys.hdr.viewingConditionsPredefPCS = getCVindex (PCSVCcomboBox -> currentText()); *************** *** 304,308 **** case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); --- 305,309 ---- case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); *************** *** 310,314 **** case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); --- 311,315 ---- case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); *************** *** 316,320 **** case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (18.0); /* Grey world */ deviceLaSpinBox -> setValue (64.0); /* Bright */ --- 317,321 ---- case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (18.0); /* Grey world */ deviceLaSpinBox -> setValue (64.0); /* Bright */ *************** *** 323,327 **** // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (127.0); /* Bright */ --- 324,328 ---- // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (127.0); /* Bright */ *************** *** 329,333 **** case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ --- 330,334 ---- case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ *************** *** 335,339 **** case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! deviceSurroundCombo -> setCurrentItem( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ --- 336,340 ---- case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! deviceSurroundCombo -> setCurrentIndex( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ *************** *** 341,345 **** case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! deviceSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (4.0); /* Darkened work environment */ --- 342,346 ---- case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! deviceSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (4.0); /* Darkened work environment */ *************** *** 347,351 **** case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (22.0); /* Typical work environment */ --- 348,352 ---- case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (22.0); /* Typical work environment */ *************** *** 353,357 **** case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Bright work environment */ --- 354,358 ---- case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Bright work environment */ *************** *** 359,363 **** case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! deviceSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ --- 360,364 ---- case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! deviceSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ *************** *** 365,369 **** case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! deviceSurroundCombo -> setCurrentItem( DARK_SURROUND); /* Dark viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (10.0); /* Adaptation is from display */ --- 366,370 ---- case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! deviceSurroundCombo -> setCurrentIndex( DARK_SURROUND); /* Dark viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (10.0); /* Adaptation is from display */ *************** *** 374,378 **** default: // qDebug("in slotVCpresetChanged case default"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Compromise brightness */ --- 375,379 ---- default: // qDebug("in slotVCpresetChanged case default"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Compromise brightness */ *************** *** 386,390 **** case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); --- 387,391 ---- case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); *************** *** 392,396 **** case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); --- 393,397 ---- case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); *************** *** 398,402 **** case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (18.0); /* Grey world */ PCSLaSpinBox -> setValue (64.0); /* Bright */ --- 399,403 ---- case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (18.0); /* Grey world */ PCSLaSpinBox -> setValue (64.0); /* Bright */ *************** *** 405,409 **** // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (127.0); /* Bright */ --- 406,410 ---- // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (127.0); /* Bright */ *************** *** 411,415 **** case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ --- 412,416 ---- case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ *************** *** 417,421 **** case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! PCSSurroundCombo -> setCurrentItem( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ --- 418,422 ---- case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! PCSSurroundCombo -> setCurrentIndex( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ *************** *** 423,427 **** case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! PCSSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (4.0); /* Darkened work environment */ --- 424,428 ---- case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! PCSSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (4.0); /* Darkened work environment */ *************** *** 429,433 **** case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (22.0); /* Typical work environment */ --- 430,434 ---- case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (22.0); /* Typical work environment */ *************** *** 435,439 **** case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Bright work environment */ --- 436,440 ---- case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Bright work environment */ *************** *** 441,445 **** case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! PCSSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ --- 442,446 ---- case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! PCSSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ *************** *** 447,451 **** case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! PCSSurroundCombo -> setCurrentItem( DARK_SURROUND); /* Dark viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (10.0); /* Adaptation is from display */ --- 448,452 ---- case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! PCSSurroundCombo -> setCurrentIndex( DARK_SURROUND); /* Dark viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (10.0); /* Adaptation is from display */ *************** *** 456,460 **** default: // qDebug("in slotVCpresetChanged case default"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Compromise brightness */ --- 457,461 ---- default: // qDebug("in slotVCpresetChanged case default"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Compromise brightness */ Index: profileparms.cpp =================================================================== RCS file: /cvsroot/lprof/lprof/src/parmsqt/profileparms.cpp,v retrieving revision 1.64 retrieving revision 1.64.2.1 diff -C2 -d -r1.64 -r1.64.2.1 *** profileparms.cpp 18 May 2009 23:18:48 -0000 1.64 --- profileparms.cpp 1 Jul 2009 18:34:02 -0000 1.64.2.1 *************** *** 28,33 **** // ! #include <q3buttongroup.h> ! #include <q3groupbox.h> #include <qlabel.h> #include <qpushbutton.h> --- 28,33 ---- // ! //#include <q3buttongroup.h> ! //#include <q3groupbox.h> #include <qlabel.h> #include <qpushbutton.h> *************** *** 152,173 **** PCSVCcomboBox -> clear(); source_or_dest_VC_groupBox -> setTitle (tr("Assumed viewing conditions for the captured medium")); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[iso3664p2].toLocal8Bit()), 0); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[cie1161995].toLocal8Bit()), 1); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[iso3664p1].toLocal8Bit()), 2); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[brightOutdoors].toLocal8Bit()), 3); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[cutSheet].toLocal8Bit()), 4); ! deviceVCcomboBox -> insertItem (tr(VCqStringValues[userdef].toLocal8Bit()), 5); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[iso3664p2_pcs].toLocal8Bit()), 0); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[cie1161995].toLocal8Bit()), 1); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[iso3664p1].toLocal8Bit()), 2); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[sRGB].toLocal8Bit()), 3); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[sRGBannexD].toLocal8Bit()), 4); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[iso9241].toLocal8Bit()), 5); ! PCSVCcomboBox -> insertItem (tr(VCqStringValues[userdef].toLocal8Bit()), 6); } ProfileParms::ProfileParms(QWidget *parent ) ! : QDialog(parent, "", 0, Qt::WindowSystemMenuHint) { setupUi(this); --- 152,173 ---- PCSVCcomboBox -> clear(); source_or_dest_VC_groupBox -> setTitle (tr("Assumed viewing conditions for the captured medium")); ! deviceVCcomboBox -> insertItem (0,tr(VCqStringValues[iso3664p2].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (1,tr(VCqStringValues[cie1161995].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (2,tr(VCqStringValues[iso3664p1].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (3,tr(VCqStringValues[brightOutdoors].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (4,tr(VCqStringValues[cutSheet].toLocal8Bit())); ! deviceVCcomboBox -> insertItem (5,tr(VCqStringValues[userdef].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (0,tr(VCqStringValues[iso3664p2_pcs].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (1,tr(VCqStringValues[cie1161995].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (2,tr(VCqStringValues[iso3664p1].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (3,tr(VCqStringValues[sRGB].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (4,tr(VCqStringValues[sRGBannexD].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (5,tr(VCqStringValues[iso9241].toLocal8Bit())); ! PCSVCcomboBox -> insertItem (6,tr(VCqStringValues[userdef].toLocal8Bit())); } ProfileParms::ProfileParms(QWidget *parent ) ! : QDialog(parent, Qt::WindowSystemMenuHint) { setupUi(this); *************** *** 344,352 **** PCSYbSpinBox -> setValue(sys.hdr.PCS.Yb); PCSLaSpinBox -> setValue(sys.hdr.PCS.La); ! deviceSurroundCombo -> setCurrentItem(sys.hdr.device.surround); ! PCSSurroundCombo -> setCurrentItem(sys.hdr.PCS.surround); ! deviceVCcomboBox -> setCurrentItem(currItemFromIndex(sys.hdr.viewingConditionsPredefDevice, FALSE)); ! PCSVCcomboBox -> setCurrentItem(currItemFromIndex(sys.hdr.viewingConditionsPredefPCS, TRUE)); --- 344,352 ---- PCSYbSpinBox -> setValue(sys.hdr.PCS.Yb); PCSLaSpinBox -> setValue(sys.hdr.PCS.La); ! deviceSurroundCombo -> setCurrentIndex(sys.hdr.device.surround); ! PCSSurroundCombo -> setCurrentIndex(sys.hdr.PCS.surround); ! deviceVCcomboBox -> setCurrentIndex(currItemFromIndex(sys.hdr.viewingConditionsPredefDevice, FALSE)); ! PCSVCcomboBox -> setCurrentIndex(currItemFromIndex(sys.hdr.viewingConditionsPredefPCS, TRUE)); *************** *** 393,398 **** QString Buff; // sys.hdr.lUseCIECAM02 = CAMRadio -> isChecked(); ! sys.hdr.device.surround = deviceSurroundCombo -> currentItem(); ! sys.hdr.PCS.surround = PCSSurroundCombo -> currentItem(); sys.hdr.viewingConditionsPredefDevice = getCVindex (deviceVCcomboBox -> currentText()); sys.hdr.viewingConditionsPredefPCS = getCVindex (PCSVCcomboBox -> currentText()); --- 393,398 ---- QString Buff; // sys.hdr.lUseCIECAM02 = CAMRadio -> isChecked(); ! sys.hdr.device.surround = deviceSurroundCombo -> currentIndex(); ! sys.hdr.PCS.surround = PCSSurroundCombo -> currentIndex(); sys.hdr.viewingConditionsPredefDevice = getCVindex (deviceVCcomboBox -> currentText()); sys.hdr.viewingConditionsPredefPCS = getCVindex (PCSVCcomboBox -> currentText()); *************** *** 598,602 **** case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); --- 598,602 ---- case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); *************** *** 604,608 **** case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); --- 604,608 ---- case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); *************** *** 610,614 **** case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (18.0); /* Grey world */ deviceLaSpinBox -> setValue (64.0); /* Bright */ --- 610,614 ---- case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (18.0); /* Grey world */ deviceLaSpinBox -> setValue (64.0); /* Bright */ *************** *** 617,621 **** // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (127.0); /* Bright */ --- 617,621 ---- // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (127.0); /* Bright */ *************** *** 623,627 **** case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ --- 623,627 ---- case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ *************** *** 629,633 **** case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! deviceSurroundCombo -> setCurrentItem( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ --- 629,633 ---- case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! deviceSurroundCombo -> setCurrentIndex( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ *************** *** 635,639 **** case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! deviceSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (4.0); /* Darkened work environment */ --- 635,639 ---- case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! deviceSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (4.0); /* Darkened work environment */ *************** *** 641,645 **** case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (22.0); /* Typical work environment */ --- 641,645 ---- case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (22.0); /* Typical work environment */ *************** *** 647,651 **** case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Bright work environment */ --- 647,651 ---- case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Bright work environment */ *************** *** 653,657 **** case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! deviceSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ --- 653,657 ---- case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! deviceSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ *************** *** 659,663 **** case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! deviceSurroundCombo -> setCurrentItem( DARK_SURROUND); /* Dark viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (10.0); /* Adaptation is from display */ --- 659,663 ---- case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! deviceSurroundCombo -> setCurrentIndex( DARK_SURROUND); /* Dark viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (10.0); /* Adaptation is from display */ *************** *** 668,672 **** default: // qDebug("in slotVCpresetChanged case default"); ! deviceSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Compromise brightness */ --- 668,672 ---- default: // qDebug("in slotVCpresetChanged case default"); ! deviceSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ deviceYbSpinBox -> setValue (20.0); /* Grey world */ deviceLaSpinBox -> setValue (32.0); /* Compromise brightness */ *************** *** 680,684 **** case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); --- 680,684 ---- case iso3664p2: // ISO-3664 P2 Practical Reflection Print // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); *************** *** 686,690 **** case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); --- 686,690 ---- case iso3664p2_pcs: // ISO-3664 P2 ICC refence medium // qDebug("in slotVCpresetChanged case 0 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); *************** *** 692,696 **** case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (18.0); /* Grey world */ PCSLaSpinBox -> setValue (64.0); /* Bright */ --- 692,696 ---- case cie1161995: // CIE 116-1995 dE color difference metric // qDebug("in slotVCpresetChanged case 1 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (18.0); /* Grey world */ PCSLaSpinBox -> setValue (64.0); /* Bright */ *************** *** 699,703 **** // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (127.0); /* Bright */ --- 699,703 ---- // ISO-3664 P1 Critical print evaluation environment // qDebug("in slotVCpresetChanged case 2 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (127.0); /* Bright */ *************** *** 705,709 **** case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ --- 705,709 ---- case brightOutdoors: // Original scene - Bright Outdoors // qDebug("in slotVCpresetChanged case 8 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (2000.0); /* Bright Outdoors */ *************** *** 711,715 **** case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! PCSSurroundCombo -> setCurrentItem( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ --- 711,715 ---- case cutSheet: // Cut Sheet Transparencies on a viewing box // qDebug("in slotVCpresetChanged case 9 source"); ! PCSSurroundCombo -> setCurrentIndex( CUTSHEET_SURROUND); /* Cut sheet viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (53.0); /* Dim, adapted to slide ? */ *************** *** 717,721 **** case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! PCSSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (4.0); /* Darkened work environment */ --- 717,721 ---- case sRGB: // Monitor in darkened work environment sRGB // qDebug("in slotVCpresetChanged case 3 source"); ! PCSSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (4.0); /* Darkened work environment */ *************** *** 723,727 **** case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (22.0); /* Typical work environment */ --- 723,727 ---- case sRGBannexD: // Monitor in typical work environment sRGB annex D // qDebug("in slotVCpresetChanged case 4 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (22.0); /* Typical work environment */ *************** *** 729,733 **** case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Bright work environment */ --- 729,733 ---- case iso9241: // Monitor in bright work environment ISO 9241 // qDebug("in slotVCpresetChanged case 5 source"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Bright work environment */ *************** *** 735,739 **** case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! PCSSurroundCombo -> setCurrentItem( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ --- 735,739 ---- case projDim: // Projector in dim environment // qDebug("in slotVCpresetChanged case 6 source"); ! PCSSurroundCombo -> setCurrentIndex( DIM_SURROUND); /* Dim viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue ( 10.0); /* Adaptation is from display */ *************** *** 741,745 **** case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! PCSSurroundCombo -> setCurrentItem( DARK_SURROUND); /* Dark viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (10.0); /* Adaptation is from display */ --- 741,745 ---- case projDark: // Projector in dark environment // qDebug("in slotVCpresetChanged case 7 source"); ! PCSSurroundCombo -> setCurrentIndex( DARK_SURROUND); /* Dark viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (10.0); /* Adaptation is from display */ *************** *** 750,754 **** default: // qDebug("in slotVCpresetChanged case default"); ! PCSSurroundCombo -> setCurrentItem( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Compromise brightness */ --- 750,754 ---- default: // qDebug("in slotVCpresetChanged case default"); ! PCSSurroundCombo -> setCurrentIndex( AVG_SURROUND); /* Average viewing conditions */ PCSYbSpinBox -> setValue (20.0); /* Grey world */ PCSLaSpinBox -> setValue (32.0); /* Compromise brightness */ |