Increased size of button icons to make them more visible.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 4 years ago
parent ed6e395fd0
commit 2aaedb4a04
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -381,7 +381,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
quit = new VButton ( this,"quit" );
quit->resize ( 20,30 );
quit->move ( 524,15 );
quit->setPixmap(TQIconSet(SmallIcon("application-exit")).pixmap());
quit->setPixmap(TQIconSet(SmallIcon("application-exit", TDEIcon::SizeMedium)).pixmap());
TQToolTip::add( quit, i18n( "Hide keyboard" ) );
quit->res();
other_keys.append(quit);
@ -392,12 +392,12 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
extent->move (524, 85 );
if (extent_visible)
{
extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward")).pixmap());
extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward", TDEIcon::SizeMedium)).pixmap());
TQToolTip::add( extent, i18n( "Hide num pad" ) );
}
else
{
extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward")).pixmap());
extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward", TDEIcon::SizeMedium)).pixmap());
TQToolTip::add( extent, i18n( "Show num pad" ) );
}
extent->res();
@ -561,7 +561,7 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
//popup_menu->setPaletteBackgroundColor ( TQt::green );
popup_menu->res();
popup_menu->setPixmap(TQIconSet(SmallIcon("configure")).pixmap());
popup_menu->setPixmap(TQIconSet(SmallIcon("configure", TDEIcon::SizeMedium)).pixmap());
TQToolTip::add( popup_menu, i18n( "Configure" ) );
other_keys.append(popup_menu);
connect ( popup_menu,TQT_SIGNAL ( clicked() ),this, TQT_SLOT ( showConfigMenu() ) );
@ -701,13 +701,13 @@ void MainWidget::toggleNumericPad()
if (extent_visible){
extent_visible=false;
extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward")).pixmap());
extent->setPixmap(TQIconSet(SmallIcon("media-seek-forward", TDEIcon::SizeMedium)).pixmap());
TQToolTip::add( extent, i18n( "Show num pad" ) );
TQWidget::resize ( (int)sdxs, height() );
}
else{
extent_visible=true;
extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward")).pixmap());
extent->setPixmap(TQIconSet(SmallIcon("media-seek-backward", TDEIcon::SizeMedium)).pixmap());
TQToolTip::add( extent, i18n( "Hide num pad" ) );
TQWidget::resize ( (int)sdxb, height() );
}

Loading…
Cancel
Save