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. [Solved]How to disable mouse control of Qdial

[Solved]How to disable mouse control of Qdial

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.4k 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.
  • S Offline
    S Offline
    sharkattack28
    wrote on last edited by
    #1

    I am trying to use a Qdial to display the position of a motor drive. I can get the dial using the setSlidePosition function. But the mouse can still move the dial. Is there any way that can stop the mouse /wheel from controlling the dial?

    Thanks,
    shark

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      You can just set it Disabled using setDisabled(true);

      157

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sharkattack28
        wrote on last edited by
        #3

        p3c0,
        Thank you, I have feeling today is going to be one of those days :/!!
        Shark

        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