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

List:       kde-commits
Subject:    kdenetwork/kopete/kopete/config/appearance
From:       Richard Smith <kde () metafoo ! co ! uk>
Date:       2004-06-13 13:56:29
Message-ID: 20040613135629.E91A090DA () office ! kde ! org
[Download RAW message or body]

CVS commit by lilachaze: 

Added config option for item folding/unfolding on visibility changes


  M +4 -0      appearanceconfig.cpp   1.34
  M +13 -2     appearanceconfig_contactlist.ui   1.5


--- kdenetwork/kopete/kopete/config/appearance/appearanceconfig.cpp  #1.33:1.34
@@ -162,4 +162,6 @@ AppearanceConfig::AppearanceConfig(QWidg
         connect(mPrfsContactList->mFadeVisibility, SIGNAL(toggled(bool)),
                 this, SLOT(emitChanged()));
+        connect(mPrfsContactList->mFoldVisibility, SIGNAL(toggled(bool)),
+                this, SLOT(emitChanged()));
 
         // don't enable the checkbox if XRender is not available
@@ -242,4 +244,5 @@ void AppearanceConfig::save()
         p->setContactListAnimation(mPrfsContactList->mAnimateChanges->isChecked());
         p->setContactListFading(mPrfsContactList->mFadeVisibility->isChecked());
+        p->setContactListFolding(mPrfsContactList->mFoldVisibility->isChecked());
 
         // "Colors & Fonts" TAB =====================================================
@@ -305,4 +308,5 @@ void AppearanceConfig::load()
         mPrfsContactList->mAnimateChanges->setChecked( p->contactListAnimation() );
         mPrfsContactList->mFadeVisibility->setChecked( p->contactListFading() && HAVE_XRENDER );
+        mPrfsContactList->mFoldVisibility->setChecked( p->contactListFolding() );
 
         // "Colors & Fonts" TAB =====================================================

--- kdenetwork/kopete/kopete/config/appearance/appearanceconfig_contactlist.ui  #1.4:1.5
@@ -10,5 +10,5 @@
             <y>0</y>
             <width>480</width>
-            <height>475</height>
+            <height>610</height>
         </rect>
     </property>
@@ -176,4 +176,15 @@
                     </property>
                 </widget>
+                <widget class="QCheckBox">
+                    <property name="name">
+                        <cstring>mFoldVisibility</cstring>
+                    </property>
+                    <property name="text">
+                        <string>Fo&amp;ld in / out contacts as they appear / disappear</string>
+                    </property>
+                    <property name="accel">
+                        <string>Alt+L</string>
+                    </property>
+                </widget>
             </vbox>
         </widget>
@@ -229,5 +240,5 @@
                 <size>
                     <width>20</width>
-                    <height>80</height>
+                    <height>40</height>
                 </size>
             </property>


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

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