[Qt-interest] how to set the background image of the QHeaderView?

Bo Thorsen bo at fioniasoftware.dk
Tue May 3 16:13:38 CEST 2011


Den 03-05-2011 16:13, Bo Thorsen skrev:
> Den 03-05-2011 15:21, tang ke skrev:
>> hi guys:
>> I want to use the stylesheet to set the background image of the
>> QHeaderView, but when I finished it, I only can see the half size of the
>> image,
>> I want to know how to set the QHeaderView height?
> 
> QHeaderView { width: 123px; }

That should of course be

QHeaderView { height: 123px; }

Sorry :)

Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk



More information about the Qt-interest-old mailing list