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