PDA

View Full Version : QGroupBox



merry
22nd August 2007, 10:44
Hi all :)

Working on Qt4.1 for Intel MAC

Can anybody tells me that Is there a way to remove or hide the border line of QGroupBox.

Thanx

jpn
22nd August 2007, 10:54
Qt 4.1 doesn't have style sheets so I guess that's out of question. Which of QGroupBox features are you using then? How about using a separate label for title and another plain widget for contents?


|----------------|
| title (QLabel) |
|----------------|
| |
| contents |
| (QWidget) |
| |
|----------------|

darksaga
22nd August 2007, 13:11
you could also try:



myGroupBox.setFlat(true);