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

List:       kde-commits
Subject:    branches/KDE/3.5/kdeutils/ark
From:       Henrique Pinto <henrique.pinto () kdemail ! net>
Date:       2006-04-09 2:52:57
Message-ID: 1144551177.672306.11500.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 527663 by henrique:

 * Use a KSqueezedTextLabel instead of a QLabel, so that the window
   doesn't resize itself if the text can't fit on it.


 M  +2 -1      ark_part.cpp  


--- branches/KDE/3.5/kdeutils/ark/ark_part.cpp #527662:527663
@@ -37,6 +37,7 @@
 #include <kiconloader.h>
 #include <kio/netaccess.h>
 #include <kpushbutton.h>
+#include <ksqueezedtextlabel.h>
 
 #include <qfile.h>
 #include <qtimer.h>
@@ -408,7 +409,7 @@
     m_pTimer = new QTimer( this );
     connect( m_pTimer, SIGNAL( timeout() ), this, SLOT( slotProgress() ) );
 
-    m_pStatusLabelTotal = new QLabel( statusBar(), "StatusLabelTotal" );
+    m_pStatusLabelTotal = new KSqueezedTextLabel( statusBar(), "StatusLabelTotal" );
     m_pStatusLabelTotal->setFrameStyle( QFrame::NoFrame );
     m_pStatusLabelTotal->setAlignment( AlignRight );
     m_pStatusLabelTotal->setText( i18n( "Total: 0 files" ) );
[prev in list] [next in list] [prev in thread] [next in thread] 

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