Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. adding a button on QT/QML drop down/combobox item item
Forum Update on Monday, May 27th 2025

adding a button on QT/QML drop down/combobox item item

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 554 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.
  • C Offline
    C Offline
    cebuger
    wrote on 4 Jan 2022, 08:20 last edited by
    #1

    I want to style my QML based combo/dropdown box so that each item will have a "delete" button on it like so
    60b320b0-ef7c-4850-9bd4-a4e86bf8f76d-image.png

    How can I achieve this? is there any article or links I can refer to to achieve this? I am using QML to design the widget.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fcarney
      wrote on 4 Jan 2022, 23:21 last edited by
      #2

      https://doc.qt.io/qt-5/qml-qtquick-controls2-control.html#contentItem-prop

      C++ is a perfectly valid school of magic.

      1 Reply Last reply
      0

      1/2

      4 Jan 2022, 08:20

      • Login

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