[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent


QT Script?
by Charles on Tuesday 17/Jun/2003, @12:31
Is QT Script comparable to VB Script/Visial Basic? Where are the tutorials? I think it's time to learn it. Can I use Kommander and utilize QT script behind the scenes to do useful stuff with databases the way I use VB/Access in the MS world?
  Related Links
 ·   Articles on Qt
 ·   Also by Charles
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: QT Script?
by Andras Mantia on Tuesday 17/Jun/2003, @13:08
Sincerly I don't know anything about QT Scripts, but even if right now you can't use them directly in Kommander (can anyone with QT Script experience try it?) I believe it will be quite easy to implement if the only requirement is to pass the scripts to some interpreter to execute. And it will give you a lot of power.

Andras
[ Reply To This | View ]
Re: QT Script?
by Eric Laffoon on Tuesday 17/Jun/2003, @15:48
QT Script and Kommander are two different animals. It's possible to make Kommander use QT Script or, as an alternative, Rich Moore's Javascript bindings. Some consideration has been given to this along with enabling a default script repository to help users do scripted actions. There are some changes in the works for Kommander. they include more widget support, data widgets and script objects as well as sub dialog objects. Since Kommander is language neutral it will be very easy to use with PHP 4.3x in CGI mode. This means PHP authors could create quick mini apps much like PHP GTK but with KDE widgets and I think it a much nicer environment. Kommander also directly communicates via DCOP.

Perhaps the primary difference between the two is that you can actually make a dialog with Kommander that does something and has absolutely no code because of our text associations. QT Script will have the advantage of a newer implementation with QT Designer and in this area we could catch up with more developers to support it. Marc has had little time for it lately.

These applications are similar. It appears QT Script will be more widely supported and will have extensive capabilities as a scripted development environment. However Kommander will remain simpler with text associations and have advantages in language neutral development, built in DCOP and possibly other areas.

What I really hope is that a language specific program without the simple and quick abilities Kommander has does not end up overshadowing it. In my opinion Kommander has a lot of potential for all of KDE. I really hope we get some developers with time to work on it as we have with Quanta. It can extend any KDE app with DCOP pretty easily.
[ Reply To This | View ]
Re: QT Script?
by Jim Dabell on Wednesday 18/Jun/2003, @04:53
QT Script is based on ECMAscript, so it's roughly the same as Javascript/JScript.

http://www.trolltech.com/products/qsa/index.html
[ Reply To This | View ]
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "I can't describe the scene as this is a G-rated site, but think Pulp Fiction." -- Sirtaj Singh Kang
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]