summaryrefslogtreecommitdiffstats
path: root/fswidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add visual feedback to FSWidgetArno2018-03-311-1/+13
| | | | | | | | * show busy cursor when gathering data * emit statusbarMessage() when gathering data The latter shows a summary with the time it has taken to gather data, the SQL query count and the number of files analyzed.
* Implement forward and back actions in FSWidgetArno2018-03-311-0/+14
|
* Visual changes for FSWidgetArno2018-03-311-6/+10
| | | | | | * replace add and remove icons with generated '+' and '-' icons * rearrange top widgets: directories at the left, center toolbar and filters at the right.
* Search database during FSWidget::gatherDataArno2018-03-311-5/+57
| | | | | | | | | | | First, look for md5 in files and files_origin. Then look for the complete filename in files, and finally for the filename without suffix in files_origin. If we have a match, note it in the new column "Presence". Matches from files are displayed green, matches from files_orgin blue. This implementation tries to execute as few QSqlQueries as possible by using goto for performance. We only want to know if the file is somewhere present, so skip the remaining queries once we have a match.
* Make FSWidget prettierArno2018-03-311-2/+15
| | | | | | * add programmatically rendered icons * make text Qt::black * set rootIsDecorated to false
* Actually make FSWidget show some dataArno2018-03-301-1/+63
| | | | Not pretty, but we're getting there.
* Implement adding filtersArno2018-03-301-13/+44
| | | | | | | Also safe and restore them. What I found out: setting the insert policy on QComboBoxes is totally useless when you insert items programmatically. So I implemented inserting items sorted on my own and generalized it for the dir and filter combobox, thanks to lambdas...
* Implement add and remove dir in FSWidgetArno2018-03-301-0/+48
| | | | | Still doesn't read anything from the filesystem, but now you can add and remove directories. Also, the settings are saved.
* Basic layout for new FSWidgetArno2018-03-301-0/+63
Just the layout, does absolutely nothing yet.