PDA

View Full Version : QHBoxLayout & QVBoxLayout



damodharan
30th August 2010, 14:00
Dear all,

QHBoxLayout & QVBoxLayout will support transparent backgrounds or not ?

QHboxLayout & QVBoxLayout doesn't contain

1.setBackgroundRole
2.setStyleSheet
3.and not supporting QPalatte

is there any way to make QHBoxLayout and QVBoxLayout to make transparency background?

Lykurg
30th August 2010, 14:13
A layout has no background, so you can't make it transparent. But since it is not there it is "transparent". Probably your have to set the background roles of the widgets inside your layout.

A layout only arranges widgets and has no paint event/method.