# HG changeset patch # User Chris Cannam # Date 1224779448 0 # Node ID 1e0744b2cebe5e03825bc71350063a21c95e10a9 # Parent 6324461340b1137304fc20639e10d00326d196e4 * Add More Info URL to plugin finder diff -r 6324461340b1 -r 1e0744b2cebe view/View.cpp --- a/view/View.cpp Tue Oct 21 19:31:50 2008 +0000 +++ b/view/View.cpp Thu Oct 23 16:30:48 2008 +0000 @@ -1597,7 +1597,6 @@ paint.drawPixmap(dx, 0, *m_cache); paint.end(); #endif - if (dx < 0) { cacheRect = QRect(width() + dx, 0, -dx, height()); } else { diff -r 6324461340b1 -r 1e0744b2cebe widgets/TransformFinder.cpp --- a/widgets/TransformFinder.cpp Tue Oct 21 19:31:50 2008 +0000 +++ b/widgets/TransformFinder.cpp Thu Oct 23 16:30:48 2008 +0000 @@ -208,17 +208,21 @@ .arg(XmlExportable::encodeEntities(desc.description)); } - selectedText += tr("
"); + selectedText += tr(""); if (desc.type != "") { - selectedText += tr("      — Plugin type: %1
") + selectedText += tr("
      — Plugin type: %1") .arg(XmlExportable::encodeEntities(desc.type)); } if (desc.category != "") { - selectedText += tr("      — Category: %1
") + selectedText += tr("
      — Category: %1") .arg(XmlExportable::encodeEntities(desc.category)); } - selectedText += tr("      — System identifier: %1") + selectedText += tr("
      — System identifier: %1") .arg(XmlExportable::encodeEntities(desc.identifier)); + if (desc.infoUrl != "") { + selectedText += tr("
      — More information: %1") + .arg(desc.infoUrl); + } selectedText += tr("
"); if (i >= m_labels.size()) { @@ -230,6 +234,10 @@ SLOT(accept())); QPalette palette = label->palette(); label->setPalette(palette); + label->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard | + Qt::LinksAccessibleByMouse | + Qt::TextSelectableByMouse); + label->setOpenExternalLinks(true); m_labels.push_back(label); }