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. User and programic generated signals

User and programic generated signals

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 190 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.
  • A Offline
    A Offline
    AndrzejB
    wrote on last edited by AndrzejB
    #1

    I want two sliders: coarse and fine like microscope. Fine will 10x (or more) finer, for example has range 50 (pixels for graphic action), where coarse has range 500 pixels.
    If I move coarse - must be moved fine and go action, if I move fine , must move coarse and also go action.
    Each change each slider must turn off signals other slider and next turn on?

    Pl45m4P 1 Reply Last reply
    0
    • A AndrzejB

      I want two sliders: coarse and fine like microscope. Fine will 10x (or more) finer, for example has range 50 (pixels for graphic action), where coarse has range 500 pixels.
      If I move coarse - must be moved fine and go action, if I move fine , must move coarse and also go action.
      Each change each slider must turn off signals other slider and next turn on?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @AndrzejB

      What is your question?
      You can do what you describe with Qt signals and two QSliders.
      Re-implement QSlider, make your own QSlider class and start with implementing your behavior.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      A 1 Reply Last reply
      1
      • Pl45m4P Pl45m4

        @AndrzejB

        What is your question?
        You can do what you describe with Qt signals and two QSliders.
        Re-implement QSlider, make your own QSlider class and start with implementing your behavior.

        A Offline
        A Offline
        AndrzejB
        wrote on last edited by
        #3

        Here is example of class FineSlider on github

        Pl45m4P 1 Reply Last reply
        0
        • A AndrzejB

          Here is example of class FineSlider on github

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by
          #4

          @AndrzejB

          and now? Do you have a question regarding the code?


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          1

          • Login

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