What is wwlispkdialog? |
wwlispkdialog is a library which adds to wwlisp the capability to define GUI dialogs based on Qt and KDE. A unique class, the kdialog class, is added to the native wwlisp class hierarchy. With it, the programmer can define very populated dialogs with tens of widgets and sophisticated interactions and feedbacks, using the callback principle which is well known and has been used in most of the GUI toolkits. It is also possible to define a dialog in a totally linear way such that the user can view, enter or modify values, select radiobuttons or tick checkboxes, and finally press an ok or a cancel button, and then to retrieve all the values and states straight in the program, without any complicated concept of signals, slots or even GUI-callback. Just do something like: create a dialog and add widgets to it display the dialog and let the user interact with it, finishing by pressing any button retrieve the values in the program or script destroy the dialog Sure, the tremendous capabilities of Qt and KDE are by far not fully exploited by the wwlispkdialog library, but a lot of scripting, prototyping and application development can already be done with the few selected widgets and options implemented in this library. Finally, this library can evolve to contain more classes and more options to control the widgets, but this depends mostly on you, the Users! Give me a feedback, your critics, your suggestions and maybe we could make this humble tool quite useful for the community. |
Index of The Classes and Classless Functions
|
|
(setq kdlib(make-instance library "/usr/local/bin/wwlispkdialog")) (call kdlib "int initialize()")
![]() |