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. QDial Stylesheet?
Qt 6.11 is out! See what's new in the release blog

QDial Stylesheet?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 3.9k Views 2 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.
  • A Offline
    A Offline
    Adam Crowe
    wrote on last edited by
    #1

    Hello,

    Can someone please help with how to style a QDial using stylesheets? The only parameter that has any effect as far as I can tell is "background". Am I missing something? Would prefer to avoid overriding the paint and resize functions as it seems quite convoluted.

    Any advise would be appreciated!

    Many thanks!

    Adam

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What exactly do you want to modify on your dial ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Adam Crowe
        wrote on last edited by
        #3

        The face colour and the shape of the "needle" would be nice.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          AFAIK, you can't from stylesheets. Maybe QwtDial might fit your needs better.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          A 1 Reply Last reply
          2
          • SGaistS SGaist

            AFAIK, you can't from stylesheets. Maybe QwtDial might fit your needs better.

            A Offline
            A Offline
            Adam Crowe
            wrote on last edited by
            #5

            @SGaist said in QDial Stylesheet?:

            AFAIK, you can't from stylesheets. Maybe QwtDial might fit your needs better.

            Ooohh looks interesting. Thank you very much!

            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