Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. QML 能否取代 QFileSystemModel + QTreeView + QListView 做一個素材管理器?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 445 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.
  • JackkkkkJ Offline
    JackkkkkJ Offline
    Jackkkkk
    wrote on last edited by
    #1

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

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

    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