7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qtextedit.h>
9#include <QtCore/qurl.h>
24 Q_OVERRIDE(
bool readOnly DESIGNABLE
false SCRIPTABLE
false)
25 Q_OVERRIDE(
bool undoRedoEnabled DESIGNABLE
false SCRIPTABLE
false)
27 Q_PROPERTY(
bool openExternalLinks READ openExternalLinks WRITE setOpenExternalLinks)
28 Q_PROPERTY(
bool openLinks READ openLinks WRITE setOpenLinks)
42 bool isBackwardAvailable()
const;
43 bool isForwardAvailable()
const;
45 QString historyTitle(
int)
const;
46 QUrl historyUrl(
int)
const;
47 int backwardHistoryCount()
const;
48 int forwardHistoryCount()
const;
50 bool openExternalLinks()
const;
51 void setOpenExternalLinks(
bool open);
53 bool openLinks()
const;
54 void setOpenLinks(
bool open);
58 virtual void backward();
59 virtual void forward();
61 virtual void reload();
The QFocusEvent class contains event parameters for widget focus events.
The QKeyEvent class describes a key event.
The QPaintEvent class contains event parameters for paint events.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QTextBrowser class provides a rich text browser with hypertext navigation.
void backwardAvailable(bool)
This signal is emitted when the availability of backward() changes.
void highlighted(const QUrl &)
This signal is emitted when the user has selected but not activated an anchor in the document.
void anchorClicked(const QUrl &)
This signal is emitted when the user clicks an anchor.
void forwardAvailable(bool)
This signal is emitted when the availability of forward() changes.
void sourceChanged(const QUrl &)
This signal is emitted when the source has changed, src being the new source.
ResourceType
This enum describes the types of resources that can be loaded by QTextDocument's loadResource() funct...
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
virtual void paintEvent(QPaintEvent *e) override
This event handler can be reimplemented in a subclass to receive paint events passed in event.
virtual void mousePressEvent(QMouseEvent *e) override
\reimp
virtual bool focusNextPrevChild(bool next) override
\reimp
virtual void mouseReleaseEvent(QMouseEvent *e) override
\reimp
virtual void keyPressEvent(QKeyEvent *e) override
\reimp
virtual Q_INVOKABLE QVariant loadResource(int type, const QUrl &name)
Loads the resource specified by the given type and name.
virtual void mouseMoveEvent(QMouseEvent *e) override
\reimp
virtual void focusOutEvent(QFocusEvent *e) override
\reimp
Combined button and popup list for selecting options.
GLsizei const GLuint * paths
GLsizei GLsizei GLchar * source
#define QT_REQUIRE_CONFIG(feature)
file open(QIODevice::ReadOnly)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent