summaryrefslogtreecommitdiffstats
path: root/viewer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Set fixed size for viewer.cppArno2022-07-021-2/+7
| | | | | | While adding new pictures to my collection, I realized that the simple viewer didn't obey it's size restrictions and grew out of proportions. So make the maximum size configurable.
* Make it run with Qt6Arno2022-04-151-2/+2
| | | | | | | | | 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...
* Fix scaling images in viewerArno2019-11-241-6/+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.
* Make origin distinct when comparing imagesArno2018-09-141-0/+5
| | | | Paint background with QPalette::Base when showing the first image.
* Add compare action for picsArno2018-09-141-1/+7
| | | | Show files with the same filename *after another* in Viewer.
* Implement preview for videosArno2018-03-311-1/+0
| | | | Comes at almost no cost when using Viewer :)
* View picture on doubleclickArno2018-03-311-0/+94
Use lightweight viewer from ShemovCleaner for this. Unfortunately PictureViewer2 is overengineered for this.