Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved QML 能否取代 QFileSystemModel + QTreeView + QListView 做一個素材管理器?

    Chinese
    1
    1
    285
    Loading More Posts
    • 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.
    • Jackkkkk
      Jackkkkk last edited by

      我想做一個素材管理器,樹列表顯示文件目錄,素材使用特定名稱的文件夾(如 "_folder1" 或 “folder2.asset")顯示在 QListView 中,且能顯示縮略圖,并在縮略圖上面覆蓋各種標記(如文件格式)。近一個多月我都在嘗試 QFileSystemModel => QSortFilterProxyModel => QTreeView/QListView 的方法,簡而言之,無果。如果你有興趣可以看這裡How to customize QSortFilterProxyModel to display specific folders?。

      所以我想換一種實現方式,看看 QML 能否滿足我的需求,不知道誰有這方面的經驗能夠指一條路,謝謝!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post