Solved How to create a extendable and draggable QPushButton in the ui?
-
How to create a extendable and draggable QPushButton in the ui?
-
Hi,
Do you mean a QPushButton that you can resize and move around like in Qt Designer ?
-
Hi,
Yes I want to create a QPushButton which can be resizeable and which can move around using mouse (MouseEvents)
-
What's the goal of your application with that button ?
-
To create a zone of geometry same as that QPushButton in the backend.Basically I'm giving an option for the user to fix geometry through that button in the UI.
-
@Sherlin-N-G To be honest what you write is really hard to understand: what is backend? Why does the user need to fix the geometry (geometry of what actually?)? What is "zone of geometry"?
And why do you ask same question twice?
https://forum.qt.io/topic/87763/custom-qpushbutton-which-can-be-stretchable-and-draggable -
Would you have an edit mode for your application ?
-
Just realised...
Isn't this thread a duplicate of this one ?
-
@SGaist Yes. Once the problem is solved I'll change the status of both.
-
Then I'll lock this one to avoid having several parallel threads for the exact same question.