Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | Friends

QWebView Class Reference

Search for all occurrences

Detailed Description

Definition at line 41 of file qwebview.h.

#include <qwebview.h>

Inheritance diagram for QWebView:
Inheritance graph
[legend]

List of all members.

Public Slots

void  stop ()
void  back ()
void  forward ()
void  reload ()
void  print (QPrinter *) const

Signals

void  loadStarted ()
void  loadProgress (int progress)
void  loadFinished (bool)
void  titleChanged (const QString &title)
void  statusBarMessage (const QString &text)
void  linkClicked (const QUrl &)
void  selectionChanged ()
void  iconChanged ()
void  urlChanged (const QUrl &)

Public Member Functions

  QWebView (QWidget *parent=0)
virtual  ~QWebView ()
QWebPage page () const
void  setPage (QWebPage *page)
void  load (const QUrl &url)
void  load (const QNetworkRequest &request, QNetworkAccessManager::Operation operation=QNetworkAccessManager::GetOperation, const QByteArray &body=QByteArray())
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
QString  title () const
void  setUrl (const QUrl &url)
QUrl  url () const
QIcon  icon () const
QString  selectedText () const
QAction pageAction (QWebPage::WebAction action) const
void  triggerPageAction (QWebPage::WebAction action, bool checked=false)
bool  isModified () const
QVariant  inputMethodQuery (Qt::InputMethodQuery property) const
QSize  sizeHint () const
qreal  zoomFactor () const
void  setZoomFactor (qreal factor)
void  setTextSizeMultiplier (qreal factor)
qreal  textSizeMultiplier () const
QPainter::RenderHints  renderHints () const
void  setRenderHints (QPainter::RenderHints hints)
void  setRenderHint (QPainter::RenderHint hint, bool enabled=true)
bool  findText (const QString &subString, QWebPage::FindFlags options=0)
virtual bool  event (QEvent *)

Protected Member Functions

void  resizeEvent (QResizeEvent *)
void  paintEvent (QPaintEvent *)
virtual QWebView createWindow (QWebPage::WebWindowType type)
virtual void  changeEvent (QEvent *)
virtual void  mouseMoveEvent (QMouseEvent *)
virtual void  mousePressEvent (QMouseEvent *)
virtual void  mouseDoubleClickEvent (QMouseEvent *)
virtual void  mouseReleaseEvent (QMouseEvent *)
virtual void  contextMenuEvent (QContextMenuEvent *)
virtual void  wheelEvent (QWheelEvent *)
virtual void  keyPressEvent (QKeyEvent *)
virtual void  keyReleaseEvent (QKeyEvent *)
virtual void  dragEnterEvent (QDragEnterEvent *)
virtual void  dragLeaveEvent (QDragLeaveEvent *)
virtual void  dragMoveEvent (QDragMoveEvent *)
virtual void  dropEvent (QDropEvent *)
virtual void  focusInEvent (QFocusEvent *)
virtual void  focusOutEvent (QFocusEvent *)
virtual void  inputMethodEvent (QInputMethodEvent *)
virtual bool  focusNextPrevChild (bool next)

Properties

QString  title
QUrl  url
QIcon  icon
QString  selectedText
bool  modified
qreal  textSizeMultiplier
qreal  zoomFactor
QPainter::RenderHints  renderHints

Friends

class  QWebPage

Constructor & Destructor Documentation

QWebView ( QWidget parent = 0 ) [explicit]
virtual ~QWebView ( ) [virtual]

Member Function Documentation

QWebPage* page ( ) const
void setPage ( QWebPage page )
void load ( const QUrl url )
void load ( const QNetworkRequest request,
QNetworkAccessManager::Operation  operation = QNetworkAccessManager::GetOperation,
const QByteArray body = QByteArray() 
)
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
QString title ( ) const
void setUrl ( const QUrl url )
QUrl url ( ) const
QIcon icon ( ) const
QString selectedText ( ) const
QAction* pageAction ( QWebPage::WebAction  action ) const
void triggerPageAction ( QWebPage::WebAction  action,
bool  checked = false 
)
bool isModified ( ) const
QVariant inputMethodQuery ( Qt::InputMethodQuery  property ) const [virtual]

Reimplemented from QWidget.

QSize sizeHint ( ) const [virtual]

Reimplemented from QWidget.

qreal zoomFactor ( ) const
void setZoomFactor ( qreal  factor )
void setTextSizeMultiplier ( qreal  factor )
qreal textSizeMultiplier ( ) const
QPainter::RenderHints renderHints ( ) const
void setRenderHints ( QPainter::RenderHints  hints )
void setRenderHint ( QPainter::RenderHint  hint,
bool  enabled = true 
)
bool findText ( const QString subString,
QWebPage::FindFlags  options = 0 
)
virtual bool event ( QEvent ) [virtual]

Reimplemented from QWidget.

void stop ( ) [slot]
void back ( ) [slot]
void forward ( ) [slot]
void reload ( ) [slot]
void print ( QPrinter ) const [slot]
void loadStarted ( ) [signal]
void loadProgress ( int  progress ) [signal]
void loadFinished ( bool  ) [signal]
void titleChanged ( const QString title ) [signal]
void statusBarMessage ( const QString text ) [signal]
void linkClicked ( const QUrl ) [signal]
void selectionChanged ( ) [signal]
void iconChanged ( ) [signal]
void urlChanged ( const QUrl ) [signal]
void resizeEvent ( QResizeEvent ) [protected, virtual]

Reimplemented from QWidget.

void paintEvent ( QPaintEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual QWebView* createWindow ( QWebPage::WebWindowType  type ) [protected, virtual]
virtual void changeEvent ( QEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void mouseMoveEvent ( QMouseEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void mousePressEvent ( QMouseEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void mouseDoubleClickEvent ( QMouseEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void mouseReleaseEvent ( QMouseEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void contextMenuEvent ( QContextMenuEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void wheelEvent ( QWheelEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void keyPressEvent ( QKeyEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void keyReleaseEvent ( QKeyEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void dragEnterEvent ( QDragEnterEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void dragLeaveEvent ( QDragLeaveEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void dragMoveEvent ( QDragMoveEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void dropEvent ( QDropEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void focusInEvent ( QFocusEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void focusOutEvent ( QFocusEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual void inputMethodEvent ( QInputMethodEvent ) [protected, virtual]

Reimplemented from QWidget.

virtual bool focusNextPrevChild ( bool  next ) [protected, virtual]

Reimplemented from QWidget.


Friends And Related Function Documentation

friend class QWebPage [friend]

Definition at line 158 of file qwebview.h.


Property Documentation

QString title [read]

Definition at line 43 of file qwebview.h.

QUrl url [read, write]

Definition at line 44 of file qwebview.h.

QIcon icon [read]

Definition at line 45 of file qwebview.h.

QString selectedText [read]

Definition at line 46 of file qwebview.h.

bool modified [read]

Definition at line 47 of file qwebview.h.

qreal textSizeMultiplier [read, write]

Definition at line 49 of file qwebview.h.

qreal zoomFactor [read, write]

Definition at line 50 of file qwebview.h.

QPainter::RenderHints renderHints [read, write]

Definition at line 52 of file qwebview.h.


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

QWebView QWebView QWebView QWebView QWebView QWebView QWebView QWebView QWebView QWebView
QWebView QWebView QWebView QWebView QWebView QWebView QWebView QWebView QWebView QWebView