Hopefully someone can help me

I am using the Desinger, 4.3.1, and is adding a stylesheet to a QToolBox.

I am trying to add all the styles and ui withouth needing to recompile the code, so I need to solve this in the script and ui files.

From the documentation
QToolBox
Supports the box model.

The individual tabs can by styled using the ::tab subcontrol. The tabs support the nly-one, :first, :last, :middle, revious-selected, :next-selected, :selected pseudo states.

I get to style the different tabs by

QToolBox::tab

But do not get

QToolBox::tab:first

and

QToolBox::tab:last

to work.

QToolBox::tab {
border-image: url(:/images/pushbutton4.png) 8;
border-width: 8;
}

QToolBox::tab:first {
border-image: url(:/images/pushbutton4_first.png) 8;
border-width: 8;
}

QToolBox::tab:last{
border-image: url(:/images/pushbutton4_last.png) 8;
border-width: 8;
}