SVN commit 497193 by fjcruz:
Minors improvements. They are still useless. CCMAIL:[hidden email] M +41 -2 imageeffect_iccproof.cpp M +11 -0 imageeffect_iccproof.h --- trunk/extragear/graphics/digikam/imageplugins/imageeffect_iccproof.cpp #497192:497193 @@ -44,6 +44,7 @@ #include <kstandarddirs.h> #include <kdebug.h> #include <ktabwidget.h> +#include <kconfig.h> // Digikam includes. @@ -299,8 +300,20 @@ //---------- End Third Page ------------------------------------ - gridSettings->addMultiCellWidget(m_tabsWidgets, 10, 10, 8, 4); + gridSettings->addMultiCellWidget(m_tabsWidgets, 10, 10, 0, 0); + //-- Build rendering intents options group ----------------------- + + QHButtonGroup *m_testItBG = new QHButtonGroup(gboxSettings); + m_testItBG->setFrameStyle(QFrame::NoFrame); + + m_testItBt = new QPushButton(i18n("Test"),m_testItBG); + + + gridSettings->addMultiCellWidget(m_testItBG, 11, 11, 0, 0); + + // ------------------------------------------------------------- + gridSettings->setRowStretch(10, 10); setUserAreaWidget(gboxSettings); @@ -321,6 +334,8 @@ connect(m_previewWidget, SIGNAL(spotPositionChanged( const Digikam::DColor &, bool, const QPoint & )), this, SLOT(slotColorSelectedFromTarget( const Digikam::DColor & ))); + connect(m_testItBt, SIGNAL(clicked()), this, SLOT(slotTestIt())); + // ------------------------------------------------------------- enableButtonOK( false ); @@ -427,8 +442,32 @@ void ImageEffect_ICCProof::slotOk() { + + //TODO } -} // NameSpace DigikamImagesPluginCore +void ImageEffect_ICCProof::slotTestIt() +{ + //TODO +} +void ImageEffect_ICCProof::readSettings() +{ + KConfig* config = kapp->config(); + + config->setGroup("Color Management"); +} + +void ImageEffect_ICCProof::fillCombos() +{ + //TODO +} + +void ImageEffect_ICCProof::slotToggledWidgets( bool t) +{ + //TODO +} + +}// NameSpace DigikamImagesPluginCore + #include "imageeffect_iccproof.moc" --- trunk/extragear/graphics/digikam/imageplugins/imageeffect_iccproof.h #497192:497193 @@ -28,6 +28,7 @@ class QButtonGroup; class QHButtonGroup; class QRadioButton; +class QPushButton; class KTabWidget; @@ -100,12 +101,20 @@ QButtonGroup *m_optionsBG; QVButtonGroup *m_profilesBG; + QPushButton *m_testItBt; + Digikam::ImageGuideWidget *m_previewWidget; Digikam::ColorGradientWidget *m_hGradient; Digikam::HistogramWidget *m_histogramWidget; +private: + + void readSettings(); + void fillCombos(); + + private slots: void slotDefault(); @@ -114,6 +123,8 @@ void slotChannelChanged(int channel); void slotScaleChanged(int scale); void slotColorSelectedFromTarget( const Digikam::DColor &color ); + void slotTestIt(); + void slotToggledWidgets(bool t); }; _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |