Script Console in GSoC branch of Digikam has Full Qt API available now !

Following my last post, the Script Console in Digikam’s GSoC branch has the FULL Qt API available by default.

Now you can access the full range of Qt Widgets from Modules like
QtCore, QtGUI, et al.
Use all the modules available in the Qt API as follows:
Open the script console in Digikam from tools->Script console
and type out :
var a = new QWebView();
var url = new QUrl(“your Url here”);
a.load(url);
a.show();
and then click on the Evaluate button.
The screen shot shows the result 🙂
qtbinding_example
Stay Tuned, More to Come !
Until….. Next time !

Advertisements

5 thoughts on “Script Console in GSoC branch of Digikam has Full Qt API available now !

  1. Pingback: Tweets that mention Script Console in GSoC branch of Digikam has Full Qt API available now ! « ETA → ∞ -- Topsy.com

  2. How do you expose all the Qt API? Do you use smoke for that, or are there other tricks? This might be of interest for Kate as well.

  3. If you’re exposing potentially dangerous API (e.g. QFile::remove), will there be a security model to restrict access to such API?

    • Very good point Stefan,
      Right now the only way to avoid such security loops is to restrict access to the whole QtCore module, which IMO is a brute force solution.
      As of now there is no security model as of now, do you have any suggestions for the same ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s