Qt: “ResizeEvent” to receive the size of the window and set it to the size of a QLabel
-
Qt/c++: I want to use ResizeEvent to receive the size of the window and set it to the size of a QLabel, in order to make the image stretched and adapted to the window's dimensions. by a left click of the mouse I can resize my window and the image takes a new size. the problem is that I'm new with Qt and I did not found examples of resizeEvent in the net.
-
Qt/c++: I want to use ResizeEvent to receive the size of the window and set it to the size of a QLabel, in order to make the image stretched and adapted to the window's dimensions. by a left click of the mouse I can resize my window and the image takes a new size. the problem is that I'm new with Qt and I did not found examples of resizeEvent in the net.