[PC-BSD Commits] r2151 - pcbsd/trunk/kcmPBMsource

svn at pcbsd.org svn at pcbsd.org
Sat Jun 21 13:01:32 PDT 2008


Author: kris
Date: 2008-06-21 13:01:32 -0700 (Sat, 21 Jun 2008)
New Revision: 2151

Added:
   pcbsd/trunk/kcmPBMsource/PBM.qrc
   pcbsd/trunk/kcmPBMsource/notroot.cpp
   pcbsd/trunk/kcmPBMsource/notroot.h
   pcbsd/trunk/kcmPBMsource/pbm.cpp
   pcbsd/trunk/kcmPBMsource/pbm.h
Removed:
   pcbsd/trunk/kcmPBMsource/pbm.ui.h
Modified:
   pcbsd/trunk/kcmPBMsource/PBM.pro
   pcbsd/trunk/kcmPBMsource/kcm.cpp
   pcbsd/trunk/kcmPBMsource/kcm.h
   pcbsd/trunk/kcmPBMsource/notroot.ui
   pcbsd/trunk/kcmPBMsource/pbm.ui
Log:

Finially updated kcmPBMsource properly, now it works fully, both as
kcmshell4 command and via the system-settings menu of KDE4. Still requires
some links in /usr/local/kde4/lib/kde4 to run it properly though. Looks like
just a KDE quirk is causing that. 



Modified: pcbsd/trunk/kcmPBMsource/PBM.pro
===================================================================
--- pcbsd/trunk/kcmPBMsource/PBM.pro	2008-06-21 19:22:04 UTC (rev 2150)
+++ pcbsd/trunk/kcmPBMsource/PBM.pro	2008-06-21 20:01:32 UTC (rev 2151)
@@ -5,13 +5,13 @@
 
 INCLUDEPATH += /usr/local/kde4/include
 
-HEADERS	+= kcm.h
+HEADERS	+= kcm.h notroot.h pbm.h
 
-SOURCES	+= kcm.cpp \
-	pbi.cpp
+SOURCES	+= kcm.cpp pbi.cpp notroot.cpp pbm.cpp
 
-#The following line was changed from FORMS to FORMS3 by qt3to4
-FORMS3	= pbm.ui \
+RESOURCES += PBM.qrc
+
+FORMS	= pbm.ui \
 	notroot.ui
 
 IMAGES	= application.png \
@@ -23,15 +23,4 @@
 
 TRANSLATIONS = PBM_en_US.ts 
 
-unix {
-  UI_DIR = .ui
-  MOC_DIR = .moc
-  OBJECTS_DIR = .obj
-}
-
-
-#The following line was inserted by qt3to4
 QT +=  qt3support 
-#The following line was inserted by qt3to4
-CONFIG += uic3
-

Added: pcbsd/trunk/kcmPBMsource/PBM.qrc

Modified: pcbsd/trunk/kcmPBMsource/kcm.cpp
===================================================================
--- pcbsd/trunk/kcmPBMsource/kcm.cpp	2008-06-21 19:22:04 UTC (rev 2150)
+++ pcbsd/trunk/kcmPBMsource/kcm.cpp	2008-06-21 20:01:32 UTC (rev 2151)
@@ -5,8 +5,8 @@
 #include <klocale.h>
 #include <kglobal.h>
 #include <kgenericfactory.h>
-#include ".ui/pbm.h"
-#include ".ui/notroot.h"
+#include "pbm.h"
+#include "notroot.h"
 #include <kcm.h>
 #include <qtranslator.h>
 
@@ -30,12 +30,15 @@
      QString LANG="PBMsource";
      KGlobal::locale()->insertCatalog(LANG);
 
-     PBM *pbmproc = new PBM(parent);
+     //PBM *pbmproc = new PBM(parent);
+     PBM *pbmproc = new PBM();
      pbmproc->reparent(this, QPoint());
      pbmproc->ProgramInit();
   } else  {
       setButtons(KCModule::Help);
-      NotRoot *nroot = new NotRoot(parent);
+      //NotRoot *nroot = new NotRoot(parent);
+      NotRoot *nroot = new NotRoot();
+      nroot->programInit();
       nroot->reparent(this, QPoint());
   }
    

Modified: pcbsd/trunk/kcmPBMsource/kcm.h
===================================================================
--- pcbsd/trunk/kcmPBMsource/kcm.h	2008-06-21 19:22:04 UTC (rev 2150)
+++ pcbsd/trunk/kcmPBMsource/kcm.h	2008-06-21 20:01:32 UTC (rev 2151)
@@ -1,7 +1,7 @@
 #include <qlayout.h>
 #include <qlabel.h>
 #include <qdialog.h>
-#include <pbm.h>
+#include "pbm.h"
 #include <kcmodule.h>
 class KConfigDialogManager;
 

Added: pcbsd/trunk/kcmPBMsource/notroot.cpp

Added: pcbsd/trunk/kcmPBMsource/notroot.h

Modified: pcbsd/trunk/kcmPBMsource/notroot.ui
===================================================================
--- pcbsd/trunk/kcmPBMsource/notroot.ui	2008-06-21 19:22:04 UTC (rev 2150)
+++ pcbsd/trunk/kcmPBMsource/notroot.ui	2008-06-21 20:01:32 UTC (rev 2151)
@@ -1,172 +1,222 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>NotRoot</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>NotRoot</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>552</width>
-            <height>409</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>Root Access Required</string>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <spacer row="0" column="0" rowspan="1" colspan="2">
-            <property name="name">
-                <cstring>spacer3_2</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>151</width>
-                    <height>21</height>
-                </size>
-            </property>
-        </spacer>
-        <widget class="QLabel" row="0" column="2">
-            <property name="name">
-                <cstring>pixmapLabel2</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>0</hsizetype>
-                    <vsizetype>5</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="pixmap">
-                <pixmap>NewLogoSmall.png</pixmap>
-            </property>
-            <property name="scaledContents">
-                <bool>true</bool>
-            </property>
-        </widget>
-        <spacer row="0" column="3" rowspan="1" colspan="2">
-            <property name="name">
-                <cstring>spacer4_2</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>161</width>
-                    <height>21</height>
-                </size>
-            </property>
-        </spacer>
-        <spacer row="1" column="2">
-            <property name="name">
-                <cstring>spacer3</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Fixed</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>20</width>
-                    <height>30</height>
-                </size>
-            </property>
-        </spacer>
-        <spacer row="3" column="2">
-            <property name="name">
-                <cstring>spacer4</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Vertical</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Expanding</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>20</width>
-                    <height>170</height>
-                </size>
-            </property>
-        </spacer>
-        <spacer row="2" column="4">
-            <property name="name">
-                <cstring>spacer6</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Fixed</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>71</width>
-                    <height>21</height>
-                </size>
-            </property>
-        </spacer>
-        <widget class="QLabel" row="2" column="1" rowspan="1" colspan="3">
-            <property name="name">
-                <cstring>textLabel1</cstring>
-            </property>
-            <property name="sizePolicy">
-                <sizepolicy>
-                    <hsizetype>7</hsizetype>
-                    <vsizetype>3</vsizetype>
-                    <horstretch>0</horstretch>
-                    <verstretch>0</verstretch>
-                </sizepolicy>
-            </property>
-            <property name="frameShape">
-                <enum>NoFrame</enum>
-            </property>
-            <property name="frameShadow">
-                <enum>Plain</enum>
-            </property>
-            <property name="text">
-                <string>This program must be run as root. Click the "Administrator Mode" button below or restart the program as root.</string>
-            </property>
-            <property name="alignment">
-                <set>WordBreak|AlignVCenter</set>
-            </property>
-        </widget>
-        <spacer row="2" column="0">
-            <property name="name">
-                <cstring>spacer5</cstring>
-            </property>
-            <property name="orientation">
-                <enum>Horizontal</enum>
-            </property>
-            <property name="sizeType">
-                <enum>Fixed</enum>
-            </property>
-            <property name="sizeHint">
-                <size>
-                    <width>61</width>
-                    <height>21</height>
-                </size>
-            </property>
-        </spacer>
-    </grid>
-</widget>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+<ui version="4.0" >
+ <class>NotRoot</class>
+ <widget class="QDialog" name="NotRoot" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>552</width>
+    <height>409</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Root Access Required</string>
+  </property>
+  <layout class="QGridLayout" name="gridLayout" >
+   <item row="0" column="0" >
+    <layout class="QHBoxLayout" name="horizontalLayout" >
+     <item>
+      <spacer name="spacer3_2" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>151</width>
+         <height>21</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QLabel" name="pixmapLabel2" >
+       <property name="sizePolicy" >
+        <sizepolicy vsizetype="Preferred" hsizetype="Fixed" >
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="pixmap" >
+        <pixmap resource="PBM.qrc" >:/NewLogoSmall.png</pixmap>
+       </property>
+       <property name="scaledContents" >
+        <bool>true</bool>
+       </property>
+       <property name="wordWrap" >
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="spacer4_2" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>161</width>
+         <height>21</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </item>
+   <item row="1" column="0" >
+    <spacer name="spacer3" >
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Fixed</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>20</width>
+       <height>30</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="2" column="0" >
+    <layout class="QHBoxLayout" name="horizontalLayout_2" >
+     <item>
+      <spacer name="spacer5" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Fixed</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>61</width>
+         <height>21</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QLabel" name="textLabel1" >
+       <property name="sizePolicy" >
+        <sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
+         <horstretch>0</horstretch>
+         <verstretch>0</verstretch>
+        </sizepolicy>
+       </property>
+       <property name="frameShape" >
+        <enum>QFrame::NoFrame</enum>
+       </property>
+       <property name="frameShadow" >
+        <enum>QFrame::Plain</enum>
+       </property>
+       <property name="text" >
+        <string>This program must be run as root. Click the "Administrator Mode" button below or restart the program as root.</string>
+       </property>
+       <property name="alignment" >
+        <set>Qt::AlignVCenter</set>
+       </property>
+       <property name="wordWrap" >
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="spacer6" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Fixed</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>61</width>
+         <height>21</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </item>
+   <item row="3" column="0" >
+    <spacer name="verticalSpacer" >
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>20</width>
+       <height>51</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="4" column="0" >
+    <layout class="QHBoxLayout" name="horizontalLayout_3" >
+     <item>
+      <spacer name="horizontalSpacer" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="pushAdmin" >
+       <property name="text" >
+        <string>Run in Administrator Mode</string>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer name="horizontalSpacer_2" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" stdset="0" >
+        <size>
+         <width>40</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </item>
+   <item row="5" column="0" >
+    <spacer name="spacer4" >
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>20</width>
+       <height>170</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <resources>
+  <include location="PBM.qrc" />
+ </resources>
+ <connections/>
+</ui>

Added: pcbsd/trunk/kcmPBMsource/pbm.cpp

Added: pcbsd/trunk/kcmPBMsource/pbm.h

Modified: pcbsd/trunk/kcmPBMsource/pbm.ui
===================================================================
--- pcbsd/trunk/kcmPBMsource/pbm.ui	2008-06-21 19:22:04 UTC (rev 2150)
+++ pcbsd/trunk/kcmPBMsource/pbm.ui	2008-06-21 20:01:32 UTC (rev 2151)
@@ -1,365 +1,293 @@
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>PBM</class>
-<widget class="QDialog">
-    <property name="name">
-        <cstring>PBM</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>414</width>
-            <height>480</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>PC-BSD Package Manager</string>
-    </property>
-    <property name="icon">
-        <pixmap>image0</pixmap>
-    </property>
-    <grid>
-        <property name="name">
-            <cstring>unnamed</cstring>
-        </property>
-        <widget class="QTabWidget" row="0" column="0">
-            <property name="name">
-                <cstring>tabPBM</cstring>
+<ui version="4.0" >
+ <class>PBM</class>
+ <widget class="QDialog" name="PBM" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>414</width>
+    <height>480</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>PC-BSD Package Manager</string>
+  </property>
+  <property name="windowIcon" >
+   <iconset resource="PBM.qrc" >
+    <normaloff>:/application.png</normaloff>:/application.png</iconset>
+  </property>
+  <layout class="QGridLayout" >
+   <item row="0" column="0" >
+    <widget class="QTabWidget" name="tabPBM" >
+     <property name="currentIndex" >
+      <number>0</number>
+     </property>
+     <widget class="QWidget" name="tab" >
+      <property name="geometry" >
+       <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>394</width>
+        <height>433</height>
+       </rect>
+      </property>
+      <attribute name="title" >
+       <string>Installed PBIs</string>
+      </attribute>
+      <layout class="QGridLayout" >
+       <item row="0" column="0" >
+        <layout class="QVBoxLayout" >
+         <item>
+          <layout class="QHBoxLayout" >
+           <item>
+            <widget class="QLabel" name="pixmapLabel2" >
+             <property name="minimumSize" >
+              <size>
+               <width>64</width>
+               <height>64</height>
+              </size>
+             </property>
+             <property name="maximumSize" >
+              <size>
+               <width>64</width>
+               <height>64</height>
+              </size>
+             </property>
+             <property name="pixmap" >
+              <pixmap resource="PBM.qrc" >:/application.png</pixmap>
+             </property>
+             <property name="scaledContents" >
+              <bool>true</bool>
+             </property>
+             <property name="wordWrap" >
+              <bool>false</bool>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <widget class="QLabel" name="textLabel1_2" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="text" >
+              <string>Installed PBI Software</string>
+             </property>
+             <property name="wordWrap" >
+              <bool>false</bool>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </item>
+         <item>
+          <widget class="QListWidget" name="SoftwareListBox" >
+           <property name="sizePolicy" >
+            <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
+           </property>
+           <item>
+            <property name="text" >
+             <string>Populating list, please wait...</string>
             </property>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>tab</cstring>
-                </property>
-                <attribute name="title">
-                    <string>Installed PBIs</string>
-                </attribute>
-                <grid>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLayoutWidget" row="0" column="0">
-                        <property name="name">
-                            <cstring>layout6</cstring>
-                        </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout5</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>pixmapLabel2</cstring>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>64</width>
-                                                <height>64</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>64</width>
-                                                <height>64</height>
-                                            </size>
-                                        </property>
-                                        <property name="pixmap">
-                                            <pixmap>image0</pixmap>
-                                        </property>
-                                        <property name="scaledContents">
-                                            <bool>true</bool>
-                                        </property>
-                                    </widget>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>textLabel1_2</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>5</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>Installed PBI Software</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QListWidget">
-                                <item>
-                                    <property name="text">
-                                        <string>Populating list, please wait...</string>
-                                    </property>
-                                </item>
-                                <property name="name">
-                                    <cstring>SoftwareListBox</cstring>
-                                </property>
-                                <property name="sizePolicy">
-                                    <sizepolicy>
-                                        <hsizetype>5</hsizetype>
-                                        <vsizetype>7</vsizetype>
-                                        <horstretch>0</horstretch>
-                                        <verstretch>0</verstretch>
-                                    </sizepolicy>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout6</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QPushButton">
-                                        <property name="name">
-                                            <cstring>RemoveButton</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>0</hsizetype>
-                                                <vsizetype>0</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Remove</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+R</string>
-                                        </property>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer1</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>202</width>
-                                                <height>31</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </hbox>
-                            </widget>
-                        </vbox>
-                    </widget>
-                </grid>
+           </item>
+          </widget>
+         </item>
+         <item>
+          <layout class="QHBoxLayout" >
+           <item>
+            <widget class="QPushButton" name="RemoveButton" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="text" >
+              <string>&amp;Remove</string>
+             </property>
+             <property name="shortcut" >
+              <string>Alt+R</string>
+             </property>
             </widget>
-            <widget class="QWidget">
-                <property name="name">
-                    <cstring>tab</cstring>
-                </property>
-                <attribute name="title">
-                    <string>System Components</string>
-                </attribute>
-                <grid>
-                    <property name="name">
-                        <cstring>unnamed</cstring>
-                    </property>
-                    <widget class="QLayoutWidget" row="0" column="0">
-                        <property name="name">
-                            <cstring>layout4</cstring>
-                        </property>
-                        <vbox>
-                            <property name="name">
-                                <cstring>unnamed</cstring>
-                            </property>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout3</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>pixmapLabel1</cstring>
-                                        </property>
-                                        <property name="minimumSize">
-                                            <size>
-                                                <width>64</width>
-                                                <height>64</height>
-                                            </size>
-                                        </property>
-                                        <property name="maximumSize">
-                                            <size>
-                                                <width>64</width>
-                                                <height>64</height>
-                                            </size>
-                                        </property>
-                                        <property name="pixmap">
-                                            <pixmap>image1</pixmap>
-                                        </property>
-                                        <property name="scaledContents">
-                                            <bool>true</bool>
-                                        </property>
-                                    </widget>
-                                    <widget class="QLabel">
-                                        <property name="name">
-                                            <cstring>textLabel1</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>5</hsizetype>
-                                                <vsizetype>5</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>Available system components</string>
-                                        </property>
-                                    </widget>
-                                </hbox>
-                            </widget>
-                            <widget class="QListWidget">
-                                <property name="name">
-                                    <cstring>componentListbox</cstring>
-                                </property>
-                            </widget>
-                            <widget class="QLayoutWidget">
-                                <property name="name">
-                                    <cstring>layout6_2</cstring>
-                                </property>
-                                <hbox>
-                                    <property name="name">
-                                        <cstring>unnamed</cstring>
-                                    </property>
-                                    <widget class="QPushButton">
-                                        <property name="name">
-                                            <cstring>componentInstallButton</cstring>
-                                        </property>
-                                        <property name="sizePolicy">
-                                            <sizepolicy>
-                                                <hsizetype>0</hsizetype>
-                                                <vsizetype>0</vsizetype>
-                                                <horstretch>0</horstretch>
-                                                <verstretch>0</verstretch>
-                                            </sizepolicy>
-                                        </property>
-                                        <property name="text">
-                                            <string>&amp;Install</string>
-                                        </property>
-                                        <property name="accel">
-                                            <string>Alt+I</string>
-                                        </property>
-                                    </widget>
-                                    <spacer>
-                                        <property name="name">
-                                            <cstring>spacer1_2</cstring>
-                                        </property>
-                                        <property name="orientation">
-                                            <enum>Horizontal</enum>
-                                        </property>
-                                        <property name="sizeType">
-                                            <enum>Expanding</enum>
-                                        </property>
-                                        <property name="sizeHint">
-                                            <size>
-                                                <width>202</width>
-                                                <height>31</height>
-                                            </size>
-                                        </property>
-                                    </spacer>
-                                </hbox>
-                            </widget>
-                        </vbox>
-                    </widget>
-                </grid>
+           </item>
+           <item>
+            <spacer name="spacer1" >
+             <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Expanding</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>202</width>
+               <height>31</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+     <widget class="QWidget" name="tab" >
+      <property name="geometry" >
+       <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>394</width>
+        <height>433</height>
+       </rect>
+      </property>
+      <attribute name="title" >
+       <string>System Components</string>
+      </attribute>
+      <layout class="QGridLayout" >
+       <item row="0" column="0" >
+        <layout class="QVBoxLayout" >
+         <item>
+          <layout class="QHBoxLayout" >
+           <item>
+            <widget class="QLabel" name="pixmapLabel1" >
+             <property name="minimumSize" >
+              <size>
+               <width>64</width>
+               <height>64</height>
+              </size>
+             </property>
+             <property name="maximumSize" >
+              <size>
+               <width>64</width>
+               <height>64</height>
+              </size>
+             </property>
+             <property name="pixmap" >
+              <pixmap resource="PBM.qrc" >:/demo.png</pixmap>
+             </property>
+             <property name="scaledContents" >
+              <bool>true</bool>
+             </property>
+             <property name="wordWrap" >
+              <bool>false</bool>
+             </property>
             </widget>
-        </widget>
-    </grid>
-</widget>
-<images>
-    <image name="image0">
-        <data format="PNG" length="4196">89504e470d0a1a0a0000000d4948445200000040000000400806000000aa6971de0000102b49444154789ce59b5f8c1c475ec73fb3ee8dab9371d21de6601ad6685bb2258f65a38ccf87bce6222ee6f26282840edd495c84d0e5d021740712f0782f20403cdd1b46e29f78b86010c759f0e22081ecd339ec0625782cc5ecf8ce9bf4823799393ca49bece4bae2697b78a8aaeeea9e9eddb5e3e41eaea4514d4d5757d7eff7fbd6f7f7ab5ff534a6d3293fccc50178fe1bfc879cb00464759d0420ed7a11e444d54c80ba7a8762c679186de140b24de3c2cb8305fee2c73bc07bc09dbd1ad6d1f572e7633c697e941535a459f1bb79b8e7e87e5a19a09502c8d4bacf2157abb4dac279386de140324e118e40c221e00de09d3d496f29e0fd4ecb7a08906815c7197899fa5d66aa2d4c7ba2da58d765a604cfc7b185873918fb00250332a93ef03160eb7e6e5fb01bb232d9d458dcb451edbc3fe0560614cece351f522d1c3123cf5e4a7e83ccca08a8fbddc55292867b6afa59fd71ca16b795c8c3accd72006466b3c4de4bae007b4dd9c5fe3d356d340152204058fdc9ca16977c480830ca2647c07d9712026ccb19e22bade1ac8c807cbd53fc1ecbe23e0948a9efd37501958758670f8e80dcdec251e486a326eb3b65a5180!
 bba68e5b890a48537904d4825784d25bc6f846f96bd885d8c6bddadbd63adbf2499e04154e0a007eb3463c2a6d6a423909954ae25930804b2fa78ddcfd469b6f3f5b9e3e85aa2af5bcfb5ef279bd35fd5d35ffbba6cf41f5401d28170c9c7af52fa6e654e10944e345298aded52225e3b5ea0a222fbba41a4b99e413c1e7c300e78b05b51c256eb49b91debaea696e6a385492ca1cc35acba74dde2a852bf4c3c040e78809b672c3c01d7520293396bd7162a816894128f2443137da532174e2caabe9e27f05b8276cbc715eab71470ab5ee63e4b7e5b5d50b327e12b42a7d5b0b846e8640ceb9b31c34d491c4b5c47200478078412a429ac30572253880631bdb104a74fd0f6580e7dc2e580544b5025d8fb5240957df75272cb2f5a75c5f26029c1816804d18d94fead04df15b45b1e2bc75cdc267802cb1caa0c12fd2503b28064ac90b2796bc0dae5013d11d1391e10b41f3c0ec8bdc05e1170df9647b9c3d56b299b91c43b0067ba01414bb94c338b52a468964756213ccf2568ba84cb3ec3514a140d595b1b20846c88b107f008f7190edff7ca314a9a6bf9cada1f0c61edb51810ac747d3acb14f0a8d965e6b1bdee924796563f04740eb9b497423a87437abd75ba6288ffd93f78617dedc29b9b5bbdef15a33f2405ec6879e3022923a0bf01abafc6740e0a4e1f73f13!
 ded1daca9958437d76c5757e3fa7c47ed425d07dc25f0bca378d77d5c217ed!
 ef3423fbc79e9371a8dc68de9747a674f0ad88b03d9cdf255d6ef5f875e3fe54cd7e7c491e27ace1d8ede6dd6ecef6d562fb533cd159497abebc1d94f07046d8fd52be2b410fc0d8effeb8d46e32af0fe7487ec481107cc014c5aad27565db13c5af89e16fe994fb825e1cd3846f8bc54831b2ccb9b3e2618d29f7c3e99e212df8733275dce3cdb215cea1c0b0e77ff72e5532f7c1cd8df68341af314e0d47c2b15d7aa6dcbd7ad7d39816803fa1b2967575cc250df6cf5cbc7d34aa843826d8cbceda840c8d74a31f7f94df00d61b870fa2917c109f8173a64fc894c86bfdabb76f13bc0fb75f29577833b943cbcadb0be8d80c110d6aea73c73cc121e6a73853348b077a3355b5fb3f60d228cf2bca6351ffd8c13c7e0f4d31d8276f054e7f8d93f047ea4d168d49a7801768fa4aa962f0963ea0c7ad7a0bbec72f450cd2095fb6c24002abaab9987b92e34f4f35da916de75d5b8ae9d887561e52997956e17afbd7cf6ec735ffd02f078a3d19871913907cc43806d79778ee541ad7b21a07b44292c4d759f8935581d12b21a4e28e4506bdd12decc5338e01fb0c6b7b909700fc0e9533e4797c37ded839ddfea3c75b64b4da853ca08d5952aebbb15cb0b609840348413479425a509e9b3b2b0f67d39129cfada086ddabe8510e140e0518b44d722dc20809595a3f8ade0473!
 bc7cf7e05b5144a339acb0136dbd7ad7d9bf5d76f40bb05611b06e3f278b548a82a83399ca06bd7364e6645903083802a12c243d03ddec56b7acf764f7ee634f098ed15e672806b69b46eed1be24d12858013878a7498b95e4dafd596399c602c2d44f11df4ba7798e5a03948f00f40f7884fd00e1f0bc3eee750c9aa5cf5331c30cfdfd7591e20da54d6f79a56fe2f9b3d0f4833f68c04dbffcf044782d9240cb3756a0e6726102c41b81ce079e1cf2e1f59e96071c10c07d4f9fb92e52d04c84cedd8c276b17101f2d8ddee970b37efd8ccb61c05eb7bf6da17150eaaf3469497938b8a153a874384e73d192e9f7e1a38d06834f69514904f720ffedef41f244ad8c0537b7c7b1c5987846c174e405f9765349925605c5e3e9f4a1a0e0aa1cdb19c21e260098256807fa07d0a7802b5739ce5009bf5eb346cefef8743085a14f9ba6af6d72021abe1842a12268a43a4d4c77212e458d589b488b06ecd57234c5dbb14f7b53d08db01a2e91ff65acb0781fdb9024a93db43ac6ffac749c1c87185f04a48a086132c24a49332817a4d104dcd2ba490419ca465d458f7da25dfb566ea3348201aa8648c170408215a9e171c02dc46a3b130cb01738ebac56225b7e7286bf94d6521734c66bbacbd70429a294b0b94aff77d35aed40f0bdbaecafde3128f2d492b9c011a416325ec7!
 004fd2da58041a29ee90a085ac1fea0dd098147817d454ed046400dbbe6fbfc4acc6e14!
 911f9fc9320cab678eb9f2b4528cf2cc0eefd29594fecd846434c0f304679f0e38daf1896fa74809e9b68b7ba060f964ac146c10246525bf608c9b69972a3c9251f413da164e2d07ecb6f6d11316a841e38a527645425628cef086ebc0a557a0f7fa1039be84e74524c990f37fdb23ba19e337dd3ca11ac79a2b92022d86037c4169cf509aaf03a229104dff711407ec9bcb013bad7d234ceeaf2d17988fa3859bc70906354669d110368729b04a1004048743569e0e9122e5d295488fe312cbb4741fda08eaaab577a08c3ca3043249d0ee3cae5b0b33f9805df3fa952d6bae69ad88ea69b26befe7edfd7e25e24b3348b7237ccfc35b6a132e85e0b8748f43d48f74df14819bc708322bce2685203fc2afcb331863b94d9f346301d8072cd4c6013b59be7a8a5cad13ed0e0dbc4be1b10e6b6d9637fedd75c015012cbaf85e0042915fb29de237855698abbc82a5f4eaf3c966919023d58154a6667936f22ea57381bd583e2b5bde9e84b18e6fe2783d709eb5a96c8585a3082d6c83e7fb24b743d2b1c4f320da8859bf3ee4f95f08715d48921421dcfcd9f6bc3ca76c1c572b030b09f9117e32c89da7930ba17fd8e94467265bab2ded35553b68520a5f736fc06c561994e5e36df21ddf999370e15b1efd5e42efd57564927066a5cde99590384613598aebb88550723e12a8!
 22019052928ca26de01e30754c67e3c7ab797d61c1c7ced9d91a3dda2e1e66efc78dd0d8752502f41db54cccbb059fffb44fb425905212b442c2d025dd2ee6e837dd42b9d6da37f3f58c77a9e184242766196b15690558b08927154458b0afcbd7c76395784853d54ed3d984678e84ba204b2f95645c2ca113475c525cc521b7cd3c5282969b2fa1745236cadc73046b1e720c8364704f8e076fe919dc5d3042e6ef004199136cd6ce0a449818c06c820cdbcf08bd4b7c619400e4ee7490804c949f3725f0dc127fb88be5585f18ffaf6bcf6eeb7e71122393e17bc938791b9525560a3042b996f033f9f8aa66511ba168a4ac6ed65abe0bc362632a96a75ce751a5b5f595462801bea707abc931e66bdc0eb29825e6740cc3db09d1adfedb5226b7f4d4b202011408004a7ebdfa4a9ab9ee7929e888cc5d2447804b39a364265bb7c748b372f8ea3595e081a75ca57f8072a970488e840a024a4840c37f38201946df252306be0fdc355e6061f5467c4764c9bbb5afad98da2a26024ca47720daf2f7074185f527f5b5ad8414bd849c227eb05d578953ece44c55118b154ea08c5480683366301a4ca2cdd5abc03620a7d3a92241e9f0c4b9357f71edb5c11d1cb701e914c7852c65b7badb2615c2dfdfdd56a968775226bc6a6d232031efcd68c153edcff39295955a7a07a992!
 5ecfc7375c66e203f47b09b712a29b6b6f24e3e17f02ff873e29528f4bd38bc3d13094b!
 1dc87934c59145326524f76e7bab79138d192b7bfb7e9bba78fef8e006349b3a13104683239a51c20e5cc4e8e04f4732a4a9841827689d1464ab4b57e2fba71e9db64fc0ff0ae56bb7afcf9e71ffd02f09328854df5674f45c2c2a0fde22f46079fffddce92dacf974e816b9090a645824440718e804680156902b348c0ca5956e653454232827e3f62f366efcdcdadde1560048ca7d3e9bd5c012842f82fe0edbd0a6e974b2f9d7b2b3c76e6e9de8de0a7cf9c2c84998780645ce40da486bed9d090910731a58dd53c24a4f3d3653286d56b03a2ade8eed557feea2532b680ffc53a28b53c30db0f223cc0e6c65a2247d1eff523ef1bed96fbd8d1c31a9ecc22418e55e437932fb0372e15e1f3528704a3949af77bfad7a1df1fd0eb5df8f76434fc16f03de0dde9747ad7f45900984ea71ff473ef8fbefa3397e3d1f0cfd7aea70c6e53b83933d989ced1e9c0c9e409f24cce9cdde54c9ea15a6ba5e539465dd6fbb0da5ba7bfb136ecbd76e11f642607c06dac102757c0432aef9fffebaffcf1e076f2d2a55752b579592cafd1a115d9e5c76059e1b2a06271f68e04fba5892882cb5722fa37fae9d5cbe7be2ec7c9ebc05b28ebdfb3c77f680a984ea7d3feb58befacfdebb9df8906c9d58b2f174a008892224b0465e161fe6e6e2f48b0951cdd844b9723aede589fac5df9d!
 adf6d6ef5bf0ddc4291dfcc698453fde18394e9747ab7d168bc8123bec427bff867175fe6e3674fb908fd267929f7080cb2d931f6f2bf85bc64d65e0358df80b5b50157afaf4f7a97fff47cfffada3fa2c87d800e7caacf7ba80a00984ea79346a3713ddd4ebe74e6d92f7fedbcf43ef5cc311fbfa5048875d81b6b0166b2c6762457d98360fd6e9499a288b57f2365f5d521fd8dabe3de95737fdfbb76f99f804d94f5c755e89bd2f8b0fe37d86834f6b7db9df6177ff3c5dff7dae12f9f382c1e0997559a2b3f011a9785f19a6a0f30d70b50cef24a09c910ae5e8fe9f523a2cdde7ff72e9f3bdfdfe8bd8cb2fc1635ebfe23510040a3d17804f05ef8ed177f25583efde530f0c2ceb2205c72893395a0901627872d9d46a39ceeaa7b79231942b49572b51f116d0ddfefbffecdb5de2b17be998c867d94d587ec60f97c8e1ff63f47f529ece3dd539fe9ac3cf3c20bc1d2d1e77ccffbb1ce4141bbe5e28a82bdfda6150cd56cc492b13a8e8b366386b712a2e1201b6cadaef77a17ffb97fedf2bfa1841ea0821db99bf0f011280040bf9c2400affbc9cfff54f713679ff35b9d9f6bb78265bf89f07c81df04afe903d6860b1729d589d06094906cc36034201e0dde190e7beb51ffd26aefdae5d7c818a2829c11b03d9d4ee79c3dd7cceda3fcefb07e55cd059e68b796db9d5!
 3bf74323cd8ed0acf3bec3783251c9e148ed88fcad923d51f223329e3efa763797b38ea!
 6fc5b7a3ef4637d6beb3b9d97f134850ff128d5191ec9dbd58bd34a71fc49fa7b522f6038f014dfd79148512f3c677437fcce62c03eea056cc7b2881c7ba7ddf82e773f941fe7b5c2f8d7da870c96407f751086fca1495c6be4ba1880cb8bbd37bc07b9ac30ffbdfe7ff1f872ed1ea082fc13e0000000049454e44ae426082</data>
-    </image>
-    <image name="image1">
-        <data format="PNG" length="5787">89504e470d0a1a0a0000000d4948445200000040000000400806000000aa6971de0000166249444154789ced9a7f701ce779df3f38be07bd4b2dac5d09506e2d40e6caa2c5a3490d019192095b6908ff5045c59986aaeb9968da6925f74746fda7e3f48f468ea79391d349479996e3a8338d43257625792adbd4548ec1ce282653bb069848c271428a8b900c161610ee8e78c1be0297b72fc19740ff78f70e07f087184f1ad71d3e333bcfeddeeded7e9fdfcff3be70936ed24dfa19a39ef2d8f0a31ffcc83b7bf6ec2716ce2e7c1ca894d7ffbfa29eae63c3cca999e1d642eb5fb5165b5f6bb55a7fde6ab5cccad2caca4a6b65a5d56afde0997ff7cc6d5841fccc5207ec5b536f050bef2efcc3858585ffd05a6c1d6eb55a6a65696565cdd145ad566be5ecccd967805b7eca186e983a60bffdcab7dd85b30b0fb7165abfd65a6c7dabb5d89a5903721dd86bd1c2c2c29bc0edc0869f2eb42b698d29bf7df2edfac2bb0bffb4b5d8fa6a6bb135b5d25ad1ad566be5aa1a7e3fbe8ebef86fbff831fe1fb08255539e786b60e1ecc2df6f2db4fe7d6bb17568a5b5d25c69dd20c86bd0d977ceae7cfb956f5ff5bbb7a7defe2dc0bdd117157f4b60017a7e77ffef56f77e76effd35aff6108287800710d41de1509802473857d!
 e7de9fabc30d078738a89370ed338daa01145d46a214a65848321233b47a05afebe0ac160f069e03f010570f9465ffe27015c79ebcfdeba3bdc143e80e0e352c88710dcef08e7560c372edaae97e71264cd8cf123e344c7220e4f4ea0730837d7a96f19a1be7d379ee70390cec54cbdf912cfff97e7d7fedf252e3ff52f9fdaf5c21fbc7012b878a360de17ec8b2fbdf881b1dd633b903c28a5fc04302285fc2080231c0aac863b9abe11211838fce604d11b0d0e1f9d208e13a4f4a9d78709ef1da65e1f410352d0f57f1a8404a3f9caaf3fc1d49f4d5c21c4a963535f7ae0c107fe3370e16f2280eecf95995333f74b291f90523e043c2485dc0a6c6883ea067ba3e0933463e2cd091a6f4cd2684424cd84b1874719de314c3014e2490902b401297c1255a0f2d26d4ad0d28a0029e0e56f3ec7d3fff871c61e1d5bf39cec5cf6a7b7df79fb678105dec70ddac1aa32736a66b794f231040f49214780db28252f8544a32d3796db976215ace9b2041c3253104fc734de9864ea4444238a90c223181a66785bc8e8c375308a643e410a89e339789e67ffd780ca155248a494682d89e634b2eaa32f150068a3c99a09d1b19779e91b2fadb100b87137e801c4cca999cfd4fa6bdfd3465ff1830e78ae02baeb5c29cdd4b106d1f188c6892992731ac70da80d0d136caa137821a01!
 9ae6b2021994fa86fa9136eda0a021c6cd472840d7c6dae55469cc64821896!
 635eabc5502c63efec057ff353ffac1f771fad606d8a937a69e79e0c107f6f33e6ed0037ce0ec3b67df96ae1cc4b056c3d7100646129d89884fc7344e34884f27244ae3bb217220a456ab8390f8ae04e120a5440acdd82e88cf4c11de1b120e8680b4e64cdbecbb9e2f400aa7f3bdca3374ae88d382780eb4b64238fcc707f8957f30c6e39f7b7c4d2cb85137e801ee9e9999f971ad5643296b76eb7d38692ae2d998d9d33127cfc4cc9e4e288c44e32365088e872f2548f05c1f04f8ae07023cd7410a18db6dc18fee1cb5febceacdab96d426b31ae8a49480537e5f80d6446714d15c81d69a42291a470ff0d22b2fad457683d94000b766cdecdd5aad76a7a4f471242a578cbf3aced4899838c9505a8209d026b0a0b12fb7aa418dc4476b8d743d0aa37184446b18db5d10cf468cec182133e0183af72380eec069404a076d0a40a294026105e249072da0bea546a653d27380e7d18862b22cc3f7fdd558001b9efed5a71f7de10f5e38753d0154800dd1e9e88ce3381d5fd7683cd763e244cce1468d380dd17a2bdaf86594b6b0b5c1f24ba5184cd1d19c3d87a0568051d437d529b40423299048e9a371c038e876e829b932945a77906e4061a0c8152acfecef81b19d2154ad7beddebd97f157c7bbc14315c24de12f011bb94e6f50019692f924cab2ac13e529353aba2da!
 46da685b1d1b7cddb81a8ed8b45a1d1edf3f6f7c0701db23c43e374040690e90274c90d6479812e391ab42ed02577a40f4292294da632746edf6a788b873630b2732f075f3d68115d5a3d7ccfdff9e43f7b7290eb54241540378e354ee85c9781c76a4e22a9853502cfdeee083af91eba022294c0a0306bcf3d4f815604b500ad25080f5d6a5c77c03b6b8480b1d70b530adb3814ba006185a094a2d01aa50aeaf7fa788eb5822487a499acb100aad60dae27800dc02d73b373957d8feffb47c1070391e7390830c6207a0587fff438171725c53238150796add8ccb2e97001e865eb3e3d2b40c58165c3673eeea19a318ebc075d716159909b1c8c20d71abd64c8738d5e6a9f5b8e36a896c12c197b8ec02ce580c42c19549e434550ed75c87245deaac28a215f8c19d93662912ddb430a297ffb777efb20360eac5ccd022eaa5c2d26f349dc6956cae227e80fa80792428023db15191d0b685b4a9b6ba36deed6195a6b7ca990529219ebfb59ae415b532e14966bc87245a1a1d0f6fe4c535a84b514a5345a4b1b60a547911768a5c99a0561cdbac1d66d7b38f8eaf85a0b00fc7e7fd79e4fede9e71a93a20ad6632e44711415bae87cd1f6e1708b7fd5f2b69daf3b31a38c05bab026aa5554fed241e516bcd6902885ca3569aed039a4ca720b1274aed15adbdf1bcb33ad499!
 a8a4c6912a540f8c4733169aaf15ddda5188f388eed79a79b2c7a9ffdf2b38f01bdd712!
 80015ae97c1a296535d6aeb200eae1263c974eba6e1749572b8b3b81b1d040515e93a8730a9583ca012dd1055048d4798d2e409dcfd08546e7cade6f28032c6b02adcab50d805aa3724d3497e0b99ecd3e38d4b78f31feddf1cebbb77b937053f86889e00a2ba860aba462fcd0f8b14c651d2db735ebf7fb0403742c608de6056b2da0bc4f6b4d51d8a22a3d9711a719f15c4296695461936dfbbe222f4a37c85045813aaf4183d21acaffc280d299e5e733d4f9822c2f886763eb76da6607af5667fcd0e155f0d806cdebf73eb1e7537beee42ae9b0820d0c17a3e92849e7d3777de9771a1f0c84b5905aadcbe7bb356f568565af97e73ab3e66cac8f4f9d4888a615d19998643e23530a293d10d2c61663cbeb426b9bfe8aac531e03d6622e3916b8d2c4f30ad584ac99967d88229a4e183fd4206e4a4e4e9fec64ab92f73ef79bcf3dca55dc409402b8045c88e3f854f10bc59d1d5065513472afc791497555cdb725ad4d06c2e998af52f67ec7058cb6b5807150798aa73c945be0f5fbb6d7c747690b5a19eb865295e5f0ba54dbb6b40208fa25894a187f3d22535969e51ee3af8f13de1b762cc0c121180c1e03be5edebabcde020cd08ae7e3482babcd367889241c0af0bcb59ab77cd5ccc00153d850516683683ea13ee4a32f954f3045993534a0d1b97d69c7b519474a!
 59c6205b6168a33a9a92ebb28f529a6030209a561df0f6ae9023af4fae99530004fdc155dda01d140c5044c7a3e34933b1357e5745e8f57b360e74c7003452fa14ac5688059435bc053b31394baddf231ce82e9aac05155dee42d909064140d0efe37b1e52503642ab16a7b5264e13e2d984a4a9d8fb709dc33f6c58f0ed6189d1c44dc9d4b1a92ee54041d1fbec6f3e7b851bb4057019d0e37f323ead94bab8a6221412dff5a96fea8a016d4d0808bc00473aaba9128702db064f363200463fe6e30bd9050a9c7656910ea091552be0da408dda50403814e0bbd23654ca46ff2cd7c8b2331cdb69cbf44684bdbf2b3b152660f28793f6395d96100e868fb12e1bb43fac001775ae17a3288ad75b0012c241d91500bbcc51402da8e1f57bf8aebf6a76a640e79a970f45ecdd13e279d8ae4f686407bcd54de75c80465941b992da408037e0e3f77b48896db94581e74ac6767b7ce7d004499a752c60957b8c1f99a0a078df6cd0ed0f1b00f7e1dd0f6fbd7ffbfd5b3165b90bb00cdead92d7fed72c02694bccde7268e1d866a1afcfa7ef0e9f818100105c369a6229a7b938c0e876c983c377d33891e0b97d38bde06d74a117fa363a880ab8b70aa81864afc41150ed95547b0d7dae87eb38f8b7f5d15301b1dcc347eee9612890fcced78e73d9f4613008216059232a1284c095!
 3d6cbdcfe79eda3d00544515b36c368cd447667eefc0ef1da32c95ba05d00338431f1a1!
 a7a70d7833f2f7a05c6186bd6155beb1f9fce499b39a222ca87ba98aaa14ff6751a29d12b18b86300ff8e0164c560901c3f95f3f86321b59ff3393d9bd3272546185c29a88a2aeead12d16bddc39156b8a257238444008e10980a48a78f81db72863feaf15fbff91a8d9302b36c7084c3c0ed55ee0e03367f7880ed1f0de8f37df462c4f0f030d54a9562a9c0a93868f4cafefdfb5fa3ec0dd61706b7e85c8bb147c63e1fdc19d0ee10db03cfb9b3e788df316834a2e26230b81581d9007da20f7a410acf6ae00303f46cb8445f9fc4bbf37e8e9f3acf138f0d11043ea7cf2a3cd7c79155bc3e69cddb95f46d0477a3444870651fb26290bd0e1a832304d5e539c29ae0e5fffe027e05b67eb4ced05d01e1873dee190a705d81eff661960d7dc2676e6682bd9ffe0c06d38905aeebde35febdf1afa769ba082caf1740b5b9d0dcb8f791bd7bc37b4357e79a62b9a02aaa14cb0566a5ca91c97958066340540c7ab99c08f5d8870801b257c0b2b1438f5c0106237cde3899b37b58f2f30fdc4333d3c85b04525acd577b2d7829ad5b5405547bab98e5025901d9ab1042f1cab75e21cbcff3918f6c051d73cf96ade82507b364a82e1b8ad26d0d06630cfe1d9719fae050a77bc550dd5adf1a7de3bf7de3387069bd0b08c0ddb563d7aed1dda39bce2d9ec3c1b6c05551c57505e34!
 7528c314821d0cb1a81442f1b2b841543b5b70f2a02d1eb40a58a942eb94aa022301a26a72e438f66dfa702823bfb104250ad08dc0f08642ff8ae83db0b9e6beba0bbfbab98a526d1c988ef7e3f62fb3d75fabc2aa74f9e66685348f6ee6982da10f992c0d043952a66691e5a7388e594f04383849bc235964c2f2bfbf7efff23e062f7a0a05311a6691aa569faf71c618711ed450fdf7508034914831e88a97f2e4167907c73146534d248b242e3f83e527ae580d4c1f302d2668c9401a03878080ebe1e31f6b11a7b76f9d4b778d8c1389de14ba6329234e1f0999478ae204e6d2a1c3f3acbbe4fd7c140742202617b024b0e5bb7d5a96f0ea90deeb693e77663d719da14d4fa6b9f1cde31ec378e35ceaf9f945c0674743a3a91a98ca016d87157d78acff0b680288e903b23ea3b43b42848a62368d46d992a409f4b904e81d60acfab2185a456aba39ae58b4a074f4a4e4e2b925423658c2f404a9b7aed64c841b5274765cddf2ea20ebe3ec1af3c3a4cd6cc78fe6b2f31b2738427ffc9938c1f1a6753506378e770674e71c53a4629a9e77eebb94f7e72ef275fbcaa00c6ffe778f4e4bf78f2623818de9299acacdcac10ea750fbe0bc9318fc67689a446e64ee298d04e933b8d9142179a2ccb08838060d0a37eef08980cad5599353cb4b6c38ec42874670c065a27a0ed4!
 cc073c1f724d2144817fcfec056960246768c307174020cecfbe57dbcfceacbf8fd3ef5!
 6d75baa7dcdd5dac94922ccf24d0bb5e002bc01290a773e95ff20b6ced984f2984d16d0100014f50cfc690c0d4fcaf513cfa1d38b217afaef07f39223b54a7ce184159c4d8e229c3717d1cd7b7fd429e95d7db454c866334a0f05d8d3728a96fde44d01fe0f7fb76f697269deca46a8a4d439b2874c1c4d1090a53f0f8a38ff3fc579fe7e95f7d9afa8e7a6745cb9776a2ed541d923839fd8527bfd0007aae2600db19cec72774aeb776be69fb9284fae61a134946a240b9df61f4df4468d72179f820e196004fd4f0444c3059d6f2a6dd454ab4ce6ce5271cfcfe005b06177029453a0e5242e00d233d5b82c35a330e6a01499aa07245bd5eb75da6b67d42e3cd065a6bf6eed9cb57fee35778e6cbcf30ba7bd42ebbe7195ae962eac4d4a9dff8f26ffcbecad52260ae362d35402b994f4e266982dfef53e4c59a6f77ef0ce058467c6602bc88625766f764ecb033bbd97c962c9684742fac7ab417437c176a7e81ef6678aead281d19764aeb2b7c76dd1c22a805306f63c2d8eeb13553a3e84484d6f6fa977efd4b3cf1b9271612951c9b3c327966fc8fc76780778119a0092c5d6bc1e096f3ea7cf591471ef9bc7fbb8f59eaaa08b566f38743d23427dc084125a0a10f23ee03799b4b636a9acdff631f230b9f870a885ec3e6bb3cc22118a9f751ffb0e12381c38057a5ef76!
 87aaa8d227fb301583a09d5a4b5e11686379bb2c37cbc64eadb165b3d828b8ffbefb499a09cdc52666d93077668e54a56cbe6f3307bf7b70c36b7ff4daa1683a9a2881c7c01c90014b57b38065e0e2ecfcecbb711cffd5f08ee1bb0a55ac35c37ed9d19087c79ef92ff2f2f417a8477b794a3f4b187a84833e81079e2b515a75cd19bba6cbdd4beface3eb668eed65b4b62f7bd2b30bb4b3b18aa2e8c78d138d779234190c6be130069b1a35d4b7d47b0b5dfc7395aa3f57b98a8045ec50e412b07cad058325e0423c1b9fd25adf05ac89a6086d0724b9ede8c68646784a9e2478d4430addf1c9c214140adb8daddb44d1ae2f3a5d6757dfdf06edb99eed0f846367864ad1986da8e878144f1d9b9a1d3f34fe1769337d0fc3056c06dba8b7e98b5ebff7b19aae11cfc7643a231c0ca5cef57e69e4e7b4d6afb3ba13e9aa2b269d4098a4c9c94c657b10204d976672cd139fad972f6967725a6bb266bcb6e2326bfbf1f5d7bb498af6eab25d554643da4c49d2e442e378e39d93274e9e3972e4c85f46d351825df3cf4b6de6c0f9d272bde844f45e7d4b7d39e80f4631f63f621de3f7fb1bb5d6af60d8a78d3e5cdaf335978c2e03457c3a7e3b4d53c24d21992ad70ecb092cd8494ed23540edb809653e175dbcaba2744a37688fc0ec2e10ddd6f052d488de999a9e8a277f3879!
 aa71ac310fb44a908b5dc7f9f2ba6675d5a70f6845d3d1814df76ec2f19c51cf78a8a62!
 a57ade5ad2a5707817dc061c05c6b935405b803d8f6e2d75ffcded8c3634ea6b2b5e3b02e5fbdde86a8357b8744a9e17200a29a8aac9999c6f146124d47f1d41b53a7278f4ece6aa3db5aed069c979aef067db9d47c7b03c42dd89da221705f6db0f6942ffdd1442568a55747fe5a5f680be15a16d02988a233d199b13d63dbd74c884417d76b0356b70f3bd2820e5c5b3c29a5886623e2284e1a271ab3d1f168e6f0ff3e7c466bdd6dca8bc07be5e736e0a27c9f4b5d80af58e72b85b2d03e49e7d303d4c093de682ad34eaa046e05be0584d713c025e042a6b228cbb3eddd23f1f579b97b0f51e005b6cc95b2ad61264e4f2c4427a2b8113566a68e4e9d4e9b6956026cfbf162d7f98552c34be571f93a80aff6de6b8590a607bc7e0fcff5469551e5169f8e103e78cd6563ca8268369e3da9528557f3ecebad5b0c4142200390a095269e8f49e692f38d638dd978369e3dfcc3c37f91a6e939d66ab80db8ade58b5da0db66bdcc4f4657084135d501e94aa494a33ad794ffbd1fb8743d015c062e4e1d9d6a4471b4bc6fcbbe8a12aae3efd2b5d3daa49910cd45171bd38dd9683a9a898e4733d17434cfda48fd5e795c288fa27cc96eb3fe4901df901074ae0f205994426ed1467f1ff813ae5108b56919d069337d373a164d8c8bf14fd4eb75545e06ae46633e9e8de3288ac!
 e348e3566d7015e1fa9bbfdd8b0aae5ff9bb45e08cb5aeb3fc49afe5f033f06d4f5b6caf660cbb62104c37b3fb5f717bd3eefe7e2b9f8af1ac71ab365e0ba5a6a6a6bb8ad6583056baef690bf03eac12e86dc86cd10b76015f2d7c0f9f7db2b5c053ce043c02036cf5ec26afabd927707ae36e0bf49e0fabba01eec04bcb7e4068be3f28d6c96eec502bfadfc6cb0da6d03fedb085c3f35ba91edf23dd8c24894bc9d877f2601dfa49b74936ed24dba49abf47f00be3fa51eaca8c1fc0000000049454e44ae426082</data>
-    </image>
-</images>
-<connections>
-    <connection>
-        <sender>componentListbox</sender>
-        <signal>itemChanged(QListWidgetItem*)</signal>
-        <receiver>PBM</receiver>
-        <slot>componentSelectionChangedSlot(QListWidgetItem*)</slot>
-    </connection>
-    <connection>
-        <sender>componentInstallButton</sender>
-        <signal>clicked()</signal>
-        <receiver>PBM</receiver>
-        <slot>componentButtonClicked()</slot>
-    </connection>
-</connections>
-<includes>
-    <include location="local" impldecl="in declaration">qprocess.h</include>
-    <include location="global" impldecl="in declaration">kdirwatch.h</include>
-    <include location="global" impldecl="in declaration">qfile.h</include>
-    <include location="global" impldecl="in declaration">kmessagebox.h</include>
-    <include location="global" impldecl="in declaration">Q3ValueList</include>
-    <include location="local" impldecl="in declaration">pbi.h</include>
-    <include location="local" impldecl="in implementation">pbm.ui.h</include>
-</includes>
-<variables>
-    <variable access="private">QProcess *InfoWindow;</variable>
-    <variable access="private">QProcess *installComponentProc;</variable>
-    <variable access="private">QProcess *removeComponentProc;</variable>
-    <variable access="private">int ComponentWorkingItem;</variable>
-    <variable access="private">int ComponentInstalled[500];</variable>
-    <variable access="private">QString ComponentDir[500];</variable>
-    <variable access="private">QString ComponentDescr[500];</variable>
-    <variable access="private">QString ComponentName[500];</variable>
-    <variable access="private">QProcess *RemoveScript;</variable>
-    <variable access="private">QProcess *CheckRoot;</variable>
-    <variable access="private">QString RealUserName;</variable>
-    <variable access="private">QProcess *RemoveFile;</variable>
-    <variable access="private">QProcess *RemoveFile1;</variable>
-    <variable access="private">QProcess *RemoveFile2;</variable>
-    <variable access="private">QProcess *RemoveFile3;</variable>
-    <variable access="private">QProcess *RemoveFile4;</variable>
-    <variable access="private">QProcess *RemoveFile5;</variable>
-    <variable access="private">KDirWatch *fileWatcher;</variable>
-</variables>
-<slots>
-    <slot access="private">RemoveButtonSlot()</slot>
-    <slot access="private">PopulateList()</slot>
-    <slot>CleanPackageList( QValueList&lt;PBI *&gt; * pbiList )</slot>
-    <slot access="private">CheckRootSlot()</slot>
-    <slot>CheckScriptSlot( PBI * pbi )</slot>
-    <slot access="private">installComponentSlot()</slot>
-    <slot access="private">removeComponentSlot()</slot>
-    <slot access="private" returnType="bool">checkComponentSlot( int component )</slot>
-    <slot access="private">refreshComponentsSlot()</slot>
-    <slot access="private">componentSelectionChangedSlot( QListWidgetItem * )</slot>
-    <slot access="private">componentButtonClicked()</slot>
-    <slot access="private">removeComponentFinishedSlot()</slot>
-    <slot access="private">installComponentFinishedSlot()</slot>
-</slots>
-<functions>
-    <function>ProgramInit()</function>
-    <function access="private">RemoveFiles( PBI * pbi )</function>
-    <function access="private">loadComponents()</function>
-    <function access="private" returnType="QString">bytesToHumanReadable( float bytes )</function>
-    <function access="private" returnType="int">getDirSize( QString path )</function>
-</functions>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+           </item>
+           <item>
+            <widget class="QLabel" name="textLabel1" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="text" >
+              <string>Available system components</string>
+             </property>
+             <property name="wordWrap" >
+              <bool>false</bool>
+             </property>
+            </widget>
+           </item>
+          </layout>
+         </item>
+         <item>
+          <widget class="QListWidget" name="componentListbox" />
+         </item>
+         <item>
+          <layout class="QHBoxLayout" >
+           <item>
+            <widget class="QPushButton" name="componentInstallButton" >
+             <property name="sizePolicy" >
+              <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
+               <horstretch>0</horstretch>
+               <verstretch>0</verstretch>
+              </sizepolicy>
+             </property>
+             <property name="text" >
+              <string>&amp;Install</string>
+             </property>
+             <property name="shortcut" >
+              <string>Alt+I</string>
+             </property>
+            </widget>
+           </item>
+           <item>
+            <spacer name="spacer1_2" >
+             <property name="orientation" >
+              <enum>Qt::Horizontal</enum>
+             </property>
+             <property name="sizeType" >
+              <enum>QSizePolicy::Expanding</enum>
+             </property>
+             <property name="sizeHint" stdset="0" >
+              <size>
+               <width>202</width>
+               <height>31</height>
+              </size>
+             </property>
+            </spacer>
+           </item>
+          </layout>
+         </item>
+        </layout>
+       </item>
+      </layout>
+     </widget>
+    </widget>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <includes>
+  <include location="local" >q3process.h</include>
+  <include location="global" >kdirwatch.h</include>
+  <include location="global" >qfile.h</include>
+  <include location="global" >kmessagebox.h</include>
+  <include location="global" >Q3ValueList</include>
+  <include location="local" >pbi.h</include>
+ </includes>
+ <resources>
+  <include location="PBM.qrc" />
+ </resources>
+ <connections>
+  <connection>
+   <sender>componentListbox</sender>
+   <signal>itemChanged(QListWidgetItem*)</signal>
+   <receiver>PBM</receiver>
+   <slot>componentSelectionChangedSlot(QListWidgetItem*)</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>componentInstallButton</sender>
+   <signal>clicked()</signal>
+   <receiver>PBM</receiver>
+   <slot>componentButtonClicked()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>

Deleted: pcbsd/trunk/kcmPBMsource/pbm.ui.h



More information about the Commits mailing list