Skip to content

Commit

Permalink
Minor change to commenting
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8482 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed May 21, 2008
1 parent 3f3173f commit dd03d02
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/app/qgspluginmanager.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit dd03d02

Please sign in to comment.