pjrinaldi / wombatforensics

linux c++, fox-toolkit, multi-threaded forensic gui tool
GNU General Public License v2.0
47 stars 12 forks source link

Path ToolBar Style TreeView #388

Closed pjrinaldi closed 3 years ago

pjrinaldi commented 3 years ago

Working on an alternate treeview where it is similar to thunar and only shows files for the current folder.

not really what i should be doing to get to v0.4 release, but I feel like playing with this prior to getting back to parsing nts orphans and then fixing all the other functions based on the changes to my parsing method...

pjrinaldi commented 3 years ago

Getting there, I need to figure out why I can't get my connect() statement working for the pathtreeview, otherwise, most of it is working....

pjrinaldi commented 3 years ago

connect statement is fixed, typo which didn't cause an error. last remaining issue is moving the id back to 0 and then figure out how to get the checkbox functionality to work for the pathtreeview.

pjrinaldi commented 3 years ago

added the QModelIndex() by default to the pathtreeview toolbar so that you can get back to the evidence items.

checkbox is sort of working, but it isn't updating fast immediately, it is updating after i click on another item, so i need to update something somewhere.

pjrinaldi commented 3 years ago

fixed checkbox, just needed to emit dataChanged. also changed the "HOME" to "BURROW", since that is what wombats call their home and it goes with the theme.

pjrinaldi commented 3 years ago

also need to remove all the dirtreeviewcode and delete it from the main ui file. look into a home icon with the wombat inside to replace the word burrow and leave the tooltip as burrow.

Also need to look into user column hiding and user column resize.

pjrinaldi commented 3 years ago

when treemodel data is loaded into view, need to resize name column? but if a user shrinks they would get annoyed if it constantly changes size, so maybe i need a global variable for user adjusted column? need to come up with a UI concept to implement header "filter" and header hide columns. i can put columns in settings or a right click menu to hide/show columns and a left click to bring up filter, but then i may want to implement sort under the new treeview as well, so maybe left click sort, middle click filter, right click hide/show columns.

pjrinaldi commented 3 years ago

added right click menu to show/hide columns in pathtreeview. so left click is filter, still don't think i want to do sort at the moment.

just need to do code cleanup, change TestData to some relavent function name and remove all dirtreeview remnants.

pjrinaldi commented 3 years ago

code cleanup complete, TestData renamed to ShowRootIndex(), and i'll remove the remaining dirtreeview remnants when i decide if I want to re-implement the functions such as next item, prev item, etc...

pathtreeview and pathtoolbar are working.