summaryrefslogtreecommitdiff
authordrw <drw>2005-04-03 17:21:58 (UTC)
committer drw <drw>2005-04-03 17:21:58 (UTC)
commitbe7d04d2b402e5515cfac3a2b32ed5831e15340b (patch) (unidiff)
treeed5829eb8cd46c222fc9e201c5a08a28fca23c87
parent5929a5467aacf1b95a570bdb560d03b28d9ae679 (diff)
downloadopie-be7d04d2b402e5515cfac3a2b32ed5831e15340b.zip
opie-be7d04d2b402e5515cfac3a2b32ed5831e15340b.tar.gz
opie-be7d04d2b402e5515cfac3a2b32ed5831e15340b.tar.bz2
Fix buttons so images scale correctly
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/fileselector/ofileselector.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libopie2/opieui/fileselector/ofileselector.cpp b/libopie2/opieui/fileselector/ofileselector.cpp
index 069b625..8b53038 100644
--- a/libopie2/opieui/fileselector/ofileselector.cpp
+++ b/libopie2/opieui/fileselector/ofileselector.cpp
@@ -337,4 +337,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
337 QPixmap pic; 337 QPixmap pic;
338 QToolButton *btn = new QToolButton( box ); 338 QToolButton *btn = new QToolButton( box );
339 btn->setUsesBigPixmap( true );
339 pic.convertFromImage( Resource::loadImage( "up" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); 340 pic.convertFromImage( Resource::loadImage( "up" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
340 btn->setPixmap( pic ); 341 btn->setPixmap( pic );
@@ -343,4 +344,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
343 344
344 btn = new QToolButton( box ); 345 btn = new QToolButton( box );
346 btn->setUsesBigPixmap( true );
345 pic.convertFromImage( Resource::loadImage( "home" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); 347 pic.convertFromImage( Resource::loadImage( "home" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
346 btn->setPixmap( pic ); 348 btn->setPixmap( pic );
@@ -349,4 +351,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
349 351
350 btn = new QToolButton( box ); 352 btn = new QToolButton( box );
353 btn->setUsesBigPixmap( true );
351 pic.convertFromImage( Resource::loadImage( "DocsIcon" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); 354 pic.convertFromImage( Resource::loadImage( "DocsIcon" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
352 btn->setPixmap( pic ); 355 btn->setPixmap( pic );
@@ -355,4 +358,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
355 358
356 m_btnNew = new QToolButton( box ); 359 m_btnNew = new QToolButton( box );
360 m_btnNew->setUsesBigPixmap( true );
357 pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); 361 pic.convertFromImage( Resource::loadImage( "new" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
358 m_btnNew->setPixmap( pic ); 362 m_btnNew->setPixmap( pic );
@@ -362,4 +366,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
362 366
363 m_btnClose = new QToolButton( box ); 367 m_btnClose = new QToolButton( box );
368 m_btnClose->setUsesBigPixmap( true );
364 pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); 369 pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
365 m_btnClose->setPixmap( pic ); 370 m_btnClose->setPixmap( pic );
@@ -368,4 +373,5 @@ OFileViewFileListView::OFileViewFileListView( QWidget* parent, const QString& st
368 373
369 btn = new QToolButton( box ); 374 btn = new QToolButton( box );
375 btn->setUsesBigPixmap( true );
370 pic.convertFromImage( Resource::loadImage( "cardmon/pcmcia" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); 376 pic.convertFromImage( Resource::loadImage( "cardmon/pcmcia" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
371 btn->setPixmap( pic ); 377 btn->setPixmap( pic );