Solved QFileDialog
-
Hi
Is there a way to detect when the filename text edit gets focus?
I need to display a virtual keyboard when the text edit is enteredThanks
-
@GrahamLa
Sorry I don't know, but just drawing attention to https://forum.qt.io/topic/77026/add-virtual-keyboard-on-qfiledialog which asked the same and never received a reply.... -
@GrahamLa Shouldn't the virtual keyboard be shown automatically?
On which platform are you and which virtual keyboard do you use? -
@jsulm
Hi
The keyboard is our own implementation and I am tying to attach it to QFileDialog -
@GrahamLa You can use https://doc.qt.io/qt-5/qwidget.html#enterEvent but then you will need to subclass all widgets you're using. Maybe somebody else knows a better solution?
-
Hi,
KDAB has a very good article on the subject.
-
Thanks everyone
I work on a legacy project that has implemented a virtual keyboard and a TouchLineEdit that can be the source for the keyboard.
My solution is to derive from the QFileDialog class and replace the text entry widget with one of our TouchLineEdit classes.