Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    QML and Qt Quick
    2
    3
    985
    Loading More Posts
    • 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
      Dang Vu last edited by Dang Vu

      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 Reply Quote 0
      • M
        mostefa last edited by

        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 Reply Quote 0
        • D
          Dang Vu @mostefa last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post