PDA

View Full Version : Getting QPushButton to press when embedded in a QFrame.



barrygp
17th March 2011, 05:16
I embedded a QPushButton subclass within a QFrame, but I can't get it to press when I click on it (i.e. am not getting the onclick, and it is not showing the depression). Is there a way to get the click to work when embedded?
The QFrame has a layout into which I am adding the QPushButton subclass. The QFrame is within another QFrame which is added in a scene.

Thanks,

--greg

barrygp
18th March 2011, 04:09
Want to add: The top level QFrame is within a QGraphicsItemGroup.