WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QDeclarativeWebView Class Reference

#include <qdeclarativewebview.h>

Inheritance diagram for QDeclarativeWebView:
Collaboration diagram for QDeclarativeWebView:

Public Types

enum  Status { Null, Ready, Loading, Error }
 

Public Slots

QVariant evaluateJavaScript (const QString &)
 

Signals

void preferredWidthChanged ()
 
void preferredHeightChanged ()
 
void urlChanged ()
 
void progressChanged ()
 
void statusChanged (Status)
 
void titleChanged (const QString &)
 
void iconChanged ()
 
void statusTextChanged ()
 
void htmlChanged ()
 
void pressGrabTimeChanged ()
 
void newWindowComponentChanged ()
 
void newWindowParentChanged ()
 
void renderingEnabledChanged ()
 
void contentsSizeChanged (const QSize &)
 
void contentsScaleChanged ()
 
void backgroundColorChanged ()
 
void loadStarted ()
 
void loadFinished ()
 
void loadFailed ()
 
void doubleClick (int clickX, int clickY)
 
void zoomTo (qreal zoom, int centerX, int centerY)
 
void alert (const QString &message)
 

Public Member Functions

 QDeclarativeWebView (QDeclarativeItem *parent=0)
 
 ~QDeclarativeWebView ()
 
QUrl url () const
 
void setUrl (const QUrl &)
 
QString title () const
 
QPixmap icon () const
 
Q_INVOKABLE bool heuristicZoom (int clickX, int clickY, qreal maxzoom)
 
QRect elementAreaAt (int x, int y, int minwidth, int minheight) const
 
int pressGrabTime () const
 
void setPressGrabTime (int)
 
int preferredWidth () const
 
void setPreferredWidth (int)
 
int preferredHeight () const
 
void setPreferredHeight (int)
 
Status status () const
 
qreal progress () const
 
QString statusText () const
 
QAction * reloadAction () const
 
QAction * backAction () const
 
QAction * forwardAction () const
 
QAction * stopAction () const
 
QWebPagepage () const
 
void setPage (QWebPage *page)
 
void load (const QNetworkRequest &request, QNetworkAccessManager::Operation operation=QNetworkAccessManager::GetOperation, const QByteArray &body=QByteArray())
 
QString html () const
 
void setHtml (const QString &html, const QUrl &baseUrl=QUrl())
 
void setContent (const QByteArray &data, const QString &mimeType=QString(), const QUrl &baseUrl=QUrl())
 
QWebHistory * history () const
 
QWebSettings * settings () const
 
QDeclarativeWebSettingssettingsObject () const
 
bool renderingEnabled () const
 
void setRenderingEnabled (bool)
 
QDeclarativeListProperty< QObjectjavaScriptWindowObjects ()
 
QDeclarativeComponent * newWindowComponent () const
 
void setNewWindowComponent (QDeclarativeComponent *newWindow)
 
QDeclarativeItemnewWindowParent () const
 
void setNewWindowParent (QDeclarativeItem *newWindow)
 
bool isComponentCompletePublic () const
 
QSize contentsSize () const
 
void setContentsScale (qreal scale)
 
qreal contentsScale () const
 
 Q_REVISION (1) QColor backgroundColor() const
 
 Q_REVISION (1) void setBackgroundColor(const QColor &)
 

Static Public Member Functions

static
QDeclarativeWebViewAttached
qmlAttachedProperties (QObject *)
 

Properties

QString title
 
QPixmap icon
 
QString statusText
 
QString html
 
int pressGrabTime
 
int preferredWidth
 
int preferredHeight
 
QUrl url
 
qreal progress
 
Status status
 
QAction reload
 
QAction back
 
QAction forward
 
QAction stop
 
QDeclarativeWebSettings settings
 
QDeclarativeListProperty< QObjectjavaScriptWindowObjects
 
QDeclarativeComponent newWindowComponent
 
QDeclarativeItem newWindowParent
 
bool renderingEnabled
 
QSize contentsSize
 
qreal contentsScale
 
QColor backgroundColor
 

Friends

class QDeclarativeWebPage
 

Member Enumeration Documentation

Enumerator
Null 
Ready 
Loading 
Error 

Constructor & Destructor Documentation

QDeclarativeWebView::QDeclarativeWebView ( QDeclarativeItem parent = 0)
QDeclarativeWebView::~QDeclarativeWebView ( )

Member Function Documentation

void QDeclarativeWebView::alert ( const QString &  message)
signal
QAction* QDeclarativeWebView::backAction ( ) const
void QDeclarativeWebView::backgroundColorChanged ( )
signal
qreal QDeclarativeWebView::contentsScale ( ) const
void QDeclarativeWebView::contentsScaleChanged ( )
signal
QSize QDeclarativeWebView::contentsSize ( ) const
void QDeclarativeWebView::contentsSizeChanged ( const QSize &  )
signal
void QDeclarativeWebView::doubleClick ( int  clickX,
int  clickY 
)
signal
QRect QDeclarativeWebView::elementAreaAt ( int  x,
int  y,
int  minwidth,
int  minheight 
) const
QVariant QDeclarativeWebView::evaluateJavaScript ( const QString &  )
slot
QAction* QDeclarativeWebView::forwardAction ( ) const
Q_INVOKABLE bool QDeclarativeWebView::heuristicZoom ( int  clickX,
int  clickY,
qreal  maxzoom 
)
QWebHistory* QDeclarativeWebView::history ( ) const
QString QDeclarativeWebView::html ( ) const
void QDeclarativeWebView::htmlChanged ( )
signal
QPixmap QDeclarativeWebView::icon ( ) const
void QDeclarativeWebView::iconChanged ( )
signal
bool QDeclarativeWebView::isComponentCompletePublic ( ) const
inline
QDeclarativeListProperty<QObject> QDeclarativeWebView::javaScriptWindowObjects ( )
void QDeclarativeWebView::load ( const QNetworkRequest &  request,
QNetworkAccessManager::Operation  operation = QNetworkAccessManager::GetOperation,
const QByteArray &  body = QByteArray() 
)
void QDeclarativeWebView::loadFailed ( )
signal
void QDeclarativeWebView::loadFinished ( )
signal
void QDeclarativeWebView::loadStarted ( )
signal
QDeclarativeComponent* QDeclarativeWebView::newWindowComponent ( ) const
void QDeclarativeWebView::newWindowComponentChanged ( )
signal
QDeclarativeItem* QDeclarativeWebView::newWindowParent ( ) const
void QDeclarativeWebView::newWindowParentChanged ( )
signal
QWebPage* QDeclarativeWebView::page ( ) const
int QDeclarativeWebView::preferredHeight ( ) const
void QDeclarativeWebView::preferredHeightChanged ( )
signal
int QDeclarativeWebView::preferredWidth ( ) const
void QDeclarativeWebView::preferredWidthChanged ( )
signal
int QDeclarativeWebView::pressGrabTime ( ) const
void QDeclarativeWebView::pressGrabTimeChanged ( )
signal
qreal QDeclarativeWebView::progress ( ) const
void QDeclarativeWebView::progressChanged ( )
signal
QDeclarativeWebView::Q_REVISION ( ) const
QDeclarativeWebView::Q_REVISION ( ) const
static QDeclarativeWebViewAttached* QDeclarativeWebView::qmlAttachedProperties ( QObject )
static
QAction* QDeclarativeWebView::reloadAction ( ) const
bool QDeclarativeWebView::renderingEnabled ( ) const
void QDeclarativeWebView::renderingEnabledChanged ( )
signal
void QDeclarativeWebView::setContent ( const QByteArray &  data,
const QString &  mimeType = QString(),
const QUrl &  baseUrl = QUrl() 
)
void QDeclarativeWebView::setContentsScale ( qreal  scale)
void QDeclarativeWebView::setHtml ( const QString &  html,
const QUrl &  baseUrl = QUrl() 
)
void QDeclarativeWebView::setNewWindowComponent ( QDeclarativeComponent *  newWindow)
void QDeclarativeWebView::setNewWindowParent ( QDeclarativeItem newWindow)
void QDeclarativeWebView::setPage ( QWebPage page)
void QDeclarativeWebView::setPreferredHeight ( int  )
void QDeclarativeWebView::setPreferredWidth ( int  )
void QDeclarativeWebView::setPressGrabTime ( int  )
void QDeclarativeWebView::setRenderingEnabled ( bool  )
QWebSettings* QDeclarativeWebView::settings ( ) const
QDeclarativeWebSettings* QDeclarativeWebView::settingsObject ( ) const
void QDeclarativeWebView::setUrl ( const QUrl &  )
Status QDeclarativeWebView::status ( ) const
void QDeclarativeWebView::statusChanged ( Status  )
signal
QString QDeclarativeWebView::statusText ( ) const
void QDeclarativeWebView::statusTextChanged ( )
signal
QAction* QDeclarativeWebView::stopAction ( ) const
QString QDeclarativeWebView::title ( ) const
void QDeclarativeWebView::titleChanged ( const QString &  )
signal
QUrl QDeclarativeWebView::url ( ) const
void QDeclarativeWebView::urlChanged ( )
signal
void QDeclarativeWebView::zoomTo ( qreal  zoom,
int  centerX,
int  centerY 
)
signal

Friends And Related Function Documentation

friend class QDeclarativeWebPage
friend

Property Documentation

QAction QDeclarativeWebView::back
read
QColor QDeclarativeWebView::backgroundColor
readwrite
qreal QDeclarativeWebView::contentsScale
readwrite
QSize QDeclarativeWebView::contentsSize
read
QAction QDeclarativeWebView::forward
read
QString QDeclarativeWebView::html
readwrite
QPixmap QDeclarativeWebView::icon
read
QDeclarativeListProperty<QObject> QDeclarativeWebView::javaScriptWindowObjects
read
QDeclarativeComponent QDeclarativeWebView::newWindowComponent
readwrite
QDeclarativeItem QDeclarativeWebView::newWindowParent
readwrite
int QDeclarativeWebView::preferredHeight
readwrite
int QDeclarativeWebView::preferredWidth
readwrite
int QDeclarativeWebView::pressGrabTime
readwrite
qreal QDeclarativeWebView::progress
read
QAction QDeclarativeWebView::reload
read
bool QDeclarativeWebView::renderingEnabled
readwrite
QDeclarativeWebSettings QDeclarativeWebView::settings
read
Status QDeclarativeWebView::status
read
QString QDeclarativeWebView::statusText
read
QAction QDeclarativeWebView::stop
read
QString QDeclarativeWebView::title
read
QUrl QDeclarativeWebView::url
readwrite

The documentation for this class was generated from the following file: