[Kst] extragear/graphics/kst/src/libkstapp

Barth Netterfield netterfield at physics.utoronto.ca
Fri May 5 01:00:22 CEST 2006


The Ctrl+arrows don't work when the focus is in the search box (which it 
probably will be if you have just selected a list of fields with the search 
box).


On Wednesday 03 May 2006 22:35, George Staikos wrote:
> SVN commit 537156 by staikos:
>
> add Ctrl+arrow keys to trigger the arrow buttons
>
>
>  M  +1 -0      datawizard.ui
>  M  +9 -0      datawizard.ui.h
>
>
> --- trunk/extragear/graphics/kst/src/libkstapp/datawizard.ui #537155:537156
> @@ -1487,6 +1487,7 @@
>      <tabstop>_plotColumns</tabstop>
>  </tabstops>
>  <includes>
> +    <include location="local" impldecl="in
> implementation">qaccel.h</include> <include location="local" impldecl="in
> implementation">kstcolorsequence.h</include> <include location="local"
> impldecl="in implementation">kstvcurve.h</include> <include
> location="local" impldecl="in implementation">kstuinames.h</include> ---
> trunk/extragear/graphics/kst/src/libkstapp/datawizard.ui.h #537155:537156
> @@ -62,6 +62,15 @@
>      _add->setPixmap(BarIcon("forward"));
>      _remove->setPixmap(BarIcon("back"));
>      loadSettings();
> +
> +    QAccel *a = new QAccel(this);
> +    a->connectItem(a->insertItem(CTRL+Key_Up), this, SLOT(up()));
> +    a = new QAccel(this);
> +    a->connectItem(a->insertItem(CTRL+Key_Down), this, SLOT(down()));
> +    a = new QAccel(this);
> +    a->connectItem(a->insertItem(CTRL+Key_Left), this, SLOT(remove()));
> +    a = new QAccel(this);
> +    a->connectItem(a->insertItem(CTRL+Key_Right), this, SLOT(add()));
>  }
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst


More information about the Kst mailing list