void KeyboardLayoutEditor::setKeyGeometry(int keyIndex, int top, int left, int width, int height) { QRect rect(top, left, width, height); if (rect != keyboardLayout()->key(keyIndex)->rect()) { QUndoCommand* command = new SetKeyGeometryCommand(keyboardLayout(), keyIndex, rect); currentUndoStack()->push(command); } }
void QQnxVirtualKeyboardBps::applyKeyboardOptions() { virtualkeyboard_layout_t layout = keyboardLayout(); virtualkeyboard_enter_t enter = enterKey(); qVirtualKeyboardDebug() << Q_FUNC_INFO << "mode=" << keyboardMode() << "enterKey=" << enterKeyType(); virtualkeyboard_change_options(layout, enter); }
void Util::setKeyboardLayout(const QString &layout) { if (layout == keyboardLayout()) { return; } setSettingsValue("ui/keyboardLayout", layout); emit keyboardLayoutChanged(); }