summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Delete videoviewer filesArno2022-04-152-139/+0
| | | | I guess it was bitrotten anyway...
* Make it run with Qt6Arno2022-04-1546-289/+219
| | | | | | | | | This is a huge commit. Changes: * Obviously, make it compile * Make it run (only scarcely tested) * get rid of most of clang's warnings Let's see what surprises are in store...
* Make Origin MD5sums searchableArno2021-05-283-2/+35
| | | | | First, add a QAction to copy the MD5sum from FSWidget to Clipboard. Then enhance the SearchDialog to support MD5sums from files_origin *only*.
* Fix guessOld()Arno2021-05-281-1/+2
| | | | | The filename was never compared to the current index, so everything was appended to the first match. Fix it by adding the needed comparison.
* Select and expand in SearchDialogArno2020-11-221-0/+6
| | | | | | | When searching for actors, select the first item in the list and expand everything. For some strange reason QTreeView::expand or QTreeView::setExpanded does not work, so I grab the big hammer and expand all.
* Make SearchDialog parentlessArno2020-11-221-2/+2
| | | | Don't raise SearchDialog every time MainWindow is clicked.
* Implement delete actor from search dialogArno2020-07-292-6/+49
| | | | | | | The context menu item is only enabled if the actor has no children, ie. no genres associated. Since naming is hard, also rename some slots to more descriptive names.
* Fix old files detectionArno2020-07-291-2/+2
| | | | | There was a long standing issue with filenames containing special characters for regular expressions. Finally fix this!
* Add refresh actors in search dialogArno2020-07-292-1/+27
| | | | | Make it possible to call it by context menu and hook it up to deleteSeries.
* Delete seriesparts from search dialogArno2020-07-292-2/+44
| | | | | Allow to delete seriesparts without files to be deleted from the search dialog.
* Add collapse and expand all to SearchDialogArno2020-07-292-4/+24
| | | | | Thought about using QSignalMapper for this, but that would be too convoluted, thus the inline functions.
* Fix QMatrix deprectationsArno2020-07-251-5/+5
|
* Fix QComboBox deprecation warningsArno2020-07-252-2/+2
|
* Fix delta() deprecation warningArno2020-07-251-2/+2
|
* Fix qrand() deprecation warningsArno2020-07-251-2/+3
|
* Fix deprecation warning QString::SkipEmptyPartsArno2020-07-251-1/+1
|
* Read and write settings for search dialogArno2020-07-252-4/+42
|
* Implement search for subtitlesArno2020-07-252-2/+54
|
* 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.