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. QML Tree View Expand or collapse Even while clicking on the text or the anywhere on the row

QML Tree View Expand or collapse Even while clicking on the text or the anywhere on the row

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
treeviewtreeview modelqtquickqt5qml
1 Posts 1 Posters 574 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 19 Aug 2021, 14:22 last edited by vinaygopal
    #1

    I Have a very basic QML TreeView which is getting Data from the C++ Side, The expand or collapse of the UI for tree view happens only when i click those arrow buttons on the left side of the tree View.

    treeView_with_arrow.jpg

    I want a Ui Such that when i am able to click on the Lable next to the arrow Even then the TreeView should expand or collapse accordingly.

    Is there a way to do it in QML?

    1 Reply Last reply
    0

    1/1

    19 Aug 2021, 14:22

    • Login

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