button on button
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.
@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.
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!