[Qt-interest] QT widgets metrics for Adobe Eve backend.

Esteban Tovagliari ramenhdr at gmail.com
Mon Nov 2 17:04:57 CET 2009


Hi All

I'm writting a library to interface QT and Adobe's adam & eve.
In case you don't know, Eve is a layout engine that takes a high
level description of a dialog and generates all the widgets correctly
placed. Adam is a property model library. They are part of
adobe source libraries http://stlab.adobe.com/.

I have it mostly working, the only problem is that I need
some widgets metrics to improve the layout
and I couldn't find a way to get them.

As an example, if I have a QGroupBox, I need to know the space
I have to leave between the group edges and the widgets I have to
place inside. All this information is also style dependant, so I can't
hardcode it.

Is there a way to get this metrics in QT?
spacing, baselines, margins, ...

I plan to release this library as open source in the future

Thanks!

Est.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091102/5a4e6202/attachment.html 


More information about the Qt-interest-old mailing list