Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How can change color: dial, Label, Rectangle, of Qt Quick control 2- Labs control?

How can change color: dial, Label, Rectangle, of Qt Quick control 2- Labs control?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.4k 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.
  • D Offline
    D Offline
    Dang Vu
    wrote on last edited by Dang Vu
    #1

    Good day everybody!
    i doing my project regarding Qt Quick control 2. I don't know how to change color Label, dial, button, combobox, checkbox in QT Labs control? example: i wan't to change color of "Switch" or "Dial", how i can do that? Thanks!

    https://www.facebook.com/photo.php?fbid=1019357631542059&set=oa.1254566151293828&type=3&theater
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      mostefa
      wrote on last edited by
      #2

      Hi @Dang-Vu

      have a look at this link :

      for dial

      http://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-dial

      for Switch

      http://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-switch

      for all Qt Quick Control components

      http://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-a-control

      Hope this can help !

      D 1 Reply Last reply
      0
      • M mostefa

        Hi @Dang-Vu

        have a look at this link :

        for dial

        http://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-dial

        for Switch

        http://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-switch

        for all Qt Quick Control components

        http://doc.qt.io/qt-5/qtquickcontrols2-customize.html#customizing-a-control

        Hope this can help !

        D Offline
        D Offline
        Dang Vu
        wrote on last edited by
        #3

        @mostefa Thanks! it very useful for me! thanks your help ^-^

        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