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

Barth Netterfield netterfield at astro.utoronto.ca
Tue Feb 6 14:19:25 CET 2007


SVN commit 630810 by netterfield:

Back to icons in the data wizard... it turns out that if you
manually set the accelerator (rather than relying on the
.ui) after setting the icon, the accelerator works.




 M  +7 -2      datawizard.ui.h  


--- trunk/extragear/graphics/kst/src/libkstapp/datawizard.ui.h #630809:630810
@@ -59,8 +59,13 @@
 
     _up->setPixmap(BarIcon("up"));
     _down->setPixmap(BarIcon("down"));
-    //_add->setPixmap(BarIcon("forward"));
-    //_remove->setPixmap(BarIcon("back"));
+
+    _add->setPixmap(BarIcon("forward"));
+    _add->setAccel(ALT+Key_S);
+
+    _remove->setPixmap(BarIcon("back"));
+    _remove->setAccel(ALT+Key_R);
+
     loadSettings();
 
     QToolTip::add(_up, i18n("Raise in plot order: Alt+Up"));


More information about the Kst mailing list