summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove slide indicator from status barArno2015-08-282-23/+0
| | | | | Useless, and didn't work anyway since using the control item in pictureviewer.
* Fixes for control item in PictureViewer2Arno2015-08-281-13/+18
| | | | | | * place it bottom right instead of right center * add proper margins * use variables for margins and sizes instead of magic numbers
* Extract title from StreamArno2015-08-282-0/+20
| | | | | If a title tag exists in a movie's metadata, extract it with ffmpeg and put it into mSubtitle when archiving new movies.
* Implement shuffle in PictureViewer2 controlsArno2015-08-274-29/+38
| | | | Remove action from context menu.
* Remove PVActions from SheMovArno2015-08-275-75/+1
| | | | Remove actions that are now triggered by the ControlItem.
* Add missing restore() for QPainterArno2015-08-271-0/+1
|
* Fix keyboard triggersArno2015-08-271-2/+26
| | | | Call the appropriate functions on keyPressEvent
* Reload picture list on normal slideArno2015-08-271-0/+3
| | | | | When changing from slide through all to slide, reload picture list from model instead of continuing with current list from all.
* Make PictureViewer2 controls workArno2015-08-272-4/+71
| | | | | Now the controls actually do something. Not still as promised, but they kinda work!
* Display control itemsArno2015-08-272-5/+67
| | | | | Draw control items in PictureViewer2 at the right centered on the y- axis.
* Create dummy BoundingRectItem for controlsArno2015-08-272-2/+38
| | | | Draw a dummy rounded rectangle on the bottom left for control items.
* Custom QGraphicsScene for PictureViewer2Arno2015-08-272-3/+19
| | | | | Introduce PictureViewerGraphicsScene for upcoming control items in the scene.
* Don't crash when current pic doesn't existArno2015-08-131-0/+4
| | | | Check if the currently shown picture still exists instead of crashing.
* Fix crash in deleteFilesArno2015-08-133-2/+29
| | | | | | This was a hard one. SmDirWatcher raced against the model. Stop and quit the watcher before actually deleting files. That can take a while if file operations are in progress, so show the busy cursor.
* Implement slide through all picturesArno2015-08-127-10/+144
| | | | | Wow, that was much more complicated than I first thought, but it seems to work. Maybe it's much more convoluted than it has to be :)
* Remove progress dialog and use Qt::WaitCursor insteadArno2015-08-056-25/+17
| | | | | | | | | Get rid of the progress Dialog in the filesystem widget and replace it with Qt::WaitCursor. While at it, show the waitcursor in the picture widget, too. Also remove the annoying warnings from ImageMagick by defining the missing constants.
* Automatically convert invalid jpg picsArno2015-07-184-4/+67
| | | | | | | | Well, seems that's Qt's ImageReader got pickier regarding jpeg-files. If the resulting QPixmap is null and void, try to convert them to png. This introduces a new dependency to ImageMagic++. I don't like it, but it works, kinda... I saw random crashes while testing...
* Add refresh button for picture widgetArno2015-07-082-1/+6
|
* Keep NewMovieWizard data on restartArno2015-07-073-12/+36
| | | | and make it configurable
* Usability fixesArno2015-06-077-1/+29
| | | | | | | | | | * start maximized * focus MappingTree when showing NewPicsDialog * Keyboard Shortcuts for FilesystemWidget: CTRL+UP: go to parent dir CTRL+LEFT: go back CTRL+U: unpack * close UnpackDialog when done
* Get rid of Helper::centerDialogArno2015-06-067-22/+1
| | | | | | It's useless if you don't use a tiling window manager. Also, now we have an empty class SmDialog. Didn't replace it yet. Maybe it's useful in the future.
* Accept NewPicsDialog with CTRL+EnterArno2015-06-063-1/+8
|
* 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
|