PDA

View Full Version : difference between QFrame and QGroupBox



franco.amato
14th January 2010, 20:42
Hi,
I didn't understand very well what a QFrame is, it's use and the difference between a QFrame and a QGroupBox and/or QLabel.
Sorry for the trivial question.

Best

axeljaeger
19th January 2010, 22:11
A QFrame is a widget with a frame.

A QLabel is a widget with a frame that can display text.

A QGroupBox is a widget with a frame that can display a title and a QCheckBox above it.

I think you usually use QFrame as a basis for subclassing if you want your widget to have a frame around it.