diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-03-29 06:57:56 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2010-04-16 05:26:40 (GMT) |
commit | 8620548e1024c44fbff1cb1becaab8d2d9e53cd5 (patch) | |
tree | b33e880d091aed966e54762ed971a15fd8be360a /tools/qml/qmlruntime.h | |
parent | ba3f33401c97c5517abe19f4ea6f6307e4374c6c (diff) | |
download | Qt-8620548e1024c44fbff1cb1becaab8d2d9e53cd5.zip Qt-8620548e1024c44fbff1cb1becaab8d2d9e53cd5.tar.gz Qt-8620548e1024c44fbff1cb1becaab8d2d9e53cd5.tar.bz2 |
ResizeMode support for QGraphicsWidgets created with QDeclarativeView
Task-number: QTBUG-8814
Reviewed-by: alexis
Diffstat (limited to 'tools/qml/qmlruntime.h')
-rw-r--r-- | tools/qml/qmlruntime.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qml/qmlruntime.h b/tools/qml/qmlruntime.h index 2089dda..a00a703 100644 --- a/tools/qml/qmlruntime.h +++ b/tools/qml/qmlruntime.h @@ -100,7 +100,8 @@ public: void addPluginPath(const QString& plugin); void setUseGL(bool use); void setUseNativeFileBrowser(bool); - + void updateSizeHints(); + void setSizeToView(bool sizeToView); QStringList builtinSkins() const; QMenuBar *menuBar() const; @@ -149,6 +150,7 @@ private: PreviewDeviceSkin *skin; QSize skinscreensize; QDeclarativeView *canvas; + QSize initialSize; QString currentFileOrUrl; QDeclarativeTimer recordTimer; QString frame_fmt; |