ccbogel / QualCoder

Qualitative data analysis for text, images, audio, video. Cross platform. Python 3.10 or newer and PyQt6.
https://qualcoder.wordpress.com/
GNU Lesser General Public License v3.0
376 stars 85 forks source link

"Folders" (categories) for files #446

Closed AndrzejWawa closed 3 years ago

AndrzejWawa commented 3 years ago

Hi,

It is possible to create categories, named as "folders" to avoid confusion, for files? They could work exactly as the categories for codes, and be acailable in the manage file window and, especially, in the list of files in the code text/image/video modes.

When someone have a lot of files (as me), it will be easier to have categories them and not scroll through the all.

Kind regards Andrzej

ccbogel commented 3 years ago

What I could do is: Perhaps add a button underneath (with the other buttons) which opens a selection dialog. In here you can select a file attribute to show only files with a particular attribute.

ilippert commented 3 years ago

Lovely point, I was thinking of this issue with two questions:

My intention with the questions is to offer a different way of looking at the issue - if it does not add an interesting use perspective, please do ignore.

ilippert commented 3 years ago

In the coding view, I am shown the files. That is great. Here, too, it would be amazing, if I could filter the files/show a folder/group/selection of the files. This kind of interest matters as soon as I have more than say 15 files of which the file names are not systematised (in my ethnographic research, files keep the names of their "natural" setting, and so names are very idiosyncratic).

AndrzejWawa commented 3 years ago

What I could do is: Perhaps add a button underneath (with the other buttons) which opens a selection dialog. In here you can select a file attribute to show only files with a particular attribute.

Yes, it is even better than folders. Is it possible to implement this also in the coding mode?

ccbogel commented 3 years ago

Yes, it is even better than folders. Is it possible to implement this also in the coding mode?

Yes. I am working on this. The Graphical elements are in place now. I need to work on the code to select the files based on attributes.

ccbogel commented 3 years ago

OK now you can select files in the coding areas based on selected parameters. There is a button that looks like a tag, underneath the files list. It goes yellow when you are selecting parameters. The parameters are based on your file attributes, and also if any case is linked to that file. (Actually, I am not sure the semi-colon works here, I have to test that) - I might have to hide that wording.

pic5

ccbogel commented 3 years ago

@ilippert could the columns in the files dialog be sortable - instead of (or in addition to) using the contextual mouse click? could the columns be filterable? Do you mean in the Manage Files files dialog ? As yes this happens now, right click on the file names, or to sort and filer by attributes, right click on the file attributes

AndrzejWawa commented 3 years ago

Works very well. If you do not specify the operator in filtering files in the codings mode, the window with warning will appear two times, not one.

AndrzejWawa commented 3 years ago

And maybe this filtering window with logical operators from coding mode could be also implemented in the file management mode? However, it is only loose idea, if it is not difficult to implement. For me, the most important was filtering in coding mode. Now. it is wonderful : )

ccbogel commented 3 years ago

OK, I will close this current issue. In file management - that would be another issue to open.