From 9d3de3499af4a03177b9c0bb211da763e5dcbb2d Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 20 Oct 2012 04:36:10 +0200 Subject: Make PictureViewer2 size configurable Several bug fixes on the way: * set fixed size policy for PictureViewer2 -> makes resizing much easier * don't set Y-offset when showing a pic. The scene takes care of it * don't deliver SIGNAL configChanged() twice to PictureViewer2 * center Widget on current screen when calling Helper::centerWidget --- smglobals.h | 1 + 1 file changed, 1 insertion(+) (limited to 'smglobals.h') diff --git a/smglobals.h b/smglobals.h index 99ecd07..c396f76 100644 --- a/smglobals.h +++ b/smglobals.h @@ -49,6 +49,7 @@ class SmGlobals : public QObject { PictureViewer2 *pictureViewer(); FrameCache *frameCache(); QSize cursorSize(); + const QSize minPVSize() const { return QSize(640, 480); } const QHash & icons() const { return mIcons; } qint64 dvdSize() const { return mDvdSize; } -- cgit v1.2.3-70-g09d2