------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=127759 Summary: no scroll bar in color management/select profile Product: digikamimageplugins Version: unspecified Platform: SuSE RPMs OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: digikam-devel kde org ReportedBy: linux daniel-bauer com Version: 0.9.0 svn (using KDE KDE 3.5.2) Installed from: SuSE RPMs OS: Linux When selecting a profile in color->color management, the dialog box shows no scroll bar (see attachement) _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=127759 ------- Additional Comments From linux daniel-bauer com 2006-05-21 12:55 ------- Created an attachment (id=16199) --> (http://bugs.kde.org/attachment.cgi?id=16199&action=view) dialog with many profiles shows no scroll bar _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Daniel Bauer-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=127759 ------- Additional Comments From linux daniel-bauer com 2006-05-22 09:52 ------- Just saw, that the scroll bar appears, if the dialog window is big enough to fully display the icc-diagram, but disappears, when the window is smaller. So maybe this is rather a KDE-problem and the solution would be to set an appropriate minimum size of the dialog? It is confusing, if there are no scroll bars. (today using digikam Revision 543470, digikamimageplugins Revision 543474) _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Daniel Bauer-2
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=127759 caulier.gilles free fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From caulier.gilles free fr 2006-05-22 16:49 ------- SVN commit 543590 by cgilles: digikam from trunk: optimize layout with iccpreviewwidget. BUG: 127759 M +37 -34 iccpreviewwidget.cpp M +4 -0 iccpreviewwidget.h --- trunk/extragear/graphics/digikam/libs/widgets/common/iccpreviewwidget.cpp #543589:543590 @ -26,8 +26,7 @ #include <qlayout.h> #include <qlabel.h> -#include <qvgroupbox.h> -#include <qhgroupbox.h> +#include <qgroupbox.h> #include <qdir.h> // KDE includes @ -75,38 +74,42 @ { d = new ICCPreviewWidgetPriv; - QBoxLayout* vlay = new QVBoxLayout(this); - - QLabel *label1 = new QLabel(i18n("Name:"), this); - d->name = new KSqueezedTextLabel(QString::null, this); - vlay->addWidget(label1); - vlay->addWidget(d->name); + QVBoxLayout *vlay = new QVBoxLayout(this); + QGroupBox *box = new QGroupBox(0, Qt::Horizontal, QString::null, this); + QGridLayout* grid = new QGridLayout(box->layout(), 7, 1); + + QLabel *label1 = new QLabel(i18n("Name:"), box); + d->name = new KSqueezedTextLabel(QString::null, box); + grid->addMultiCellWidget(label1, 0, 0, 0, 0); + grid->addMultiCellWidget(d->name, 0, 0, 1, 1); - QLabel *label2 = new QLabel(i18n("Description:"), this); - d->description = new KSqueezedTextLabel(QString::null, this); - vlay->addWidget(label2); - vlay->addWidget(d->description); + QLabel *label2 = new QLabel(i18n("Description:"), box); + d->description = new KSqueezedTextLabel(QString::null, box); + grid->addMultiCellWidget(label2, 1, 1, 0, 0); + grid->addMultiCellWidget(d->description, 1, 1, 1, 1); - QLabel *label3 = new QLabel(i18n("Color space:"), this); - d->colorSpace = new KSqueezedTextLabel(QString::null, this); - vlay->addWidget(label3); - vlay->addWidget(d->colorSpace); + QLabel *label3 = new QLabel(i18n("Color space:"), box); + d->colorSpace = new KSqueezedTextLabel(QString::null, box); + grid->addMultiCellWidget(label3, 2, 2, 0, 0); + grid->addMultiCellWidget(d->colorSpace, 2, 2, 1, 1); - QLabel *label4 = new QLabel(i18n("Device class:"), this); - d->deviceClass = new KSqueezedTextLabel(QString::null, this); - vlay->addWidget(label4); - vlay->addWidget(d->deviceClass); + QLabel *label4 = new QLabel(i18n("Device class:"), box); + d->deviceClass = new KSqueezedTextLabel(QString::null, box); + grid->addMultiCellWidget(label4, 3, 3, 0, 0); + grid->addMultiCellWidget(d->deviceClass, 3, 3, 1, 1); - QLabel *label5 = new QLabel(i18n("Rendering intent:"), this); - d->renderingIntent = new KSqueezedTextLabel(QString::null, this); - vlay->addWidget(label5); - vlay->addWidget(d->renderingIntent); + QLabel *label5 = new QLabel(i18n("Rendering intent:"), box); + d->renderingIntent = new KSqueezedTextLabel(QString::null, box); + grid->addMultiCellWidget(label5, 4, 4, 0, 0); + grid->addMultiCellWidget(d->renderingIntent, 4, 4, 1, 1); - QLabel *label6 = new QLabel(i18n("CIE diagram:"), this); - d->cieTongue = new CIETongueWidget(256, 256, this); - vlay->addWidget(label6); - vlay->addWidget(d->cieTongue); - vlay->addStretch(); + QLabel *label6 = new QLabel(i18n("CIE diagram:"), box); + d->cieTongue = new CIETongueWidget(256, 256, box); + grid->addMultiCellWidget(label6, 5, 5, 0, 1); + grid->addMultiCellWidget(d->cieTongue, 6, 6, 0, 1); + grid->setRowStretch(7, 10); + + vlay->addWidget(box); } ICCPreviewWidget::~ICCPreviewWidget() @ -157,8 +160,8 @ if (!tmpProfile) return; - d->name->setText(QString("<b>%1</b>").arg(QString(cmsTakeProductName(tmpProfile)))); - d->description->setText(QString("<b>%1</b>").arg(QString(cmsTakeProductDesc(tmpProfile)))); + d->name->setText(QString(cmsTakeProductName(tmpProfile))); + d->description->setText(QString(cmsTakeProductDesc(tmpProfile))); switch (cmsGetColorSpace(tmpProfile)) { @ -191,7 +194,7 @ break; } - d->colorSpace->setText(QString("<b>%1</b>").arg(space)); + d->colorSpace->setText(space); switch ((int)cmsGetDeviceClass(tmpProfile)) { @ -221,7 +224,7 @ break; } - d->deviceClass->setText(QString("<b>%1</b>").arg(device)); + d->deviceClass->setText(device); //"Decode" profile rendering intent switch (cmsTakeRenderingIntent(tmpProfile)) @ -243,7 +246,7 @ break; } - d->renderingIntent->setText(QString("<b>%1</b>").arg(intent)); + d->renderingIntent->setText(intent); d->cieTongue->setProfileHandler(tmpProfile); --- trunk/extragear/graphics/digikam/libs/widgets/common/iccpreviewwidget.h #543589:543590 @ -53,6 +53,10 @ virtual void showPreview(const KURL &url); virtual void clearPreview(); +protected: + + virtual void virtual_hook(int, void*){}; + private: void getICCData(const KURL &url); _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |