Actions
Support #3457
closedcustomized titleBarWidget for WPanel and expand and collapse
Start date:
07/10/2014
Due date:
% Done:
0%
Estimated time:
Description
Hi,
I'm trying to customize the titleBarWidget of a WPanel. When I add 2 buttons to the titleBarWidgets of a panel and then click on them, the panel still catches the signals and calls expand/collapse. Is there a way to stop the expanding and collapsing when my custom buttons are clicked? I just want the buttons to handle the signals. I still want the expand/collapse when another part of the titlebar is clicked.
Thanks,
steph
Updated by Koen Deforche almost 10 years ago
Hey,
You'll want to call b->clicked().preventPropagation()
Groeten,
koen
Updated by Koen Deforche over 9 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Updated by Koen Deforche over 9 years ago
- Status changed from Resolved to Closed
Actions