Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treeview in FolderView #306

Closed
damianatorrpm opened this issue Nov 2, 2018 · 5 comments
Closed

Treeview in FolderView #306

damianatorrpm opened this issue Nov 2, 2018 · 5 comments

Comments

@damianatorrpm
Copy link
Contributor

I see that there are 4 different views in fm-qt/pcman:
Icon
Compact
Detailed
Thumbnail

But I don't find the treeview and it seems it is not implemented.
Was this skipped on purpose as there were particular difficulties with the FolderModel implementation
or was the feature deemed not important and thus just skipped?

@tsujan
Copy link
Member

tsujan commented Nov 2, 2018

Left pane.

@tsujan tsujan closed this as completed Nov 2, 2018
@damianatorrpm
Copy link
Contributor Author

That is different though. It shows only the folders and is not the FolderModel. I will look into the dirtreemodel

@tsujan
Copy link
Member

tsujan commented Nov 2, 2018

That is different

Different from X, Y,... but it's pcmanfm-qt's way: folders are on the left; files are displayed in the main view.

Although it may not be seen by a glance, QTreeView is used by the detailed list view.

@damianatorrpm
Copy link
Contributor Author

I am new to treeview / treemodel changing
treeView->setItemsExpandable(false);to
treeView->setItemsExpandable(true);
folderview.cpp doesn't make the expanders visible though.
Any hints what needs to be done?

tree

@tsujan
Copy link
Member

tsujan commented Nov 2, 2018

I'm afraid I don't have time to explain the code. You should read several files (plus pertinent parts of Qt doc) if you want to change it. PCMan's codes contain many good code comments and I've tried to keep it that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants