|
|
@ -315,19 +315,20 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
|
|
|
|
lctrl->res();
|
|
|
|
lctrl->res();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
win = new VButton ( this,"" );
|
|
|
|
lwin = new VButton ( this,"" );
|
|
|
|
win->resize ( 45,30 );
|
|
|
|
lwin->resize ( 50,30 );
|
|
|
|
win->move ( 5+lctrl->x() +lctrl->width(), sty+ ( 5*35 ) );
|
|
|
|
lwin->move ( lctrl->x() +lctrl->width() +5, sty+ ( 5*35 ) );
|
|
|
|
win->setText ( "Win" );
|
|
|
|
lwin->setText ( "LWin" );
|
|
|
|
win->setKeyCode ( 115 );
|
|
|
|
lwin->setKeyCode ( 133 );
|
|
|
|
win->setToggleButton ( true );
|
|
|
|
lwin->setToggleButton ( false );
|
|
|
|
mod_keys.append ( win );
|
|
|
|
connect ( lwin, TQT_SIGNAL ( keyClick ( unsigned int ) ), this, TQT_SLOT ( keyPress ( unsigned int ) ) );
|
|
|
|
win->res();
|
|
|
|
other_keys.append( lwin );
|
|
|
|
|
|
|
|
lwin->res();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lalt = new VButton ( this,"" );
|
|
|
|
lalt = new VButton ( this,"" );
|
|
|
|
lalt->resize ( 45,30 );
|
|
|
|
lalt->resize ( 45,30 );
|
|
|
|
lalt->move ( 5+win->x() +win->width(), sty+ ( 5*35 ) );
|
|
|
|
lalt->move ( lwin->x() +lwin->width() +5, sty+ ( 5*35 ) );
|
|
|
|
lalt->setText ( "Alt" );
|
|
|
|
lalt->setText ( "Alt" );
|
|
|
|
lalt->setKeyCode ( 64 );
|
|
|
|
lalt->setKeyCode ( 64 );
|
|
|
|
lalt->setToggleButton ( true );
|
|
|
|
lalt->setToggleButton ( true );
|
|
|
@ -353,9 +354,20 @@ MainWidget::MainWidget ( TDEAboutData *about, bool tren, TQWidget *parent, const
|
|
|
|
ralt->res();
|
|
|
|
ralt->res();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rwin = new VButton ( this,"" );
|
|
|
|
|
|
|
|
rwin->resize ( 50,30 );
|
|
|
|
|
|
|
|
rwin->move ( ralt->x() +ralt->width() +5, sty+ ( 5*35 ) );
|
|
|
|
|
|
|
|
rwin->setText ( "RWin" );
|
|
|
|
|
|
|
|
rwin->setKeyCode ( 134 );
|
|
|
|
|
|
|
|
rwin->setToggleButton ( false );
|
|
|
|
|
|
|
|
connect ( rwin, TQT_SIGNAL ( keyClick ( unsigned int ) ), this, TQT_SLOT ( keyPress ( unsigned int ) ) );
|
|
|
|
|
|
|
|
other_keys.append( rwin );
|
|
|
|
|
|
|
|
rwin->res();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mnu = new VButton ( this,"" );
|
|
|
|
mnu = new VButton ( this,"" );
|
|
|
|
mnu->resize ( 45,30 );
|
|
|
|
mnu->resize ( 50,30 );
|
|
|
|
mnu->move ( 5+ralt->x() +ralt->width(), sty+ ( 5*35 ) );
|
|
|
|
mnu->move ( rwin->x() +rwin->width() +5, sty+ ( 5*35 ) );
|
|
|
|
mnu->setText ( "Menu" );
|
|
|
|
mnu->setText ( "Menu" );
|
|
|
|
mnu->setKeyCode ( 117 );
|
|
|
|
mnu->setKeyCode ( 117 );
|
|
|
|
mnu->setToggleButton ( false );
|
|
|
|
mnu->setToggleButton ( false );
|
|
|
|