[PC-BSD Commits] r20375 - users/ken/EasyPBI2

svn at pcbsd.org svn at pcbsd.org
Tue Dec 4 09:15:17 PST 2012


Author: kenmoore
Date: 2012-12-04 17:15:17 +0000 (Tue, 04 Dec 2012)
New Revision: 20375

Added:
   users/ken/EasyPBI2/portsDialog.cpp
   users/ken/EasyPBI2/portsDialog.h
   users/ken/EasyPBI2/portsDialog.ui
Modified:
   users/ken/EasyPBI2/EasyPBI.pro
   users/ken/EasyPBI2/mainGUI.cpp
Log:
Add in the new ports dialog for EasyPBI. It is almost done, just trying to get the actual ports download part to work properly



Modified: users/ken/EasyPBI2/EasyPBI.pro
===================================================================
--- users/ken/EasyPBI2/EasyPBI.pro	2012-12-04 17:05:15 UTC (rev 20374)
+++ users/ken/EasyPBI2/EasyPBI.pro	2012-12-04 17:15:17 UTC (rev 20375)
@@ -19,7 +19,8 @@
 	newModuleDialog.cpp \
 	config.cpp \
 	preferencesDialog.cpp \
-	aboutDialog.cpp
+	aboutDialog.cpp \
+	portsDialog.cpp
 
 HEADERS  += mainGUI.h \
             modBuild.h \
@@ -27,12 +28,14 @@
 	    newModuleDialog.h \
 	    config.h \
 	    preferencesDialog.h \
-	    aboutDialog.h
+	    aboutDialog.h \
+	    portsDialog.h
 
 FORMS    += mainGUI.ui \
 	    newModuleDialog.ui \
 	    preferencesDialog.ui \
-	    aboutDialog.ui
+	    aboutDialog.ui \
+	    portsDialog.ui
 
 RESOURCES+= EasyPBI.qrc
 

Modified: users/ken/EasyPBI2/mainGUI.cpp
===================================================================
--- users/ken/EasyPBI2/mainGUI.cpp	2012-12-04 17:05:15 UTC (rev 20374)
+++ users/ken/EasyPBI2/mainGUI.cpp	2012-12-04 17:15:17 UTC (rev 20375)
@@ -5,6 +5,7 @@
 #include "newModuleDialog.h"
 #include "preferencesDialog.h"
 #include "aboutDialog.h"
+#include "portsDialog.h"
 
 MainGUI::MainGUI(QWidget *parent) :
     QMainWindow(parent),
@@ -342,7 +343,8 @@
   -----------------------------------
 */
 void MainGUI::on_actionGet_Ports_triggered(){
-  qDebug() << "Fetching FreeBSD ports tree not implemented yet";
+  portsDialog dlg(this,settings->value("progdir")+"/ports",settings->value("su_cmd") );
+  dlg.exec();
 }
 
 void MainGUI::on_actionExit_triggered(){

Index: users/ken/EasyPBI2/portsDialog.ui
===================================================================
--- users/ken/EasyPBI2/portsDialog.ui	2012-12-04 17:05:15 UTC (rev 20374)
+++ users/ken/EasyPBI2/portsDialog.ui	2012-12-04 17:15:17 UTC (rev 20375)

Property changes on: users/ken/EasyPBI2/portsDialog.ui
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml


More information about the Commits mailing list