[Uludag-commits] r10129 - trunk/tasma/service-manager/src

svn-uludag at uludag.org.tr svn-uludag at uludag.org.tr
2 Kas 2006 Per 22:57:49 EET


Author: bahadir.kandemir
Date: Thu Nov  2 22:57:49 2006
New Revision: 10129

Modified:
   trunk/tasma/service-manager/src/mainform.ui
   trunk/tasma/service-manager/src/service-manager.py
Log:
Kozmetik değişiklikler

Modified: trunk/tasma/service-manager/src/mainform.ui
=================================================================
--- trunk/tasma/service-manager/src/mainform.ui	(original)
+++ trunk/tasma/service-manager/src/mainform.ui	Thu Nov  2 22:57:49 2006
@@ -9,7 +9,7 @@
             <x>0</x>
             <y>0</y>
             <width>590</width>
-            <height>431</height>
+            <height>521</height>
         </rect>
     </property>
     <property name="caption">
@@ -60,20 +60,42 @@
                 <bool>true</bool>
             </property>
         </widget>
-        <widget class="QFrame" row="0" column="1">
+        <widget class="QCheckBox" row="2" column="0">
+            <property name="name">
+                <cstring>checkServersOnly</cstring>
+            </property>
+            <property name="text">
+                <string>&amp;List servers only.</string>
+            </property>
+            <property name="accel">
+                <string>Alt+L</string>
+            </property>
+            <property name="checked">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QFrame" row="1" column="0">
             <property name="name">
                 <cstring>frame3</cstring>
             </property>
+            <property name="sizePolicy">
+                <sizepolicy>
+                    <hsizetype>5</hsizetype>
+                    <vsizetype>5</vsizetype>
+                    <horstretch>0</horstretch>
+                    <verstretch>0</verstretch>
+                </sizepolicy>
+            </property>
             <property name="minimumSize">
                 <size>
-                    <width>180</width>
+                    <width>0</width>
                     <height>0</height>
                 </size>
             </property>
             <property name="maximumSize">
                 <size>
-                    <width>250</width>
-                    <height>32767</height>
+                    <width>32767</width>
+                    <height>200</height>
                 </size>
             </property>
             <property name="frameShape">
@@ -86,49 +108,16 @@
                 <property name="name">
                     <cstring>unnamed</cstring>
                 </property>
-                <widget class="QPushButton" row="4" column="0">
-                    <property name="name">
-                        <cstring>buttonStart</cstring>
-                    </property>
-                    <property name="enabled">
-                        <bool>true</bool>
-                    </property>
-                    <property name="text">
-                        <string></string>
-                    </property>
-                    <property name="toolTip" stdset="0">
-                        <string>Start</string>
-                    </property>
-                </widget>
-                <widget class="QPushButton" row="4" column="1">
-                    <property name="name">
-                        <cstring>buttonStop</cstring>
-                    </property>
-                    <property name="enabled">
-                        <bool>true</bool>
-                    </property>
-                    <property name="text">
-                        <string></string>
-                    </property>
-                    <property name="toolTip" stdset="0">
-                        <string>Stop</string>
-                    </property>
-                </widget>
-                <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
-                    <property name="name">
-                        <cstring>textInformation</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Select a service from list.</string>
-                    </property>
-                    <property name="alignment">
-                        <set>WordBreak|AlignTop|AlignLeft</set>
-                    </property>
-                </widget>
-                <widget class="QButtonGroup" row="2" column="0" rowspan="1" colspan="2">
+                <widget class="QButtonGroup" row="0" column="1">
                     <property name="name">
                         <cstring>buttonGroup2</cstring>
                     </property>
+                    <property name="maximumSize">
+                        <size>
+                            <width>180</width>
+                            <height>32767</height>
+                        </size>
+                    </property>
                     <property name="frameShape">
                         <enum>NoFrame</enum>
                     </property>
@@ -138,6 +127,9 @@
                     <property name="title">
                         <string></string>
                     </property>
+                    <property name="alignment">
+                        <set>AlignVCenter</set>
+                    </property>
                     <grid>
                         <property name="name">
                             <cstring>unnamed</cstring>
@@ -166,56 +158,81 @@
                         </widget>
                     </grid>
                 </widget>
-                <spacer row="1" column="0" rowspan="1" colspan="2">
+                <widget class="QLabel" row="0" column="0">
                     <property name="name">
-                        <cstring>spacer2</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Vertical</enum>
+                        <cstring>textInformation</cstring>
                     </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
+                    <property name="text">
+                        <string>Select a service from list.</string>
                     </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>101</width>
-                            <height>150</height>
-                        </size>
+                    <property name="alignment">
+                        <set>WordBreak|AlignTop|AlignLeft</set>
                     </property>
-                </spacer>
-                <spacer row="3" column="0" rowspan="1" colspan="2">
+                </widget>
+                <widget class="QLayoutWidget" row="0" column="2">
                     <property name="name">
-                        <cstring>spacer2_2</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Vertical</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Fixed</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>41</width>
-                            <height>30</height>
-                        </size>
+                        <cstring>layout2</cstring>
                     </property>
-                </spacer>
+                    <vbox>
+                        <property name="name">
+                            <cstring>unnamed</cstring>
+                        </property>
+                        <widget class="QPushButton">
+                            <property name="name">
+                                <cstring>buttonStart</cstring>
+                            </property>
+                            <property name="enabled">
+                                <bool>true</bool>
+                            </property>
+                            <property name="minimumSize">
+                                <size>
+                                    <width>32</width>
+                                    <height>32</height>
+                                </size>
+                            </property>
+                            <property name="maximumSize">
+                                <size>
+                                    <width>64</width>
+                                    <height>64</height>
+                                </size>
+                            </property>
+                            <property name="text">
+                                <string></string>
+                            </property>
+                            <property name="toolTip" stdset="0">
+                                <string>Start</string>
+                            </property>
+                        </widget>
+                        <widget class="QPushButton">
+                            <property name="name">
+                                <cstring>buttonStop</cstring>
+                            </property>
+                            <property name="enabled">
+                                <bool>true</bool>
+                            </property>
+                            <property name="minimumSize">
+                                <size>
+                                    <width>32</width>
+                                    <height>32</height>
+                                </size>
+                            </property>
+                            <property name="maximumSize">
+                                <size>
+                                    <width>64</width>
+                                    <height>64</height>
+                                </size>
+                            </property>
+                            <property name="text">
+                                <string></string>
+                            </property>
+                            <property name="toolTip" stdset="0">
+                                <string>Stop</string>
+                            </property>
+                        </widget>
+                    </vbox>
+                </widget>
             </grid>
         </widget>
-        <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="2">
-            <property name="name">
-                <cstring>checkServersOnly</cstring>
-            </property>
-            <property name="text">
-                <string>&amp;List servers only.</string>
-            </property>
-            <property name="accel">
-                <string>Alt+L</string>
-            </property>
-            <property name="checked">
-                <bool>true</bool>
-            </property>
-        </widget>
     </grid>
 </widget>
 <layoutdefaults spacing="6" margin="11"/>

Modified: trunk/tasma/service-manager/src/service-manager.py
=================================================================
--- trunk/tasma/service-manager/src/service-manager.py	(original)
+++ trunk/tasma/service-manager/src/service-manager.py	Thu Nov  2 22:57:49 2006
@@ -87,7 +87,7 @@
         if state:
             self.setPixmap(0, loadIcon('player_play'))
         else:
-            self.setPixmap(0, loadIcon('player_stop'))
+            self.setPixmap(0, QPixmap())
 
     def setAutoStart(self, autostart):
         self.autostart = autostart


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi