Gui::DockWnd::TextBrowser Class Reference

#include <HelpView.h>

List of all members.

Signals

void startExternalBrowser (const QString &)
 start an external browser to display complex web sites
void stateChanged (const QString &)

Public Member Functions

void backward ()
void forward ()
QVariant loadResource (int type, const QUrl &name)
 Checks whether the resource data must be downloaded via http or it is a file resource on the disk.
void setSource (const QUrl &url)
 Supports only rendering of local files and resources that can be downloaded over the http protocol.
 TextBrowser (QWidget *parent=0)
virtual ~TextBrowser ()

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *)
void dragEnterEvent (QDragEnterEvent *e)
void dragMoveEvent (QDragMoveEvent *e)
void dropEvent (QDropEvent *e)
void timerEvent (QTimerEvent *e)

Detailed Description

Definition at line 44 of file HelpView.h.


Constructor & Destructor Documentation

TextBrowser::TextBrowser ( QWidget *  parent = 0  ) 
TextBrowser::~TextBrowser (  )  [virtual]

Definition at line 109 of file HelpView.cpp.


Member Function Documentation

void TextBrowser::backward (  ) 

Definition at line 406 of file HelpView.cpp.

Referenced by contextMenuEvent().

void TextBrowser::contextMenuEvent ( QContextMenuEvent *  e  )  [protected]
void TextBrowser::dragEnterEvent ( QDragEnterEvent *  e  )  [protected]

Definition at line 514 of file HelpView.cpp.

void TextBrowser::dragMoveEvent ( QDragMoveEvent *  e  )  [protected]

Definition at line 525 of file HelpView.cpp.

void TextBrowser::dropEvent ( QDropEvent *  e  )  [protected]
void TextBrowser::forward (  ) 

Definition at line 412 of file HelpView.cpp.

Referenced by contextMenuEvent().

QVariant TextBrowser::loadResource ( int  type,
const QUrl &  name 
)

Checks whether the resource data must be downloaded via http or it is a file resource on the disk.

Definition at line 145 of file HelpView.cpp.

References Gui::DockWnd::TextBrowserPrivate::source.

void TextBrowser::setSource ( const QUrl &  url  ) 

Supports only rendering of local files and resources that can be downloaded over the http protocol.

In the latter case the download gets started.

Definition at line 160 of file HelpView.cpp.

References Gui::DockWnd::TextBrowserPrivate::http, and Gui::DockWnd::TextBrowserPrivate::source.

Referenced by dropEvent(), and Gui::DockWnd::HelpView::HelpView().

void Gui::DockWnd::TextBrowser::startExternalBrowser ( const QString &   )  [signal]

start an external browser to display complex web sites

void Gui::DockWnd::TextBrowser::stateChanged ( const QString &   )  [signal]

Referenced by TextBrowser().

void TextBrowser::timerEvent ( QTimerEvent *  e  )  [protected]

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

Generated on Wed Nov 23 19:02:11 2011 for FreeCAD by  doxygen 1.6.1