[SOLVED] resize widget inside widget via mouse
-
Hi all!
QWidget wgt;
wgt.show();we can resize this widget via mouse: left-click on the border and move
have any idea how do this via mouse if this widget placed in other widget?
-
Hi,
Do you mean you want to resize a widget, inside another widget ?
-
yes
resize via mouse
sorry by my english
-
I understood you wanted to use a mouse, the question is whether the widget (lets call it w2) placed in other the other widget (w1) is put in a layout or if you want to resize w2 independently of w1
-
w1 -> Vlay or qsplitter -> w2, w3, w4
for example w1 have fixed size, i want change vertical size of w2 so that it did not ignore the minimum allowable size of neighbors...
i considered QSplitter but it not exactly what i need... he overlaped other widgetsi think i will use exactly QSplitter but modifed
-
solved with QSplitter
he overlaps widgets if widget have fixed size
just need to set minimum and maximum size of widget
i have bad read holy qtdoсs