summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move NewPicsDialog to topLeft + selectAllArno2015-03-213-5/+18
| | | | | | When calling NewPicsDialog from PictureViewer, move it to the top left corner to not cover the pic itself. Also, select all pics from current directory when no files are marked.
* Add missing returnArno2015-03-211-1/+1
|
* Delete emtpy seriesArno2015-03-215-5/+33
| | | | | Enable the delete option in ArchiveTree, but only allow delete when it has no children.
* Fixed and beefed up "Move to archive"Arno2015-03-214-2/+85
| | | | | | It crashed when used on directories, because naturally md5sum was empty. So recurse through directories, collect files and check if we have a DB- Entry. If so, move the files back to archive. If not, skip them.
* Implement gotoArchiveArno2015-02-144-0/+38
| | | | | | New context menu item for Filesystemwidget: select the seriespart when goto archive is triggered... Selecting the partId from ArchiveModel was deceptibly simple. Doom impending?
* Center QFileDialogArno2015-02-145-4/+26
| | | | | Center Filedialog in NewMovieWizard::infoPage when adding source files. Also switch to the directory from FSWidget.
* Implement play several timesArno2015-02-144-1/+56
| | | | Add context menu entry for playing movies in a loop or 2..5 times.
* Center on selected directory on startupArno2015-02-133-1/+10
| | | | | | Center on the selected dir in Filemanager on startup. Unfortunately it's not as straight as one would think. scrollTo doesn't work until the widget is painted, so we have to take a little detour...
* Select search term and focus QLineEditArno2015-01-252-0/+9
| | | | selectAll() on search term and focus it when showing the search dialog
* Set focus on ArchiveTree after searchArno2015-01-251-0/+1
| | | | | SetFocus() on ArchiveTree after doubleclicking a search result, so we can see the selection even after changing the tab.
* New: search dialogArno2015-01-248-4/+242
|
* Show NewPicsDialog and Progress when adding FilesArno2014-12-271-1/+1
|
* Fix Duration in StatusBarArno2014-12-271-1/+1
| | | | | Show the total duration again. QVariant().toInt() with a float results in 0, it seems...
* Sprinkled newpicsdialog.cpp with qApp->processEvent()Arno2014-12-231-1/+6
|
* Don't show progressdialog when autorefreshingArno2014-12-104-8/+23
| | | | | | They don't play nice together. Crap... AutoRefresh should be a thread, but that opens another shebang of problems, I guess. So don't show the dialog for now.
* Various Bugfixes and cleanupsArno2014-12-107-31/+19
| | | | | | | | | | | | * remove debug statements from SmDirWatcher * Don't crash on parentDir when current Dir is already deleted * Fix PicFilesModel MappingQuery. It needlessly referenced the table pics in FROM causing an expensive full table scan! * Fix findRecursive in PicFilesModel: Stupid typo! * Give SmDirWatcher a separate DB-Connection. One Thread, one Connection * Remove several includes This should have been 6 commits, but that's how debugging works :(
* Make metadata icon configurableArno2014-12-103-1/+15
|
* Let database handle daddedArno2014-12-101-2/+1
| | | | Add a default value in db schema instead of doing it in the logic.
* Weed out SeriesMetadataModelArno2014-12-106-407/+0
| | | | | Delete last remnants of this class (includes and files). It's not needed any more.
* Revamped MetadataWidgetArno2014-12-106-46/+81
| | | | | | | | Split it up into a small QTreeView and a QTextEdit for the comment. QTreeView and horizontal scrollbars don't seem to play nice together. Qt never displays the bar even if ElideText is set to none. So add a QToolTip for the Subject/Name, since it's most likely not displayed completely.
* Fix typoArno2014-12-091-1/+1
| | | | Use real old name for reencode origin
* Fix metadataArno2014-12-091-19/+16
| | | | | Remove always failing query for enabled metadata. That checkbox is gone...
* Fix crash with metadataArno2014-12-092-18/+5
| | | | Don't try to access non-present fields. Weed them out!
* Major revamp of the file ManagerArno2014-12-079-222/+94
| | | | | | Nothing is async any more. Didn't work, anyway. Instead show a QProgressDialog when gathering data. Was kinda surprising that processEvents has to be called explicitly... Well, done!
* Redesign of NewMovieWizardArno2014-12-078-99/+130
| | | | | | Make it possible to add parent files to files, so we can identify already downloaded files even if we reencoded them. Record the md5sum in a new table files_origin.
* Select child dir when going up in directory hierarchyArno2014-11-084-0/+14
| | | | | Select the previously selected dir in FileView when going up in the directory hierarchy.
* Added icon and toolbar entry for unpack actionArno2014-07-101-1/+4
|
* Sort Movie archive list appropriatelyArno2014-07-102-0/+24
| | | | | Don't just sort alphabetically. Also regard the Series No. by extracting it via a RegExp.
* Sort MappingItem alphabeticallyArno2014-07-101-1/+8
|
* Fix commit dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5eArno2014-07-093-1/+15
| | | | | | | | Since that commit we not only recorded leaves for Mappings, but also the nodes. This is plain wrong, since we build the path/tree ourselves where it matters (e.g. MappingTreeItem). Fix it by checking recursively if the MappingItem has children.
* Bring back the nice MappingItem!Arno2014-07-094-59/+101
| | | | | | | | | | Resurrect the indented MappingItem. There's some recursion involved, but actually it ain't so hard if you have a template :) This adventure uncovered a bug in NewPicsDialog: Right now we also record the nodes (not just the leaves) for the Mappings. This bug was introduced by commit dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e and will be fixed in one of the next commits.
* Read all output in UnpackerArno2014-07-081-0/+6
|
* Fix MappingTreeResultModel for goodArno2014-07-083-11/+22
| | | | | removeRows and insertRows is buggy. Unfortunately I can't figure out how... So make it easy and reset the model on inserts and removals.
* Clear command Queue before unpacking archivesArno2014-07-084-2/+9
|
* Display unpack output in DialogArno2014-07-088-21/+226
| | | | | This was a difficult one. Got lost in the Semantics of QThread once again, but just 2 days later it works :)
* Fix MappinTreeWidget::addChildArno2014-07-071-6/+9
| | | | | | Fix the lookup of a new child, so it will select the right child if we have more than one child with the same name. Do it by looking up the id instead of the name.
* Major rework of MappingTreeResultView + ModelArno2014-06-2910-186/+154
| | | | | | | Well, I hope this fixes the crashes for good. String comparison for looking up the parents really wasn't a prudent thing to do... Use the ParentIds instead.
* Fix Display of mappingsArno2014-06-193-53/+65
| | | | | MappingTreeModel::treeFromPath() never worked as intended, so replace it by displaying mappings in a QTextTable.
* Add Skip in PictureViewer2Arno2014-06-074-1/+53
| | | | | PageDown = back 25 PageUp = forward 25
* Go to unpack dir after unpackingArno2014-06-071-0/+4
|
* UnpackArno2014-06-074-0/+29
| | | | Added entry for unpacking archives. For now zip and rar are recognized.
* Added QProgressdialogArno2014-06-071-1/+13
| | | | Show ProgressDialog when checksumming and archiving pictures
* Delete files from ArchiveArno2014-04-186-0/+51
| | | | Well, the title says it all. KILL THEM!
* Show doubleClicked pictureArno2014-04-181-0/+1
| | | | | Long standing bug, I guess. Select and show the doubleClicked picture instead of just loading all the others and showing the first one.
* Change "Add Covers..." to "Add files..."Arno2014-04-185-30/+37
| | | | Generalize the slot. Make it possible to add movies, too.
* Implement Drag and Drop in Movie ArchiveArno2014-04-106-2/+150
| | | | | | | | | | | | | | Well, this was actually a bit of a drag. You have read the docs very carefully to get it right. For one, don't construct the drag object in mousePressEvent if you also want a double click, otherwise you end up with very weird behavior. Same goes for the receiving end. Differentiate between dragEnterEvent and dragMoveEvent, otherwise you'll only be able to drop items if you hit the right row on entering. There are some artefacts during the drag, but I guess that's a Qt bug. Didn't bother to look into it.
* Create new, empty Seriespart by contect menuArno2014-04-078-19/+135
| | | | | Preparation for drag and drop. Also make it possible to delete Seriesparts without files.
* Fix sorting of SeriesPartsArno2014-04-073-24/+6
| | | | | Arrange Seriespartsname different so the default implementation of QSortfilterProxyModel can handle the sorting.
* Fix SeriesPartNo == 0Arno2014-04-042-2/+2
| | | | | Fix sorting in ArchiveTree and make it possible to enter zero in NewMovieWizard.
* Only activate delete SeriesPart on SeriesPartNodeArno2014-04-041-1/+1
|