[Kst] extragear/graphics/kst/src/libkstapp
George Staikos
staikos at kde.org
Thu May 4 04:35:13 CEST 2006
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()));
}
More information about the Kst
mailing list