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. Custom combobox that looks like one in image
Qt 6.11 is out! See what's new in the release blog

Custom combobox that looks like one in image

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 563 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.
  • T Offline
    T Offline
    thomasjohnaj
    wrote on last edited by
    #1

    HI there, I am new to qt. want to create a combobox that looks like one in the image. Can you please guide how to start this? Regarding research i did, I got some post were we can change the drop down image. I was not able to find any example that match my requirement.

    Requirement

    1. create a combo box that have
      a) one down arrow image at the extreme left
      b) The selected text displayed ( which is a message)
      c) A button at the right side ( to acknowledge the message)

    Combobox.png

    JonBJ 1 Reply Last reply
    0
    • T thomasjohnaj

      HI there, I am new to qt. want to create a combobox that looks like one in the image. Can you please guide how to start this? Regarding research i did, I got some post were we can change the drop down image. I was not able to find any example that match my requirement.

      Requirement

      1. create a combo box that have
        a) one down arrow image at the extreme left
        b) The selected text displayed ( which is a message)
        c) A button at the right side ( to acknowledge the message)

      Combobox.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @thomasjohnaj
      Odd requirement! It would be unusual to have a combobox with a message and acknowledgment button. Is this a study assignment, or do you have a use case?

      T 1 Reply Last reply
      0
      • JonBJ JonB

        @thomasjohnaj
        Odd requirement! It would be unusual to have a combobox with a message and acknowledgment button. Is this a study assignment, or do you have a use case?

        T Offline
        T Offline
        thomasjohnaj
        wrote on last edited by
        #3

        @JonB It's a real use case

        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