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. how to implement drop down color picker
QtWS25 Last Chance

how to implement drop down color picker

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmlqt quickdrop-downcolordialog
6 Posts 3 Posters 957 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.
  • V Offline
    V Offline
    vinaygopal
    wrote on last edited by
    #1

    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
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vinaygopal
        wrote on last edited by
        #3

        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
        0
        • V vinaygopal

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

          M Offline
          M Offline
          mpergand
          wrote on last edited by
          #4

          @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
          0
          • M mpergand

            @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 Offline
            V Offline
            vinaygopal
            wrote on last edited by
            #5

            @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
            0
            • V vinaygopal

              @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 Offline
              M Offline
              mpergand
              wrote on last edited by
              #6

              @vinaygopal
              Sorry I know nothing about QML.

              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