-
Committer:
Tsu Jan
-
Date:
2016-01-03 17:48:17 UTC
-
Revision ID:
git-v1:9c4fc7cb60480c787cd87062dc63d62dcc699a78
Implement an EOG-like behavior on starting
By clicking on an image for the first time, the user wants to see it clearly with lximage-qt. So, the following behavior is implemented here:
(1) A minimum size of 400x400 is assumed;
(2) The window is scaled to fit the image;
(3) For too big images, the window is scaled down;
(4) The window is centered on the screen.
(5) The loaded image is selected and centered in the thumbnail view.