Answer the question
In order to leave comments, you need to log in
How to use the slider to change the size of the image in the window?
How to use the slider to change the size of the image in the window?
You need to use the slider to change the size of the picture, make it larger or smaller.
And what would be the minimum size of the change and the maximum for example ( min 50px change to max 100px ).
In PyQt and Python.
Answer the question
In order to leave comments, you need to log in
You set the range of values for the slider in the interface editor, in the code you subscribe to the event of changing the position of the slider, in the handler you change the size of the picture and redraw it, or how they are displayed there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question