summaryrefslogtreecommitdiffstats
path: root/smglobals.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-10-20 04:36:10 +0200
committerArno <am@disconnect.de>2012-10-20 04:36:10 +0200
commit9d3de3499af4a03177b9c0bb211da763e5dcbb2d (patch)
tree98cbec732e2cd7f8b9c26c633654210aa274c76a /smglobals.h
parentfb1794ee67a31ecad8257563dd176e4ee03fac00 (diff)
downloadSheMov-9d3de3499af4a03177b9c0bb211da763e5dcbb2d.tar.gz
SheMov-9d3de3499af4a03177b9c0bb211da763e5dcbb2d.tar.bz2
SheMov-9d3de3499af4a03177b9c0bb211da763e5dcbb2d.zip
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
Diffstat (limited to 'smglobals.h')
-rw-r--r--smglobals.h1
1 files changed, 1 insertions, 0 deletions
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<QString, QString> & icons() const { return mIcons; }
qint64 dvdSize() const { return mDvdSize; }