[PC-BSD Commits] r13468 - pcbsd/current/src-qt4/pc-softwaremanager

svn at pcbsd.org svn at pcbsd.org
Fri Oct 21 08:09:31 PDT 2011


Author: kenmoore
Date: 2011-10-21 08:09:31 -0700 (Fri, 21 Oct 2011)
New Revision: 13468

Modified:
   pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
Log:
Add capacity for Appcafe to show Type and Size of PBI on the PBI info page (currently commented out)


Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp	2011-10-21 15:01:24 UTC (rev 13467)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp	2011-10-21 15:09:31 UTC (rev 13468)
@@ -391,6 +391,22 @@
 	pLic->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
 	layoutBrowser->addWidget(pLic, 3, 1);
 	
+/*
+	// Display the Type
+	QLabel *pType = new QLabel("<b>" + tr("Type:") + "</b> " + pbiAvail->getType(pbiNum) );
+	pType->setAlignment(Qt::AlightLeft);
+	pType->setWordWrap(true);
+	pType->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
+	layoutBrowser->addWidget(pType, 4, 0);
+
+	// Display the Size
+	QLabel *pSize = new QLabel("<b>" + tr("Size:") + "</b> " + pbiAvail->getSize(pbiNum) );
+	pSize->setAlignment(Qt::AlignRight);
+	pSize->setWordWrap(true);
+	pSize->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
+	layoutBrowser->addWidget(pSize, 4, 1);
+*/
+
 	// Add a <hr> spacer
 	QLabel *bottomLine = new QLabel();
    	bottomLine->setFrameStyle(QFrame::HLine);	



More information about the Commits mailing list