Diffstat (limited to 'noncore/settings/packagemanager/installdlg.cpp') (more/less context) (ignore 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 | |||
@@ -132,11 +132,13 @@ InstallDlg::InstallDlg( QWidget *parent, OPackageManager *pm, const QString &cap | |||
132 | QPixmap pic; | 132 | QPixmap pic; |
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()) ); |
137 | 138 | ||
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()) ); |
142 | 144 | ||
@@ -221,7 +223,7 @@ void InstallDlg::slotBtnStart() | |||
221 | // Allow user to close dialog | 223 | // Allow user to close dialog |
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; |
227 | } | 229 | } |
@@ -245,7 +247,7 @@ void InstallDlg::slotBtnStart() | |||
245 | { | 247 | { |
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 | } |
251 | else | 253 | else |
@@ -264,7 +266,7 @@ void InstallDlg::slotBtnStart() | |||
264 | m_btnStart->setEnabled( true ); | 266 | m_btnStart->setEnabled( true ); |
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 | ||
270 | m_btnOptions->setEnabled( true ); | 272 | m_btnOptions->setEnabled( true ); |