Unsolved Qml custom treeview filebrowser
-
Hi,
I need custom file browser in tree view,already default is there but it works from 5.9 of Qt version,
I am using 5.7.1 for my embedded device.
Can anybody please post part of code.Thanks in advance.
-
Hi!
@Apeksha said in Qml custom treeview filebrowser:I need custom file browser in tree view,already default is there but it works from 5.9 of Qt version
Which QML type are you talking about? I can't find a tree view or file browser in the list.
-
You can use QFileSystemModel on the C++ side displayed in a TreeView with this proxy (it's untested code) in between to support multiple columns
-
@Wieland
https://doc.qt.io/qt-5/qtquickcontrols-filesystembrowser-example.html
above link shows default filebrowser, which is not working in my version. -
I need filebrowser to implent in qml, not in c++.
-
@Apeksha said in Qml custom treeview filebrowser:
above link shows default filebrowser
@Apeksha said in Qml custom treeview filebrowser:
I need filebrowser to implent in qml
If you read the link you posted you realise it's doing exactly what I suggested
-
I have used filedialog, its working fine but when I am trying to open filedialog it was opening whole screen and open and cancel buttons were not coming.
I am trying it for linux .O.S details are as follows:
Linux zcu102_base_trd 4.9.0 #5 SMP aarch64 GNU/Linux
Can anyone please help me.
Thanks in advance