[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/runtime/knetattach
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2009-05-12 0:07:29
Message-ID: 1242086849.291669.6138.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 966845 by cfeck:

Do not hardcode font pointsize


 M  +5 -0      knetattach.cpp  
 M  +0 -5      knetattach.ui  


--- trunk/KDE/kdebase/runtime/knetattach/knetattach.cpp #966844:966845
@@ -39,6 +39,11 @@
 {
     setupUi( this );
 
+    QFont f = font();
+    f.setPointSizeF( f.pointSizeF() * 1.41 );
+    f.setBold( true );
+    setTitleFont( f );
+
     connect(_recent, SIGNAL(toggled(bool)), _recentConnectionName, \
                SLOT(setEnabled(bool)));
     connect(_connectionName, SIGNAL(textChanged(const QString&)), this, \
                SLOT(updateParametersPageStatus()));
     connect(_user, SIGNAL(textChanged(const QString&)), this, \
                SLOT(updateParametersPageStatus()));
--- trunk/KDE/kdebase/runtime/knetattach/knetattach.ui #966844:966845
@@ -12,11 +12,6 @@
   <property name="windowTitle" >
    <string>Network Folder Wizard</string>
   </property>
-  <property name="titleFont" >
-   <font>
-    <pointsize>16</pointsize>
-   </font>
-  </property>
   <widget class="QWidget" name="_folderType" >
    <attribute name="title" >
     <string>Add Network Folder</string>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic