niklas
26th January 2010, 21:58
Hello
I want to set a background image for a QHeaderView.
Preferably through a stylesheet, if possible.
I can set background-color in a stylesheet, but background-image does not work.
This is what I've got right now:
QHeaderView::section
{
background-image:url(:/topgradient.png);
background-repeat:repeat-x;
}
Any ideas?
I want to set a background image for a QHeaderView.
Preferably through a stylesheet, if possible.
I can set background-color in a stylesheet, but background-image does not work.
This is what I've got right now:
QHeaderView::section
{
background-image:url(:/topgradient.png);
background-repeat:repeat-x;
}
Any ideas?