z(0), scale(1), rotation(0), opacity(1),
attachedLayoutDirection(0), acceptedMouseButtons(0),
- imHints(Qt::ImhNone),
+ imHints(Qt::ImhMultiLine),
keyHandler(0),
{
QInputPanel *p = qApp->inputPanel();
if (p->inputItem() == this)
- qApp->inputPanel()->update(Qt::ImMicroFocus);
+ qApp->inputPanel()->update(Qt::ImCursorRectangle);
}
QVariant QSGItem::inputMethodQuery(Qt::InputMethodQuery query) const
case Qt::ImHints:
v = (int)inputMethodHints();
break;
- case Qt::ImMicroFocus:
+ case Qt::ImCursorRectangle:
case Qt::ImFont:
case Qt::ImCursorPosition:
case Qt::ImSurroundingText:
return QVariant((bool)(flags() & ItemAcceptsInputMethod));
case Qt::ImHints:
return QVariant((int)inputMethodHints());
- case Qt::ImMicroFocus:
+ case Qt::ImCursorRectangle:
return cursorRectangle();
case Qt::ImFont:
return font();