Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QFrame mouse and key input

QFrame mouse and key input

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 683 Views
  • 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.
  • B Offline
    B Offline
    BlackArma
    wrote on last edited by
    #1

    Hi everyone,

    I implement my small game engine into a Qframe. Now i need mouse and keyboard input but i can't get it with MsgProc() so i need another way through Qt. I haven't found anything while googling, i hope someone can help me!

    1 Reply Last reply
    0
    • B Offline
      B Offline
      belab
      wrote on last edited by
      #2

      Hi Black,
      you could install an event filter into you frame like "this one here...":http://qt-project.org/doc/qt-5/qobject.html#installEventFilter

      1 Reply Last reply
      0
      • B Offline
        B Offline
        BlackArma
        wrote on last edited by
        #3

        Okay, thank you!
        I will try it...

        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