mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-06 01:51:00 +02:00
Comment on future IME improvements
This commit is contained in:
parent
f783a80f34
commit
0f3dc71128
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ void GLWidget::doneCurrent() {
|
||||||
}
|
}
|
||||||
|
|
||||||
QVariant GLWidget::inputMethodQuery(Qt::InputMethodQuery query) const {
|
QVariant GLWidget::inputMethodQuery(Qt::InputMethodQuery query) const {
|
||||||
|
// TODO: for now we just use top left corner for an IME popup location, but in the future its position could be calculated
|
||||||
|
// for a given entry field.
|
||||||
if (query == Qt::ImCursorRectangle) {
|
if (query == Qt::ImCursorRectangle) {
|
||||||
int x = 50;
|
int x = 50;
|
||||||
int y = 50;
|
int y = 50;
|
||||||
|
|
Loading…
Reference in a new issue