PDA

View Full Version : QGroupBox without bottom - left - right lines



SeNSe
28th April 2010, 12:20
Hi,
I'm trying to create a new Object inheriting QGroupBox under ubuntu 9.04. I'd like to see bottom - left - right lines but they seem not to be visible and the strange thing is the lines are visible in Fedora
Any suggestions ??
Thnx in advance ..

faldzip
28th April 2010, 13:12
Are those lines visible with normal QGroupBox (not yout sublcass)?
If not then it depends on your OS style. I have Ubuntu 9.10 and there is no border in any groupbox because this is the style of my OS. You can try setting some other style in your Qt application to get the border or you can make your custom widget with unified, platform independent look or other way is to check if Qt style sheets can offer you border satisfying for you.

SeNSe
28th April 2010, 13:51
I hv tried StyleSheet but I hvn't been able to come up with the right command ..If you can tell me the right command to set the margin around the QGRoupbox ..Thnx in advance