Solved button on button
-
Hi All,
A quick question.
Is it possible to place a QPushButton(or QToolButton) ON QPushButton(or QToolButton)?
I would like to add delete button (eg. x) on button.What I don't want to do is to concatenate two buttons on QH(V)BoxLayOut on a widget.
I'm looking for a smarter way to achieve that. :)Thanks for your help.
Regards,
Sat -
@ShinSat QPushButton is a widget. Did you try to use the first button as parent for the second? Then the second should be on top of first. But I didn't try as it is unusual.
-
@jsulm Thanks for an update. I'll try it.
I want to achieve something like this.
Sat
-
@ShinSat
yep, that's possible,rather easy to do in QML, a bit more footwork in QWidgets, whats your poison?
-
@J.Hilk Thanks for your help!