Hey Jason,
2011/12/1 Jason H <scorp...@yahoo.com>
> Qt's QML is the new way of doing interfaces. Aside from tyre obvious GUI
> dependency, would it be possible to have QML bindings for witty widgets?
> Maybe somehow use the QML backend?
>
Although we have looked at QML, I wasn't totally convinced. In my opinion,
they should have made QML 100% JavaScript.
At least this is the vision I would have for an equivalent for Wt -- to
create bindings for Wt into JavaScript (using e.g. V8), in such a way that
you can do most things declaratively like in QML.
I never considered reusing QML as is -- it might work but it would depend
alot on how it is interwoven with Qt's moc introspection system.
> Also, I viewed source to my first witty program and it longed nothing
> like how I expected it to. How does witty actually work? I expected to see
> mostly direct mappings to html elements. Another thing that, has me,
> curious, is, how, the C++ to JS conversion works?
>
There is a mostly direct mapping. You should probably enable progressive
bootstrap to see the "direct mapping" in the source code as HTML, or use
the "inspect" function from your web browser to see the resulting DOM.
Regards,
koen
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest