too funny ! I have virtualkeyboard but I m not able to start
-
Well I built a virtual keyboard using only c++ QT (no QML) but I m not able to use because I need mouse for first step
I used :
CONFIG += c++11 arrow-key-navigation
for arrow navigation
and this is example for my code:
// set gui _qView.setReadOnly(true); _qGrid.addWidget(&_qView, 0, 0, 1, 3); _qBtnClr.setShortcut(QKeySequence("CLEAR")); _qGrid.addWidget(&_qBtnClr, 0, 3); // connect signal handlers connect(&_qBtnClr, &QPushButton::clicked, this, &MainWindow::clear);
but at star, I need to move mouse and to click on mouse.
Then keyboard allows me to use arrows.
No mouse, no arrows controls .Can you suggest how to start with arrows without mouse ?
-
Well I built a virtual keyboard using only c++ QT (no QML) but I m not able to use because I need mouse for first step
I used :
CONFIG += c++11 arrow-key-navigation
for arrow navigation
and this is example for my code:
// set gui _qView.setReadOnly(true); _qGrid.addWidget(&_qView, 0, 0, 1, 3); _qBtnClr.setShortcut(QKeySequence("CLEAR")); _qGrid.addWidget(&_qBtnClr, 0, 3); // connect signal handlers connect(&_qBtnClr, &QPushButton::clicked, this, &MainWindow::clear);
but at star, I need to move mouse and to click on mouse.
Then keyboard allows me to use arrows.
No mouse, no arrows controls .Can you suggest how to start with arrows without mouse ?
@Montanaro Maybe you need to set focus on one of your widgets?