summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for NewPicsDialogArno2015-06-061-1/+3
| | | | | | | * Position progress bar in the center of the dialog instead of PictureViewer * Set title for progress bar * set appropriate windowTitle for NewPicsDialog
* More keyboard navigationArno2015-06-062-2/+29
| | | | Add CTRL+A for new actor to MappingTreeView
* Navigate NewPicsDialog by keyboardArno2015-06-063-27/+68
| | | | | | | | | | | MappingView: * Key_Right: add mapping * Ctrl-Key_Right: shift focus to ResultView * Delete: clear all mappings ResultView: * Key_Left: remove mapping * Ctrl-Key_Left: shift focus to MappingView
* Fixes for NewPicsDialogArno2015-06-061-2/+5
| | | | | * Make sure that we don't add pictures without mapping * Let the windowmanager position the progress dialog
* Clean up ConfigurationdialogArno2015-06-062-40/+0
| | | | Remove all remnants of PictureViewer size.
* Resize PictureViewer2Arno2015-06-065-19/+12
| | | | | | Make it possible to resize the PictureViewer2 and get rid of fixed size. Also, make sure that the current picture is redrawn when we get a resize event.
* Fix removing files from NewMovieWizardArno2015-05-171-3/+13
| | | | | | | | | | Removing files didn't work as expected: It removed files more or less at random, because the indexes were from the proxy and weren't mapped back to the source. While at it, make it possible to remove several files at once and change the label of the button to make clear that the files are only removed from the view.
* Implement presets for NewPicsDialogArno2015-04-086-21/+124
| | | | A set of attributes can now be saved and loaded in NewPicsDialog.
* Save position of NewPicsDialogArno2015-04-083-2/+36
| | | | | Add button to save the position of the NewPicsDialog and move it there when we show()
* NewPicsDialog: Select current item in MappingTree on change inArno2015-04-082-4/+21
| | | | | | | ResultView Usability fix: When selecting a mapping in the result view, select it in the source tree, too.
* Fix logic for activating actionsArno2015-03-312-3/+3
| | | | | Well, that happens when you just copy and paste, not understanding what you're doing. Kinda embarrassing...
* 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