Answer the question
In order to leave comments, you need to log in
What is the best way to implement GUI for Raspberry Pi Touch Display?
Hello. There is a program originally written for the desktop in PyQT5. It was required to implement software with the same functionality for the tablet. Raspberry Pi with Raspberry Pi Touch Display is used as a tablet (USB ports, Ethernet and GPIO are needed, a regular tablet does not roll). The program has a number of fields where you need to enter text information. It is convenient to do this from the keyboard, but on a touchscreen with an on-screen keyboard, this process turns into torture. The original program on PyQT is not at all sharpened for a touch interface, although it starts and works on this "tablet" smartly. It was decided to rewrite the GUI in Kivy (used by KivyMD for beautification) specifically for the raspberry tablet. It was supposed that the software will be used in conjunction with the Onboard on-screen keyboard (as planned, it should appear when selecting a text entry field). On a computer, the Kivy version works fine, but on a raspberry, firstly, it slows down terribly, and secondly, it does not react to the touchscreen in any way. If the solution to the problem with the touchscreen is at least googled, then what to do with the brakes and the Onboard keyboard is absolutely incomprehensible. Kivy installed according to the instructions from the site. I used pip install method:python -m pip install --user kivy
. How can the situation be corrected? What are the Kivy and PyQT alternatives for my needs? Maybe there is some alternative to the Onboard on-screen keyboard? If not, how can I make Onboard appear when text input fields are selected (this applies to both Kivy and PyQT)? There were thoughts of writing a web version in some Flask, but in the browser, the OnBoard keyboard also does not appear when an input field is selected, so the idea was discarded. This feature only works in the terminal and in some programs that come with Raspbian. Also, it should be noted that Raspbian itself is not sharpened for a touchscreen at all. Maybe there are some other distributions that will allow you to solve the problem with fewer crutches?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question