I'm working with PyQt5 and I'd like to have my ui open on the left half of the screen with a PDF viewer (like foxit or adobe reader) on the right side of the screen. I know that maximize()
will cause one window to fill the entire screen. Also, I know that I could open the two windows using exact pixel locations and that would work for most screen. However, is there a function that would 'snap' my PyQt application and a pdf viewer side by side for easy reading?
I'm working on windows 10