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. TableViewColumn displaying data based on two roles (TreeView)
Qt 6.11 is out! See what's new in the release blog

TableViewColumn displaying data based on two roles (TreeView)

Scheduled Pinned Locked Moved General and Desktop
treeviewqmlmodel-viewqstandarditemrole
1 Posts 1 Posters 1.0k 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.
  • B Offline
    B Offline
    BPie
    wrote on last edited by BPie
    #1

    How can I display data computed from few "roles" in my view (TreeView in qml) data in specific column (TableViewColumn (qml))? I have to use delegates? What role property will have the TableViewColumn in my TreeView? I am using QStandardItemModel (C++) and TreeView (qml), Qt5.5.

    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