#include <HelpView.h>
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) |
Definition at line 44 of file HelpView.h.
TextBrowser::TextBrowser | ( | QWidget * | parent = 0 |
) |
Definition at line 90 of file HelpView.cpp.
References draftlibs::fcgeo::connect(), Gui::DockWnd::TextBrowserPrivate::http, and stateChanged().
TextBrowser::~TextBrowser | ( | ) | [virtual] |
Definition at line 109 of file HelpView.cpp.
void TextBrowser::backward | ( | ) |
Definition at line 406 of file HelpView.cpp.
Referenced by contextMenuEvent().
void TextBrowser::contextMenuEvent | ( | QContextMenuEvent * | e | ) | [protected] |
Definition at line 437 of file HelpView.cpp.
References backward(), Gui::BitmapFactory(), Gui::DockWnd::TextBrowserPrivate::bw, draftlibs::dxfLibrary::copy, forward(), and Gui::DockWnd::TextBrowserPrivate::fw.
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] |
Definition at line 458 of file HelpView.cpp.
References Gui::Application::commandManager(), Gui::CommandBase::getAction(), Gui::CommandManager::getCommandByName(), Gui::Application::Instance, setSource(), and Gui::Action::whatsThis().
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] |
Definition at line 428 of file HelpView.cpp.
References RobotExample::pos, Gui::DockWnd::TextBrowserPrivate::toolTip, and Gui::DockWnd::TextBrowserPrivate::toolTipId.