Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    How do I block a shortcut?

    General and Desktop
    2
    2
    1471
    Loading More Posts
    • 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.
    • R
      Revu last edited by

      I have implemented global shortcut keys in which left and right keys are used for volume up and down.But I need to use the same keys to change the tabs in a tabwidget.How do I block these shortcut keys in some of the widgets/windows?

      Thank you.

      Every fall is to raise higher than Before.

      1 Reply Last reply Reply Quote 0
      • V
        veeeee_d last edited by

        Try this: http://doc.qt.nokia.com/4.7/qkeyevent.html#details
        Or this: http://doc.qt.nokia.com/4.7/qobject.html#eventFilter

        1 Reply Last reply Reply Quote 0
        • First post
          Last post