PDA

View Full Version : use css from web/jquery/etc into qt application (c++?)



nkint
31st August 2013, 14:00
hi! i really like this ui-style: http://designmodo.github.io/Flat-UI/
it is a set of gui widget made with jquery/bootstrap for web applications.

i'd like to know what is the smartest way to import this style as much as possible (complete port is not possible i think) to a qt application.

i have to say that i'm used qt only with c++, qt 4.8 for opengl/computer vision simple interfaces. so i'm not aware of new qt solution like qt-quick, qt html5 application, qwebview, js stuffs etc

i'd just like to use some of my c++ opengl widget (or any other of my c++ objects) but with this stylish css/interface/design/graphic layout with less effort as possible (i don't want to rewrite everything or spend days in try to let some css works)

any kind of ideas is appreciated, thanks

wysota
3rd September 2013, 20:51
If you want to use the style in C++/widgets world then in practice the only choice is to reimplement it as a QStyle subclass. You could in theory try with Qt stylesheets but the range of supported subset of css is likely quite different from what the style uses.