QFrame versus QGroupBox
-
Can somebody give me few words explanation about "the difference" between these ?
Prefer actual user comments , no more RTFM...
-
They are both a type of Widget.
QFrame is simply a Widget that has a frame at the outer side as well as vertical and horizontal layout. You usually use this if you want to layout elements inside of it in either horizontal or vertical orientation with a nice frame at the outer parameter.
QGroupBox on the other hand has a box layout as well as a title at the top. This widget is ideal for grouping a set of options (such as buttons, checkboxes, combo boxes) together in a professional matter. It also helps with providing a relationship between the elements that are placed inside of it.
Here is an image of the GroupBox: (Not the best example, but should demonstrate it)