On 09.05.2008 17:37, Darshaka Pathirana wrote:
> On 08.05.2008 20:07, Darshaka Pathirana wrote:
>> On 08.05.2008 19:59, Darshaka Pathirana wrote:
>>> # HG changeset patch
>>> # User Darshaka Pathirana <[EMAIL PROTECTED]>
>>> # Date 1210256182 -7200
>>> # Node ID a5ffd9ba3ad442fa9f20bfc8cd201d690bf31f8b
>>> # Parent  46556a5ca9a8b977739ff5294233ff097be11ce0
>>> fixed dialpad-skin-dropdown width
>> The dialpad-skin-dropdown used to be much too small. This patch
>> should fix it. Any comments would be very welcome.
>
> Ok. We have some problems building qutecom with this patch using Qt
> 4.2 libs. The patch uses margin properties which unfortunatly were
> introduced in Qt 4.3[1]:

Ok. This patch is Qt 4.2.3-based (comments are welcome):

diff -r e18c44432190 wengophone/src/presentation/qt/DialpadWidget.ui
--- a/wengophone/src/presentation/qt/DialpadWidget.ui   Mon Jan 28 20:19:41 
2008 +0100
+++ b/wengophone/src/presentation/qt/DialpadWidget.ui   Sat May 10 12:42:27 
2008 +0200
@@ -1,7 +1,4 @@
 <ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
  <class>DialpadWidget</class>
  <widget class="QWidget" name="DialpadWidget" >
   <property name="geometry" >
@@ -41,25 +38,46 @@
           <property name="orientation" >
            <enum>Qt::Horizontal</enum>
           </property>
+          <property name="sizeType" >
+           <enum>QSizePolicy::Maximum</enum>
+          </property>
           <property name="sizeHint" >
            <size>
-            <width>127</width>
+            <width>100</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
         <item>
-         <widget class="UpQComboBox" name="audioSmileysComboBox" />
+         <widget class="UpQComboBox" name="audioSmileysComboBox" >
+          <property name="sizePolicy" >
+           <sizepolicy>
+            <hsizetype>0</hsizetype>
+            <vsizetype>13</vsizetype>
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+           </sizepolicy>
+          </property>
+          <property name="minimumSize" >
+           <size>
+            <width>150</width>
+            <height>0</height>
+           </size>
+          </property>
+         </widget>
         </item>
         <item>
          <spacer>
           <property name="orientation" >
            <enum>Qt::Horizontal</enum>
           </property>
+          <property name="sizeType" >
+           <enum>QSizePolicy::Maximum</enum>
+          </property>
           <property name="sizeHint" >
            <size>
-            <width>127</width>
+            <width>100</width>
             <height>20</height>
            </size>
           </property>
@@ -389,21 +407,17 @@
    </item>
   </layout>
  </widget>
- <pixmapfunction></pixmapfunction>
  <customwidgets>
   <customwidget>
    <class>UpQComboBox</class>
    <extends>QComboBox</extends>
    <header>qtutil/UpQComboBox.h</header>
-   <container>0</container>
-   <pixmap></pixmap>
   </customwidget>
   <customwidget>
    <class>QtSVGDialpad</class>
    <extends>QFrame</extends>
    <header>QtSVGDialpad.h</header>
-   <container>0</container>
-   <pixmap></pixmap>
+   <container>1</container>
   </customwidget>
  </customwidgets>
  <resources>


_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to