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

List:       kde-commits
Subject:    playground/utils/filelight/src/part
From:       Friedrich W. H. Kossebau <kossebau () kde ! org>
Date:       2010-03-25 14:11:03
Message-ID: 20100325141103.D7FEEAC876 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1107386 by kossebau:

fixed: also disable minFontPitchLabel if no varyLabelFontSizes

 M  +1 -1      dialog.ui  
 M  +2 -0      settingsDialog.cpp  


--- trunk/playground/utils/filelight/src/part/dialog.ui #1107385:1107386
@@ -343,7 +343,7 @@
           </spacer>
          </item>
          <item>
-          <widget class="QLabel" name="textLabel2">
+          <widget class="QLabel" name="minFontPitchLabel">
            <property name="enabled">
             <bool>true</bool>
            </property>
--- trunk/playground/utils/filelight/src/part/settingsDialog.cpp #1107385:1107386
@@ -120,6 +120,7 @@
     useAntialiasing->setChecked(Config::antialias);
 
     varyLabelFontSizes->setChecked(Config::varyLabelFontSizes);
+    minFontPitchLabel->setEnabled(Config::varyLabelFontSizes);
     minFontPitch->setEnabled(Config::varyLabelFontSizes);
     minFontPitch->setValue(Config::minFontPitch);
     showSmallFiles->setChecked(Config::showSmallFiles);
@@ -207,6 +208,7 @@
 void SettingsDialog::toggleVaryLabelFontSizes(bool b)
 {
     Config::varyLabelFontSizes = b;
+    minFontPitchLabel->setEnabled(b);
     minFontPitch->setEnabled(b);
     emit canvasIsDirty(0);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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