Diffstat (limited to 'noncore/settings/packagemanager/installdlg.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/installdlg.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/settings/packagemanager/installdlg.cpp b/noncore/settings/packagemanager/installdlg.cpp index 36851b0..8aed10d 100644 --- a/noncore/settings/packagemanager/installdlg.cpp +++ b/noncore/settings/packagemanager/installdlg.cpp | |||
@@ -133,4 +133,5 @@ InstallDlg::InstallDlg( QWidget *parent, OPackageManager *pm, const QString &cap | |||
133 | pic.convertFromImage( Resource::loadImage( "packagemanager/apply" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 133 | pic.convertFromImage( Resource::loadImage( "packagemanager/apply" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
134 | m_btnStart = new QPushButton( pic, tr( "Start" ), this ); | 134 | m_btnStart = new QPushButton( pic, tr( "Start" ), this ); |
135 | m_btnStart->setMinimumHeight( AppLnk::smallIconSize() ); | ||
135 | layout->addWidget( m_btnStart, 3, 0 ); | 136 | layout->addWidget( m_btnStart, 3, 0 ); |
136 | connect( m_btnStart, SIGNAL(clicked()), this, SLOT(slotBtnStart()) ); | 137 | connect( m_btnStart, SIGNAL(clicked()), this, SLOT(slotBtnStart()) ); |
@@ -138,4 +139,5 @@ InstallDlg::InstallDlg( QWidget *parent, OPackageManager *pm, const QString &cap | |||
138 | pic.convertFromImage( Resource::loadImage( "SettingsIcon" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 139 | pic.convertFromImage( Resource::loadImage( "SettingsIcon" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
139 | m_btnOptions = new QPushButton( pic, tr( "Options" ), this ); | 140 | m_btnOptions = new QPushButton( pic, tr( "Options" ), this ); |
141 | m_btnOptions->setMinimumHeight( AppLnk::smallIconSize() ); | ||
140 | layout->addWidget( m_btnOptions, 3, 1 ); | 142 | layout->addWidget( m_btnOptions, 3, 1 ); |
141 | connect( m_btnOptions, SIGNAL( clicked() ), this, SLOT(slotBtnOptions()) ); | 143 | connect( m_btnOptions, SIGNAL( clicked() ), this, SLOT(slotBtnOptions()) ); |
@@ -222,5 +224,5 @@ void InstallDlg::slotBtnStart() | |||
222 | m_btnStart->setText( tr( "Close" ) ); | 224 | m_btnStart->setText( tr( "Close" ) ); |
223 | QPixmap pic; | 225 | QPixmap pic; |
224 | pic.convertFromImage( Resource::loadImage( "enter" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 226 | pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
225 | m_btnStart->setIconSet( pic ); | 227 | m_btnStart->setIconSet( pic ); |
226 | return; | 228 | return; |
@@ -246,5 +248,5 @@ void InstallDlg::slotBtnStart() | |||
246 | m_btnStart->setText( tr( "Abort" ) ); | 248 | m_btnStart->setText( tr( "Abort" ) ); |
247 | QPixmap pic; | 249 | QPixmap pic; |
248 | pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 250 | pic.convertFromImage( Resource::loadImage( "reset" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
249 | m_btnStart->setIconSet( pic ); | 251 | m_btnStart->setIconSet( pic ); |
250 | } | 252 | } |
@@ -265,5 +267,5 @@ void InstallDlg::slotBtnStart() | |||
265 | m_btnStart->setText( tr( "Close" ) ); | 267 | m_btnStart->setText( tr( "Close" ) ); |
266 | QPixmap pic; | 268 | QPixmap pic; |
267 | pic.convertFromImage( Resource::loadImage( "enter" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); | 269 | pic.convertFromImage( Resource::loadImage( "close" ).smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); |
268 | m_btnStart->setIconSet( pic ); | 270 | m_btnStart->setIconSet( pic ); |
269 | 271 | ||