Hi Shantanu

> Awesome idea, indeed.

Well, it isn't mine, really.

> Keeping in mind that QML is a UI and interaction design tool, its pretty
> easy to do the Interesting Box using QML.
> Whether to use QML or traditional QWidgets is a decision KStars should make.
> In this case, pros of QML is a fluid UI,
> however, some people feel that using QML makes stuff such as the Interesting
> Box look "inconsistent" with the rest of QWidget UI. So you gotta decide :)

Okay, that works for me I guess. QML should be okay, because the
SkyMap is a very un-traditional look anyway. In fact, I think that box
deserves a semi-transparent background with some action buttons with
very unconventional looks.

> Once you've made up your mind, if you have a class whose xyzMethod(latitude,
> longitude) can return an structure/class filled with data, its very trivial
> to use that in QML :) All you have to do is call some QML magic in KStars to
> register that class with QML, and you're ready to go.

You mean I programmatically generate QML?

Regards
Akarsh
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to