[Interest] Window and elements stylesheets (not QML, Qt4 only)

Николай Шатохин n.shatokhin at gmail.com
Mon Nov 7 12:35:49 CET 2011


Hello.

My designer draw this: http://ubuntuone.com/10OZdcT4mZspfWbVDvb0kT
So, how can I apply this to my Qt Form and its elements (QLCDNumber,
QPushButtons, QTableView, Form Background)

I create this gradient for window background:

background-color: qlineargradient(spread:reflect, x1:1, y1:0.007, x2:1,
y2:0, stop:0.265403 rgba(255, 255, 255, 255), stop:1 rgba(241, 241, 241,
255));

but it's scaling when I resize window. How can I forbid scaling?

Best regards,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20111107/9b30e314/attachment.html>


More information about the Interest mailing list