It shows how to create a simple GUI from a .ui-file, connect UI-signals to JS-Functions and interact with Krusader (setting the window-title). I must confess that this is not very useful but it's a nice demo.

Installation:
-) Copy calc.js and calc.ui to ~/.kde/share/apps/krusader/js/
(you may have to create this dir)
-) Go to the UserAction Konfigurator-page and import action.xml
Please note, that the JS-extension-stuff is under heavy development. The interface may change in future. I've tested this with krusader-cvs-20050510.
The Calculator is based on a KJSEmbed examle and adapted to Krusader.
Have fun,
Jonas
Ratings & Comments
1 Comment
Will be available in the Krusader-1.90.0 release. Thanks! http://www.krusader.org/phpBB/viewtopic.php?t=1989