Qt Forum

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

    Unsolved How on every row of QListView show different file or folder?

    General and Desktop
    qlistview pyqt5 qt5
    2
    2
    1583
    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.
    • sajjad
      sajjad last edited by

      Hi
      I am new to pyqt5, i am building a file search app in python that use pyqt5.
      How can i show on every row of QListView different file or folder with different path. If you can give also c++ example i appreciate that.
      Thanks for your Help.

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi and welcome
        not directly an answer, but have you looked at the example ?
        http://doc.qt.io/qt-5/qtwidgets-dialogs-findfiles-example.html

        there is also QFileSystemModel
        http://doc.qt.io/qt-5/qfilesystemmodel.html#details
        to be used with views.

        also, just to be sure u saw it
        http://doc.qt.io/qt-5/model-view-programming.html

        Good intro on how it fits together.

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