Skip to content
Permalink
Browse files
Minor change to commenting
git-svn-id: http://svn.osgeo.org/qgis/trunk@8482 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed May 21, 2008
1 parent 9861fc3 commit 9986a868e8fda35843b75e11e795bba6c8cd9389
Showing with 9 additions and 7 deletions.
  1. +9 −7 src/app/qgspluginmanager.cpp
@@ -299,25 +299,27 @@ sharedLibExtension = "*.so*";
QStandardItem * mypDetailItem = new QStandardItem(
pName() + " (" + pVersion() + ")");
//
// Uncommnet this block to render item using simple painter technique
// Uncomment this block to render item using simple painter technique
//
mypDetailItem->setData(pDesc(),Qt::UserRole);
//
//Uncomment this block to used widget based detail items (experimental)
//
//QgsDetailedItemData myData;
//myData.setTitle(pName());
//myData.setDetail(pDesc());
//QVariant myVariant = qVariantFromValue(myData);
/*
QgsDetailedItemData myData;
myData.setTitle(pName());
myData.setDetail(pDesc());
QVariant myVariant = qVariantFromValue(myData);
//round trip test - delete this...no need to uncomment
//QgsDetailedItemData myData2 = qVariantValue<QgsDetailedItemData>(myVariant);
//Q_ASSERT(myData.title() == myData2.title());
//round trip test ends
//mypDetailItem->setData(myVariant,Qt::UserRole);
mypDetailItem->setData(myVariant,Qt::UserRole);
*/
QString myLibraryName = pluginDir[i];
QStandardItem * mypLibraryNameItem = new QStandardItem(myLibraryName);
mypLibraryNameItem->setData(pName(),Qt::UserRole);
// myName have a checkbox
// Let the first col have a checkbox
mypDetailItem->setCheckable(true);
mypDetailItem->setEditable(false);

0 comments on commit 9986a86

Please sign in to comment.