[Interest] QGroupBox Subclass

Michael Jackson imikejackson at gmail.com
Tue May 21 15:31:50 CEST 2013


I am currently using a QGroupBox (with some custom style sheets) as a superclass for a custom widget in our program. QGroupBox has the "isCheckable" property which we use then style with a custom image for an icon and over ride the "toggled" to get some custom actions when the user clicks the "button". We would like to be able to add a few more buttons to the QGroupBox to perform some other actions. I took at the source code for QGroupBox to try and figure out where the layout was being performed and I would have to say I understand generally what is going on but I can not figure out where the actual "QCheckBox" is being added to the layout for the QGroupBox.

  My Question is: Could some nice developer just give me a nudge in the right direction as to where the actual layout of the QGroupBox is being performed and where the QCheckBox is instantiated? I think I can figure it out from there.

Thanks so much.
----
Mike Jackson (dream3d.bluequartz.net)


More information about the Interest mailing list