Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Can we achieve Ctrl+S/ Ctrl+N/ Ctrl+O for saving file / new file / open file behavior with QtVirtualKeyboard? Can we get Key events from QtVirtualKeyboard?
Forum Updated to NodeBB v4.3 + New Features

Can we achieve Ctrl+S/ Ctrl+N/ Ctrl+O for saving file / new file / open file behavior with QtVirtualKeyboard? Can we get Key events from QtVirtualKeyboard?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 205 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Milind
    wrote on last edited by Milind
    #1

    I did tried to handle the QEvent::keyPress in eventfilter but in case of qtvirtualkeyboard I dont get any keyPress/keyRelease events for any key pressed from virtual keyboard? can any one help out

    I have added Ctrl Key in layout through main.qml this way:
    Key {
    key: Qt.Key_Control
    displayText: "Ctrl"
    functionKey: true
    uppercased: false
    weight: 150
    }

    My understanding is in QtVirtualKeyboard src code keyboard.qml handles the virtual key presses n don't generate any signals or events only modifiers like Alt/Ctrl we can get as they are unhandled. Any pointer will help

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved