[PC-BSD Commits] r16235 - in pcbsd/current/src-qt4/EasyPBI: . icons

svn at pcbsd.org svn at pcbsd.org
Tue Apr 3 18:21:51 PDT 2012


Author: kenmoore
Date: 2012-04-04 01:21:50 +0000 (Wed, 04 Apr 2012)
New Revision: 16235

Added:
   pcbsd/current/src-qt4/EasyPBI/icons/questionmark.png
Modified:
   pcbsd/current/src-qt4/EasyPBI/EasyPBI.qrc
   pcbsd/current/src-qt4/EasyPBI/mainwindow.ui
Log:
Clean up the EasyPBI interface a bit, move some elements around



Modified: pcbsd/current/src-qt4/EasyPBI/EasyPBI.qrc
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/EasyPBI.qrc	2012-04-04 00:24:17 UTC (rev 16234)
+++ pcbsd/current/src-qt4/EasyPBI/EasyPBI.qrc	2012-04-04 01:21:50 UTC (rev 16235)
@@ -1,5 +1,6 @@
 <RCC>
   <qresource prefix="png">
+    <file>icons/questionmark.png</file>
     <file>icons/save.png</file>
     <file>icons/refresh.png</file>
     <file>icons/add.png</file>

Index: pcbsd/current/src-qt4/EasyPBI/icons/questionmark.png
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/icons/questionmark.png	2012-04-04 00:24:17 UTC (rev 16234)
+++ pcbsd/current/src-qt4/EasyPBI/icons/questionmark.png	2012-04-04 01:21:50 UTC (rev 16235)

Property changes on: pcbsd/current/src-qt4/EasyPBI/icons/questionmark.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/png
Modified: pcbsd/current/src-qt4/EasyPBI/mainwindow.ui
===================================================================
--- pcbsd/current/src-qt4/EasyPBI/mainwindow.ui	2012-04-04 00:24:17 UTC (rev 16234)
+++ pcbsd/current/src-qt4/EasyPBI/mainwindow.ui	2012-04-04 01:21:50 UTC (rev 16235)
@@ -18,13 +18,23 @@
     <normaloff>:/png/EasyPBIicon.png</normaloff>:/png/EasyPBIicon.png</iconset>
   </property>
   <widget class="QWidget" name="centralWidget">
-   <layout class="QVBoxLayout" name="verticalLayout">
+   <layout class="QHBoxLayout" name="horizontalLayout_3">
     <item>
      <widget class="QTabWidget" name="tabWidget">
+      <property name="tabPosition">
+       <enum>QTabWidget::West</enum>
+      </property>
+      <property name="tabShape">
+       <enum>QTabWidget::Rounded</enum>
+      </property>
       <property name="currentIndex">
-       <number>0</number>
+       <number>2</number>
       </property>
       <widget class="QWidget" name="tabModules">
+       <attribute name="icon">
+        <iconset resource="EasyPBI.qrc">
+         <normaloff>:/png/icons/add.png</normaloff>:/png/icons/add.png</iconset>
+       </attribute>
        <attribute name="title">
         <string>Create Module</string>
        </attribute>
@@ -87,18 +97,6 @@
             </property>
            </widget>
           </item>
-          <item row="0" column="3">
-           <widget class="QPushButton" name="pushResetModule">
-            <property name="font">
-             <font>
-              <italic>true</italic>
-             </font>
-            </property>
-            <property name="text">
-             <string>Reset Form</string>
-            </property>
-           </widget>
-          </item>
           <item row="9" column="3">
            <widget class="QCheckBox" name="gui_app">
             <property name="text">
@@ -160,8 +158,21 @@
          </widget>
         </item>
         <item>
-         <layout class="QGridLayout" name="gridLayout_2">
-          <item row="0" column="1">
+         <layout class="QHBoxLayout" name="horizontalLayout_13">
+          <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="create_button">
             <property name="enabled">
              <bool>true</bool>
@@ -181,36 +192,32 @@
             </property>
            </widget>
           </item>
-          <item row="0" column="0">
-           <spacer name="horizontalSpacer">
-            <property name="orientation">
-             <enum>Qt::Horizontal</enum>
+          <item>
+           <widget class="QPushButton" name="pushResetModule">
+            <property name="font">
+             <font>
+              <italic>true</italic>
+             </font>
             </property>
-            <property name="sizeHint" stdset="0">
-             <size>
-              <width>40</width>
-              <height>20</height>
-             </size>
+            <property name="text">
+             <string>Reset Form</string>
             </property>
-           </spacer>
-          </item>
-          <item row="0" column="2">
-           <spacer name="horizontalSpacer_2">
-            <property name="orientation">
-             <enum>Qt::Horizontal</enum>
+            <property name="icon">
+             <iconset resource="EasyPBI.qrc">
+              <normaloff>:/png/icons/refresh.png</normaloff>:/png/icons/refresh.png</iconset>
             </property>
-            <property name="sizeHint" stdset="0">
-             <size>
-              <width>40</width>
-              <height>20</height>
-             </size>
-            </property>
-           </spacer>
+           </widget>
           </item>
          </layout>
         </item>
         <item>
          <widget class="QLabel" name="status_bar">
+          <property name="sizePolicy">
+           <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+           </sizepolicy>
+          </property>
           <property name="minimumSize">
            <size>
             <width>515</width>
@@ -241,9 +248,26 @@
           </property>
          </widget>
         </item>
+        <item>
+         <spacer name="verticalSpacer_4">
+          <property name="orientation">
+           <enum>Qt::Vertical</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>20</width>
+            <height>40</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
        </layout>
       </widget>
       <widget class="QWidget" name="tabPBI">
+       <attribute name="icon">
+        <iconset resource="EasyPBI.qrc">
+         <normaloff>:/png/icons/configure.png</normaloff>:/png/icons/configure.png</iconset>
+       </attribute>
        <attribute name="title">
         <string>Build PBI</string>
        </attribute>
@@ -346,6 +370,14 @@
         </item>
         <item>
          <widget class="Line" name="line_2">
+          <property name="font">
+           <font>
+            <pointsize>9</pointsize>
+           </font>
+          </property>
+          <property name="lineWidth">
+           <number>1</number>
+          </property>
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
@@ -462,6 +494,10 @@
        </layout>
       </widget>
       <widget class="QWidget" name="tabEditor">
+       <attribute name="icon">
+        <iconset resource="EasyPBI.qrc">
+         <normaloff>:/png/icons/refresh.png</normaloff>:/png/icons/refresh.png</iconset>
+       </attribute>
        <attribute name="title">
         <string>Module Editor</string>
        </attribute>
@@ -510,6 +546,10 @@
             <property name="text">
              <string>View Port Info</string>
             </property>
+            <property name="icon">
+             <iconset resource="EasyPBI.qrc">
+              <normaloff>:/png/icons/questionmark.png</normaloff>:/png/icons/questionmark.png</iconset>
+            </property>
            </widget>
           </item>
           <item>
@@ -672,19 +712,6 @@
               </property>
              </widget>
             </item>
-            <item row="5" column="1">
-             <widget class="QComboBox" name="listMkPortBefore">
-              <property name="sizePolicy">
-               <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
-                <horstretch>0</horstretch>
-                <verstretch>0</verstretch>
-               </sizepolicy>
-              </property>
-             </widget>
-            </item>
-            <item row="8" column="1">
-             <widget class="QComboBox" name="listMkPortAfter"/>
-            </item>
             <item row="9" column="2">
              <widget class="QLineEdit" name="newMkOpts">
               <property name="sizePolicy">
@@ -718,7 +745,7 @@
               </property>
              </spacer>
             </item>
-            <item row="11" column="2">
+            <item row="11" column="0" colspan="3">
              <widget class="Line" name="line_5">
               <property name="orientation">
                <enum>Qt::Horizontal</enum>
@@ -728,6 +755,16 @@
             <item row="5" column="2">
              <layout class="QHBoxLayout" name="horizontalLayout_10">
               <item>
+               <widget class="QComboBox" name="listMkPortBefore">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+               </widget>
+              </item>
+              <item>
                <widget class="QPushButton" name="pushAddPortBefore">
                 <property name="sizePolicy">
                  <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
@@ -736,7 +773,7 @@
                  </sizepolicy>
                 </property>
                 <property name="text">
-                 <string>Add Port</string>
+                 <string/>
                 </property>
                 <property name="icon">
                  <iconset resource="EasyPBI.qrc">
@@ -747,7 +784,7 @@
               <item>
                <widget class="QPushButton" name="pushRemovePortBefore">
                 <property name="text">
-                 <string>Remove Port</string>
+                 <string/>
                 </property>
                 <property name="icon">
                  <iconset resource="EasyPBI.qrc">
@@ -760,9 +797,19 @@
             <item row="8" column="2">
              <layout class="QHBoxLayout" name="horizontalLayout_11">
               <item>
+               <widget class="QComboBox" name="listMkPortAfter">
+                <property name="sizePolicy">
+                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+                  <horstretch>0</horstretch>
+                  <verstretch>0</verstretch>
+                 </sizepolicy>
+                </property>
+               </widget>
+              </item>
+              <item>
                <widget class="QPushButton" name="pushAddPortAfter">
                 <property name="text">
-                 <string>Add Port</string>
+                 <string/>
                 </property>
                 <property name="icon">
                  <iconset resource="EasyPBI.qrc">
@@ -773,7 +820,7 @@
               <item>
                <widget class="QPushButton" name="pushRemovePortAfter">
                 <property name="text">
-                 <string>Remove Port</string>
+                 <string/>
                 </property>
                 <property name="icon">
                  <iconset resource="EasyPBI.qrc">
@@ -786,6 +833,19 @@
             <item row="12" column="2">
              <layout class="QHBoxLayout" name="horizontalLayout_12">
               <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>
+              <item>
                <widget class="QPushButton" name="pushSavePbiConf">
                 <property name="text">
                  <string>Save </string>
@@ -815,12 +875,32 @@
            <attribute name="title">
             <string>Resources</string>
            </attribute>
-           <layout class="QVBoxLayout" name="verticalLayout_6">
+           <layout class="QHBoxLayout" name="horizontalLayout_14">
             <item>
-             <widget class="QListWidget" name="listCurrentResources"/>
+             <layout class="QVBoxLayout" name="verticalLayout_6">
+              <item>
+               <widget class="QLabel" name="label_26">
+                <property name="font">
+                 <font>
+                  <weight>75</weight>
+                  <bold>true</bold>
+                 </font>
+                </property>
+                <property name="text">
+                 <string>Current Resources</string>
+                </property>
+                <property name="alignment">
+                 <set>Qt::AlignCenter</set>
+                </property>
+               </widget>
+              </item>
+              <item>
+               <widget class="QListWidget" name="listCurrentResources"/>
+              </item>
+             </layout>
             </item>
             <item>
-             <layout class="QHBoxLayout" name="horizontalLayout_3">
+             <layout class="QVBoxLayout" name="verticalLayout">
               <item>
                <widget class="QPushButton" name="pushAddResource">
                 <property name="text">
@@ -844,22 +924,9 @@
                </widget>
               </item>
               <item>
-               <spacer name="horizontalSpacer_4">
-                <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="pushRefreshResources">
                 <property name="text">
-                 <string>Refresh</string>
+                 <string>Update List</string>
                 </property>
                 <property name="icon">
                  <iconset resource="EasyPBI.qrc">
@@ -867,6 +934,19 @@
                 </property>
                </widget>
               </item>
+              <item>
+               <spacer name="verticalSpacer_5">
+                <property name="orientation">
+                 <enum>Qt::Vertical</enum>
+                </property>
+                <property name="sizeHint" stdset="0">
+                 <size>
+                  <width>20</width>
+                  <height>40</height>
+                 </size>
+                </property>
+               </spacer>
+              </item>
              </layout>
             </item>
            </layout>
@@ -1153,7 +1233,7 @@
             </item>
             <item>
              <layout class="QGridLayout" name="gridLayout_8">
-              <item row="0" column="0">
+              <item row="1" column="0">
                <widget class="QLabel" name="label_24">
                 <property name="text">
                  <string>Binary</string>
@@ -1163,7 +1243,7 @@
                 </property>
                </widget>
               </item>
-              <item row="4" column="0" colspan="3">
+              <item row="5" column="0" colspan="3">
                <widget class="Line" name="line_6">
                 <property name="font">
                  <font>
@@ -1179,7 +1259,7 @@
                 </property>
                </widget>
               </item>
-              <item row="6" column="1">
+              <item row="7" column="1">
                <widget class="QPushButton" name="pushClearLinkChanges">
                 <property name="text">
                  <string>Clear Changes</string>
@@ -1190,7 +1270,7 @@
                 </property>
                </widget>
               </item>
-              <item row="6" column="0">
+              <item row="7" column="0">
                <widget class="QPushButton" name="pushAddLink">
                 <property name="text">
                  <string>Add Link</string>
@@ -1201,10 +1281,10 @@
                 </property>
                </widget>
               </item>
-              <item row="3" column="0">
+              <item row="4" column="0">
                <widget class="QLineEdit" name="lineLinkBin"/>
               </item>
-              <item row="0" column="1">
+              <item row="1" column="1">
                <widget class="QLabel" name="label_25">
                 <property name="text">
                  <string>Action</string>
@@ -1214,10 +1294,10 @@
                 </property>
                </widget>
               </item>
-              <item row="2" column="0">
+              <item row="3" column="0">
                <widget class="QComboBox" name="listLinkBins"/>
               </item>
-              <item row="3" column="1">
+              <item row="4" column="1">
                <layout class="QHBoxLayout" name="horizontalLayout_9">
                 <item>
                  <widget class="QComboBox" name="listLinkTypesAvailable"/>
@@ -1225,7 +1305,7 @@
                 <item>
                  <widget class="QPushButton" name="pushAddLinkType">
                   <property name="text">
-                   <string>Add</string>
+                   <string/>
                   </property>
                   <property name="icon">
                    <iconset resource="EasyPBI.qrc">
@@ -1235,7 +1315,7 @@
                 </item>
                </layout>
               </item>
-              <item row="7" column="1">
+              <item row="8" column="1">
                <spacer name="verticalSpacer_3">
                 <property name="orientation">
                  <enum>Qt::Vertical</enum>
@@ -1248,13 +1328,29 @@
                 </property>
                </spacer>
               </item>
-              <item row="2" column="1">
+              <item row="3" column="1">
                <widget class="QLineEdit" name="lineLinkType">
                 <property name="readOnly">
                  <bool>true</bool>
                 </property>
                </widget>
               </item>
+              <item row="0" column="0" colspan="2">
+               <widget class="QLabel" name="label_27">
+                <property name="font">
+                 <font>
+                  <weight>75</weight>
+                  <bold>true</bold>
+                 </font>
+                </property>
+                <property name="text">
+                 <string>New Links</string>
+                </property>
+                <property name="alignment">
+                 <set>Qt::AlignCenter</set>
+                </property>
+               </widget>
+              </item>
              </layout>
             </item>
            </layout>



More information about the Commits mailing list