[Qt-interest] Window and elements stylesheets (not QML, Qt4 only)

Nicholas Shatokhin n.shatokhin at gmail.com
Sat Nov 5 16:13:02 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?

-- 
За використання революційного клієнта електронної пошти Opera:  
http://www.opera.com/mail/


More information about the Qt-interest-old mailing list