QtModelUtilities icon indicating copy to clipboard operation
QtModelUtilities copied to clipboard

Proxy model to remove hierarchy levels

Open VSRonin opened this issue 6 years ago • 4 comments

Make a proxy model that can turn a tree like

  • Project
    • DataSet1
      • Type 1
        • Elem 1_1
        • Elem 1_2
      • Type 2
        • Elem 2_1
        • Elem 2_2
        • Elem 2_3
    • DataSet2
      • Type 3
        • Elem 3_1

Into a tree like

  • Type 1
    • Elem 1_1
    • Elem 1_2
  • Type 2
    • Elem 2_1
    • Elem 2_2
    • Elem 2_3
  • Type 3
    • Elem 3_1

VSRonin avatar Jul 17 '18 07:07 VSRonin

Source of the request https://forum.qt.io/topic/92477/proxymodel-to-filter-a-model-from-an-item-that-is-not-the-root-or-submodel-from-an-item

VSRonin avatar Jul 17 '18 07:07 VSRonin

https://forum.qt.io/topic/94066/how-to-get-required-level-items-of-the-tree-in-qtreewidget

VSRonin avatar Aug 28 '18 07:08 VSRonin

https://forum.qt.io/topic/94492/show-content-of-specific-subfolders-using-qfilesystemmodel

VSRonin avatar Sep 12 '18 06:09 VSRonin

https://forum.qt.io/topic/71553/smarter-way-to-get-a-list-of-children-in-tree-model https://forum.qt.io/topic/97011/extracting-a-list-from-a-qabstractitemmodel

VSRonin avatar Nov 27 '18 09:11 VSRonin