summaryrefslogtreecommitdiffstats
path: root/archiveview.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement actions for ArchiveFileViewArno2013-07-071-0/+2
| | | | | * make files double-clickable * implement edit actions for files
* Lots of Display ChangesArno2013-07-061-3/+80
| | | | | | | | | * Save header states * Implement delegates for columns * unify size and duration to 1 column * colorize View ... and lots of other things I forgot :)
* Basic ArchiveFilesModel and ArchiveControllerArno2013-07-061-1/+19
| | | | | | | | | Implement a new file model for the archive. It's quite basic at this stage, but finally something happens when clicking the archive tree. Also, implement the interaction (signal -> slot) between the views and models in an explicit controller to prevent the mess from the old archive.
* Implement destructor for ArchiveModel, get rid of 2 signalsArno2013-06-281-1/+1
| | | | | | | | | | | We need a destructor for ArchiveModel, because we have to stop the collectors first. Otherwise there will be random crashes all over the place on exit when the Threads are destroyed while they're still running. Also, get rid of the signals collectorDone and collectorAboutToBeDone. The latter was unused, and the former can be replaced with QAbstractItemModel::modelReset.
* 2 minor improvents to ArchiveViewArno2013-06-261-0/+1
| | | | | * make it sortable * change the header when changing the sort order
* Keep state of expanded itemsArno2013-06-231-14/+38
| | | | | Well, sounds easier as it is to keep track of expanded items, but finally I got it!
* Make the archive cache usefulArno2013-06-231-33/+0
| | | | | Read the cache if there is one, if not, read it in another thread and update the view when it's done.
* Filter recursiveArno2013-06-141-20/+3
| | | | | | | | | | | Well, well... Recursion isn't that bad at all. Filter experimental ArchiveView recursive by the following rules: * check children _and_ parents for filter * if any child _or_ parent matches, accept the current row, parents and children. The column is converted to a QString and matched by QRegExp, so don't try to match numbers or anything else.
* Remove nodesArno2013-06-031-0/+12
| | | | | Implement remove nodes for ArchiveView. Only empty nodes without children can be removed. Everything else is too dangerous :)
* Fix error message for ArchiveViewArno2013-06-021-1/+5
| | | | | | | While thinking about merging items, I realized that it is not necessary. Just edit the mappings instead. However, a fallout is an error function for the TreeView.
* Implement RenameArno2013-06-021-1/+36
| | | | Rename items: spits out an error message if the new item already exists.
* Remember expanded ItemsArno2013-06-021-0/+29
| | | | | For the current SortOrder the expanded items are written to the config file and read on startup.
* Gather archive data in a threadArno2013-06-011-3/+41
| | | | | Fetching data sometimes takes a long time, so do it in a QThread and show a progress dialog. Some kludges included :)
* Make filter work in new ArchiveViewArno2013-06-011-4/+70
| | | | | | | Filter by QRegExp, but only on the first level according to the sort order. All items are expanded when filtered. Also, remember the filter and the sort order when exiting.
* Do something when SortOrder is changed in ArchiveViewArno2013-06-011-6/+5
| | | | | | | | | Actually do something when the sort order is changed. That resulted in various fixes to both model and view, since both had completely untested codepaths. Most notable fix: Only select those seriesparts which are actually mapped to the selected genre or actor.
* Fix various display issues of ArchiveModelArno2013-06-011-4/+12
| | | | | | * Show childcount * Show subtitle or part no * Resize Widget properly
* Add view for new ArchiveModelArno2013-06-011-0/+60
Display the new ArchiveModel in an experimental tab