Solved resize any item
-
hello all :)
is it possible to resize any item with a mouse event to move it to full screen or by stretching it a bit like the main window?
-
@Albator What is item in this context? Widget?
You can resize widgets using mouse, see https://forum.qt.io/topic/67019/best-practice-resize-widgets-with-mouse -
Yes, it's for a widget.
but I want to be able to resize anything and everything, a qpushbutton or whatever while using the .exe .
thanks for the link, I'm watching this right now :)
-
every visual entity is a widget so the above applies to buttons, labels and all the rest
-
You can add a QSizeGrip to the widgets you want to resize.
This will add a small grip at the bottom right corner that you can click and resize the widget by mouse. -
Hi
Just as a note. there is also
https://wiki.qt.io/Widget-moveable-and-resizeable -
Thank you all for the doc, I'm not finished yet because I have to do something else but with all this it's as if it's done !
good day :)