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. Awesome slider by one Daniel Kuhne
Forum Updated to NodeBB v4.3 + New Features

Awesome slider by one Daniel Kuhne

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

    Hello,
    I have a slider and a dial in my GUI. I want to change my Dial to a segment of 270 degrees with a look like the one by Daniel Kuhne in this video:
    http://www.youtube.com/watch?v=EIAZmOMfUVU

    How do I create the cool blue and yellow slider/dial?

    I am very new to Qt and totally clueless.

    Thanks for any pointers!

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      If you ask me, he has done one of two things:

      • subclassed the slider and done some redrawing in the paint event
      • used extensive use of stylesheet to get it to work (but that seems unlikely).
        My advice if your a noob at Qt, stick to standard Widgets first, get a handle on layouts etc and how Qt and QObject work. Then try to do a paintEvent and go from there.
        Greetz

      Greetz, Jeroen

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kpks
        wrote on last edited by
        #3

        OK. I will stick to the basics.
        thanks.

        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