Customize QFiledialog sidebarurls



  • I would like to ask you if it is possible to customize the sidebar in a QFileDialog. My problem is that I want to display in the sidebar two paths like below:
    /tmp/area1/data
    /tmp/area2/data

    By adding these two paths in QFileDialog.setSidebarUrls(paths)

    the displayed links in the sidebar are the same - "data" and "data"- which is not so nice
    (by default in sidebar of QFileDialog the last name of the path is displayed).

    I am wondering if there is any way to rename the displayed named in the sidebar??



  • I am also looking for this kind of customization.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.