diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-06-24 05:32:23 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-06-28 01:01:45 (GMT) |
commit | b7a609890f98f2687147605edfc5226ecee64f95 (patch) | |
tree | e62fd86ab122ddc65ae67c2866f6101124e30006 | |
parent | 708ec4f1b80d0e9dcc6601a13bc32aee192ba5a4 (diff) | |
download | Qt-b7a609890f98f2687147605edfc5226ecee64f95.zip Qt-b7a609890f98f2687147605edfc5226ecee64f95.tar.gz Qt-b7a609890f98f2687147605edfc5226ecee64f95.tar.bz2 |
Docs
-rw-r--r-- | src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp | 2 | ||||
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeimage.cpp | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp b/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp index a349bec..0342c9f 100644 --- a/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp +++ b/src/3rdparty/webkit/WebKit/qt/declarative/qdeclarativewebview.cpp @@ -180,6 +180,8 @@ void GraphicsWebView::mouseMoveEvent(QGraphicsSceneMouseEvent* event) When this item has keyboard focus, all keyboard input will be sent directly to the web page within. + + \sa {declarative/modelviews/webview}{WebView example}, {demos/declarative/webbrowser}{Web Browser demo} */ /*! diff --git a/src/declarative/graphicsitems/qdeclarativeimage.cpp b/src/declarative/graphicsitems/qdeclarativeimage.cpp index ec08517..ff61302 100644 --- a/src/declarative/graphicsitems/qdeclarativeimage.cpp +++ b/src/declarative/graphicsitems/qdeclarativeimage.cpp @@ -199,6 +199,7 @@ void QDeclarativeImagePrivate::setPixmap(const QPixmap &pixmap) fillMode: Image.PreserveAspectCrop smooth: true source: "qtlogo.png" + clip: true } \endqml @@ -220,6 +221,7 @@ void QDeclarativeImagePrivate::setPixmap(const QPixmap &pixmap) Image { width: 120; height: 120 fillMode: Image.TileVertically + smooth: true source: "qtlogo.png" } \endqml @@ -231,11 +233,14 @@ void QDeclarativeImagePrivate::setPixmap(const QPixmap &pixmap) Image { width: 120; height: 120 fillMode: Image.TileHorizontally + smooth: true source: "qtlogo.png" } \endqml \endtable + + \sa {declarative/imageelements/image}{Image example} */ QDeclarativeImage::FillMode QDeclarativeImage::fillMode() const { |