Qt Forum

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

    Call for Presentations - Qt World Summit

    Unsolved how to implement drop down color picker

    General and Desktop
    qml qt quick drop-down colordialog
    3
    6
    256
    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.
    • V
      vinaygopal last edited by

      I see that QML provides color dialogs out of which i can pick a color , on click of a button i can launch this color picker dialogs what if dont want the color picker dialog where on click of a button i want to show the same color picker dialog but as a drow down, something like this.

      ![alt text](b92eaa9a-62b5-409e-b602-5a2dfc4c4b15-image.png image url)

      1 Reply Last reply Reply Quote 0
      • JoeCFD
        JoeCFD last edited by

        create the color picker dialog as overlay widget and move it at the right position

        1 Reply Last reply Reply Quote 0
        • V
          vinaygopal last edited by

          can i give it a height and width? is there an example or something so i can refer to it?

          M 1 Reply Last reply Reply Quote 0
          • M
            mpergand @vinaygopal last edited by

            @vinaygopal
            Search the internet about Popup window, like:
            https://stackoverflow.com/questions/45115343/placing-popup-window-at-the-bottom-right-corner-of-main-window-in-qt

            V 1 Reply Last reply Reply Quote 0
            • V
              vinaygopal @mpergand last edited by

              @mpergand currently i am having a problem with loading of colordialog in the popup.
              if you could help me with an example of how i can load a dialog in a popup! in the QML side that would be great

              M 1 Reply Last reply Reply Quote 0
              • M
                mpergand @vinaygopal last edited by

                @vinaygopal
                Sorry I know nothing about QML.

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