Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4650

Beginners • Changing/adding QT code to make windows fit screen?

$
0
0
I built a book scanner, following the instructions by a Japanese maker (https://note.com/fynote1009), and I installed their SimpleBookCapture program (https://github.com/FYGitHub1009/SimpleBookCapture), but it was clearly made for a larger monitor, because when I open it on my 7" Capacitive Touch Screen For Raspberry Pi (1024*600), only the top left portion of the window is visible. When I resize the window, the text and controls are squished and become mostly unusable and unreadable. The person wrote the app in Python and used QT for the GUI, but unfortunately I know nothing about programming Python or using QT Maker (though I did make an account and downloaded the Mac OS app).
As far as I can tell, the files that include QT code are:
BookEditPage.py
BookShelfPage.py
CameraSettingPage.py
CustomQBookInfoForm.py
CustomQBookPreview.py
CustomQCameraPreview.py
CustomQDialog.py
CustomQImageViewer.py
CustomQImageViewer2.py
CustomQWidgets.py
SimpleBookCapture.py

(The last file is the main program.)
Could anyone help me figure out how to have the window(s) scale automatically (and legibly) on my screen?
Here is a video of what happens when I launch the program and when i try to resize. (Sorry it's all in Japanese.)
https://video.everythingbagel.me/w/4dvY ... fWWULjmXDh
Thank you in advance for any advice you can offer.

Statistics: Posted by Rachel_Thorn — Mon Nov 11, 2024 3:30 am — Replies 0 — Views 18



Viewing all articles
Browse latest Browse all 4650

Trending Articles