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. Optgroup from html equivalent in qml

Optgroup from html equivalent in qml

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 515 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.
  • J Offline
    J Offline
    jedi_knight
    wrote on last edited by
    #1

    Is there an equivalent for optgroup in qml?
    Can I do something like this
    @<select>
    <optgroup label="group1">
    <option value="1">1</option>
    </optgroup>
    <optgroup label="group2">
    <option value="2">2</option>
    </optgroup>
    </select>@
    or do I have to re-implement this functionality? I tried enabled: false on list elements, but this does not work. Can anyone point me the best direction to solving this problem? Thanks in advance.

    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