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
Forum Updated to NodeBB v4.3 + New Features

how to implement drop down color picker

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmlqt quickdrop-downcolordialog
6 Posts 3 Posters 1.1k Views 1 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.
  • V Offline
    V Offline
    vinaygopal
    wrote on 2 Dec 2021, 08:42 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
    • J Offline
      J Offline
      JoeCFD
      wrote on 2 Dec 2021, 18:20 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 7 Dec 2021, 06:29 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 7 Dec 2021, 11:19
        0
        • V vinaygopal
          7 Dec 2021, 06:29

          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 7 Dec 2021, 11:19 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 7 Dec 2021, 11:48
          0
          • M mpergand
            7 Dec 2021, 11:19

            @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 7 Dec 2021, 11:48 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 7 Dec 2021, 12:09
            0
            • V vinaygopal
              7 Dec 2021, 11:48

              @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 7 Dec 2021, 12:09 last edited by
              #6

              @vinaygopal
              Sorry I know nothing about QML.

              1 Reply Last reply
              0

              6/6

              7 Dec 2021, 12:09

              • Login

              • Login or register to search.
              6 out of 6
              • First post
                6/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved