PDA

View Full Version : Showing QWidget border around the window



maverick_pol
20th March 2008, 17:01
Hi guys,

I have created a semitransparent widget(filled with dense2 pattern or sth alike). I would like to create a border around the widget or add border to the widget window,etc. For the time being the widget is semitransparent without borders.
How can I enable a widget window border, or create a border around a widget?

Thanks.

Kacper

marcel
20th March 2008, 18:44
Why not paint the widget border as part of the widget's paintEvent?

maverick_pol
20th March 2008, 20:14
Yes I take it into consideration and will probably do the paintEvent customization, but I was wondering if there was sth like: "enableBorder, setBOrder, etc". I hopeful wish : )

Ok. Thanks.

Kacper