summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxwebview.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-22 23:17:35 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-22 23:17:35 (GMT)
commit631351d8b5699520267a80599a57e27f97b53d23 (patch)
treea91410262381ee182b118aa39861fae3ca27b0e9 /src/declarative/fx/qfxwebview.h
parent93116be19628239b82ba19f814374b2fcabd7c96 (diff)
downloadQt-631351d8b5699520267a80599a57e27f97b53d23.zip
Qt-631351d8b5699520267a80599a57e27f97b53d23.tar.gz
Qt-631351d8b5699520267a80599a57e27f97b53d23.tar.bz2
Add zoomFactor property to WebView.
Diffstat (limited to 'src/declarative/fx/qfxwebview.h')
-rw-r--r--src/declarative/fx/qfxwebview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxwebview.h b/src/declarative/fx/qfxwebview.h
index f30fd0d..e9b6d37 100644
--- a/src/declarative/fx/qfxwebview.h
+++ b/src/declarative/fx/qfxwebview.h
@@ -81,6 +81,7 @@ class Q_DECLARATIVE_EXPORT QFxWebView : public QFxPaintedItem
Q_PROPERTY(QString title READ title NOTIFY titleChanged)
Q_PROPERTY(QPixmap icon READ icon NOTIFY iconChanged)
Q_PROPERTY(qreal textSizeMultiplier READ textSizeMultiplier WRITE setTextSizeMultiplier DESIGNABLE false)
+ Q_PROPERTY(qreal zoomFactor READ zoomFactor WRITE setZoomFactor NOTIFY zoomFactorChanged)
Q_PROPERTY(QString status READ status NOTIFY statusChanged)
Q_PROPERTY(int mouseX READ mouseX)
@@ -118,6 +119,9 @@ public:
qreal textSizeMultiplier() const;
void setTextSizeMultiplier(qreal);
+ qreal zoomFactor() const;
+ void setZoomFactor(qreal);
+
bool interactive() const;
void setInteractive(bool);
@@ -170,6 +174,7 @@ Q_SIGNALS:
void titleChanged(const QString&);
void iconChanged();
void statusChanged();
+ void zoomFactorChanged();
void loadStarted();
void loadFinished();