summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Open movie properties dialog on doubleclickArno2020-07-252-0/+17
| | | | | When searching for actors, show a MoviePropertiesDialog instead of expanding the item.
* Get series and files for actor when searchingArno2020-07-252-0/+65
|
* Add genres to actor in enhanced search dialogArno2020-07-252-0/+25
| | | | Get all genres for the current actor and add them as child.
* Implement actor searchArno2020-07-252-0/+33
|
* Layout for enhanced search dialogArno2020-07-253-36/+122
| | | | | Add Actor and Title search. This commit only makes visual changes and moves some code around. The search itself is not implemented yet.
* Fix some more deprecation warningsArno2020-07-192-2/+2
|
* Fix QDirModel deprecation warningsArno2020-07-192-7/+9
|
* Fix Qt::Windowflags nullptr deprecation warningsArno2020-07-198-8/+8
|
* Use QTransform instead of QMatrixArno2020-07-191-5/+5
| | | | The compiler told me that the interface is deprecated.
* Guess subject from descript.ion fileArno2020-07-197-0/+69
| | | | | | | | The expression matching is the same as in ShemovCleaner, but here we have a lot more levels of indirection. The guessing is done automatically when archiveMovie is invoked. If the directory contains a file descript.ion, it is parsed and the result injected into the MetadataEditorWidget.
* Increase maximum days for slide showArno2020-03-145-39/+8
| | | | Set it to 9999. While at it, remove some dead code and fix includes.
* Make it possible to edit the filenoArno2020-01-042-3/+9
| | | | | Default value is 0 (not SQL NULL, but zero) if none is given. Shouldn't hurt.
* Make it possible to add files to existing series partsArno2020-01-041-6/+16
| | | | | | It's not as easy as it sounds, since a transaction is kaputt after a failed query. To overcome that that, introduce 2 savepoints. One before adding the seriespart, and one before the metadata. Works like a charm!
* Fix scaling images in viewerArno2019-11-242-7/+3
| | | | | | Don't resize the image unconditionally. When doing that while keeping the aspect ratio, it may grow wider than the window/widget size. So check if it fits. If it doesn't scale down, otherwise leave it.
* Build fixesArno2019-11-231-2/+7
| | | | | Remove unnecessary libs for linking. Update to ImageMagick++7 and fix includepath for MSYS2 builds.
* Get rid of HoverWindowArno2019-11-227-224/+1
| | | | | | | It depended on X11, because the hover center wasn't where it was supposed to be, so I worked around it with Xfixes.h, which unfortunately isn't even available in MSYS2. So another fix for compiling this under Windows.
* Kill hover madness, part 1Arno2019-11-223-62/+0
| | | | | | Didn't work any more, and prevents it to build even under MSYS2 (windows), since xcb.h is not available. Next, kill the configuration options.
* Fix previewArno2019-11-221-1/+1
| | | | | ffmpeg returns a float in duration. QVariant::toInt() can't parse it (any more?), so use toFloat() and static_cast it to int.
* Fix deprecation warningsArno2019-11-222-2/+2
|
* Use QMime* instead of libmagicArno2019-11-222-23/+5
| | | | | One more step to make it compile with Windows. And once again, it makes the code much neater and more readable.
* Use QStorageInfo instead of vfs.hArno2019-11-221-15/+6
| | | | | Use Qt instead of Posix to make it compile with Windows. Actually, this made the code easier, too.
* Various clang warning fixesArno2019-01-1220-21/+20
| | | | | Mostly nullptr, one missing include that wasn't really missed, and a stray ;
* Make NewPicsDialog usable by keyboardArno2019-01-124-1/+21
| | | | | | | | | | | | | | Fix focus policy: only change focus between MappingTreeWidget and MappingTreeResultView. Also, block updating the selection of MappingTreeWidget when removing an item from the result view. That operation resets the result selection and by signal changes the selection of the mapping tree. The easiest way I could come up with was a member flag that is set in removeMapping and checked and cleared in resultSelectionChanged. Clearing the flag right after removing the item doesn't work, most likely because of thread affinity (just a guess, didn't check it). If it has side effects remains to be seen...
* Fix deleteSeriesArno2018-12-221-8/+6
| | | | | The previous version bailed out wrongly when the file was available, but on an USB path. Fix it by using the data from the bottom model.
* Fix creating new seriesArno2018-12-051-4/+5
| | | | | | | | Well, there is something fishy going on. I have no idea why that commit is needed there, but during debugging I also noticed that on the final commit() the database complains that there's no transaction in progress. Well, this works, but I don't know how to debug this further :(
* Raise the viewer before setting the main windowArno2018-12-041-0/+1
|
* Fix clang warnings in SmTreeModelArno2018-12-032-8/+8
|
* Sprinkle some qApp->setActiveWindow here and thereArno2018-12-031-1/+3
| | | | | | Without this the window manager (e.g. KWin) doesn't know about the change, so Alt+TAB doesn't work as expected. Very annoying, so here's the fix!
* Fix clang warning and make QPushbuttons non-membersArno2018-12-032-17/+13
|
* Add copyActor for new picsArno2018-12-034-0/+27
| | | | | | If we already have an actor, get all mappings for all pics and fill the result view. This only makes sense for actors, but should also work for other items.
* Improve MovieInfoPageArno2018-11-242-6/+13
| | | | | | Replace QPushButtons with a QToolbar and appropriate unicode symbols. While at at, return from Helper::fuzzyCheck when the search string is empty. Prevents false positives.
* Resurrect search dialogArno2018-11-243-98/+80
| | | | | Add it to the global menu and make it accessible by CTRL+f when the focus is on the main window.
* Some more GUI changes to better fit dark themesArno2018-11-245-5/+7
|
* Add icons to MappingTreeWidget actionsArno2018-11-243-20/+17
| | | | | While at it: They don't have to be members, so create them on the heap. Also fix a nullptr warning.
* Harmonize filter barsArno2018-11-242-13/+13
| | | | | | MovieWidget and PictureWidget both have filter bars on top of the left tree, but the buttons were different. Change it to enhance user experience :)
* Fix toolbar in MovieWidgetArno2018-11-241-1/+4
| | | | | I missed the clear filter icon when adjusting Helper::icon for dark themes. Fix it and replace the 'X' with something nicer :)
* Fix durationFromSecsArno2018-11-241-1/+1
| | | | | commit e5274f4c27f847bedaa910a84ed3468d1aba32e1 introduced a double colon and removed leading zeros. Make snprintf pretty again.
* Fix clang warnings in delegatesArno2018-11-242-8/+8
|
* Fix clang warnings in dbanalyzer.hArno2018-11-241-5/+5
|
* Dark theme GUI changesArno2018-11-2418-32/+47
| | | | | | | | Add icons better suited for dark themes and don't draw an ellipse around the letter when calling Helper::icon and use the theme's text color to better match the desktop theme. Just be a good tenant and respect the user's choices where applicable.
* Clang fixes, nullptr and WindowFlags...Arno2018-11-234-10/+10
|
* Fix StatisticsDialog (again?)Arno2018-11-231-3/+3
|
* Fix foreach and nullptr in SmTreeViewArno2018-11-232-3/+3
|
* De-foreachify PicturesWidgetArno2018-11-232-3/+3
| | | | And remove nullptr warnings.
* Fix helper warningsArno2018-11-232-22/+27
| | | | | | Sprinkle some static_casts here and there and fix auto conversions. Also introduce const ints for what to read for calculating the MD5-Sum of a file... Seems to work fine.
* foreach fixes for RandomTabArno2018-11-231-5/+5
|
* Fix PicFilesModelArno2018-11-232-21/+21
| | | | | Don't hide another function and weed out foreach. Also fix nullptr issues.
* Make StatisticsDialog Clang warning freeArno2018-11-232-22/+23
|
* Some more syntax fixesArno2018-11-232-9/+9
| | | | No functional changes.
* Bring SearchDialog into the 21st centuryArno2018-11-232-7/+7
| | | | The usual... nullptr warnings, connect syntax.