[Lprof-devel] lprof/src/libqtlcmswidgets qtlcmswidgets.cpp, 1.42.2.7, 1.42.2.8
Brought to you by:
hvengel
From: Amit K. <ami...@us...> - 2009-07-12 15:09:09
|
Update of /cvsroot/lprof/lprof/src/libqtlcmswidgets In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3010/libqtlcmswidgets Modified Files: Tag: GSoC-2009 qtlcmswidgets.cpp Log Message: Index: qtlcmswidgets.cpp =================================================================== RCS file: /cvsroot/lprof/lprof/src/libqtlcmswidgets/qtlcmswidgets.cpp,v retrieving revision 1.42.2.7 retrieving revision 1.42.2.8 diff -C2 -d -r1.42.2.7 -r1.42.2.8 *** qtlcmswidgets.cpp 5 Jul 2009 20:33:17 -0000 1.42.2.7 --- qtlcmswidgets.cpp 12 Jul 2009 15:09:00 -0000 1.42.2.8 *************** *** 300,304 **** } ! Combo->insertItems(50,Descriptions); QApplication::restoreOverrideCursor(); } --- 300,304 ---- } ! Combo->insertItems((Combo->count()+1),Descriptions); QApplication::restoreOverrideCursor(); } *************** *** 511,515 **** } if (OK) ! Combo->insertItems(51,Descriptions); QApplication::restoreOverrideCursor(); } --- 511,515 ---- } if (OK) ! Combo->insertItems((Combo->count()+1),Descriptions); QApplication::restoreOverrideCursor(); } *************** *** 605,609 **** cmsSetErrorHandler(NULL); ! Combo->insertItems(52,Descriptions); QApplication::restoreOverrideCursor(); --- 605,609 ---- cmsSetErrorHandler(NULL); ! Combo->insertItems((Combo->count()+1),Descriptions); QApplication::restoreOverrideCursor(); *************** *** 682,686 **** QColor ColorInside(Scale(Inside[0]), Scale(Inside[1]), Scale(Inside[2])); QPixmap* pix = new QPixmap(34, 32); - pix->fill(Qt::white); --- 682,685 ---- *************** *** 697,704 **** { QPixmap* Pixmap = CreateProofPixmap(LabProof, RGB); QTableWidgetItem* Item = new QTableWidgetItem(QIcon(*Pixmap), QString::null, 0); Item->setFlags(Qt::ItemIsSelectable|Qt::ItemIsEnabled); Grid -> setItem(row, col, Item); - } --- 696,703 ---- { QPixmap* Pixmap = CreateProofPixmap(LabProof, RGB); + Grid->setIconSize(Pixmap->size()); QTableWidgetItem* Item = new QTableWidgetItem(QIcon(*Pixmap), QString::null, 0); Item->setFlags(Qt::ItemIsSelectable|Qt::ItemIsEnabled); Grid -> setItem(row, col, Item); } *************** *** 714,718 **** QTranslator::tr("<qt><font size=3>" ! " <table cellspacing=0 cellpadding=0> " " <tr> " " <td align=left valign=bottom><b><font color=blue>Metric</font></b></td>" --- 713,717 ---- QTranslator::tr("<qt><font size=3>" ! " <table cellspacing=0 cellpadding=5> " " <tr> " " <td align=left valign=bottom><b><font color=blue>Metric</font></b></td>" *************** *** 788,792 **** "<hr> " "All reported errors are <b>after</b> correcting the profile with the matrix " ! "<table cellspacing=0 cellpadding=0> " " <tr> " " <td align=left valign=middle rowspan=3>XYZ(corr) =</td> " --- 787,791 ---- "<hr> " "All reported errors are <b>after</b> correcting the profile with the matrix " ! "<table cellspacing=0 cellpadding=5> " " <tr> " " <td align=left valign=middle rowspan=3>XYZ(corr) =</td> " *************** *** 979,995 **** CorrByItem[0] = CHK_CORR_NONE; ! corrCombo->insertItem(50,QTranslator::tr("No Correction")); CorrByItem[1] = CHK_CORR_LUMINANCE; ! corrCombo->insertItem(51,QTranslator::tr("Luminance Correction")); CorrByItem[2] = CHK_CORR_MATRIX; ! corrCombo->insertItem(52,QTranslator::tr("Matrix Correction")); CorrByItem[3] = CHK_CORR_WP_WVK; ! corrCombo->insertItem(53,QTranslator::tr("Whitepoint Correction (Wrong von Kries)")); CorrByItem[4] = CHK_CORR_WP_BDF; ! corrCombo->insertItem(54,QTranslator::tr("Whitepoint Correction (Bradford)")); corrCombo->setCurrentIndex(0); --- 978,994 ---- CorrByItem[0] = CHK_CORR_NONE; ! corrCombo->insertItem((corrCombo->count()+1),QTranslator::tr("No Correction")); CorrByItem[1] = CHK_CORR_LUMINANCE; ! corrCombo->insertItem((corrCombo->count()+1),QTranslator::tr("Luminance Correction")); CorrByItem[2] = CHK_CORR_MATRIX; ! corrCombo->insertItem((corrCombo->count()+1),QTranslator::tr("Matrix Correction")); CorrByItem[3] = CHK_CORR_WP_WVK; ! corrCombo->insertItem((corrCombo->count()+1),QTranslator::tr("Whitepoint Correction (Wrong von Kries)")); CorrByItem[4] = CHK_CORR_WP_BDF; ! corrCombo->insertItem((corrCombo->count()+1),QTranslator::tr("Whitepoint Correction (Bradford)")); corrCombo->setCurrentIndex(0); |