42 #ifndef QTEXTBROWSER_H 43 #define QTEXTBROWSER_H 45 #include <QtGui/qtextedit.h> 46 #include <QtCore/qurl.h> 54 #ifndef QT_NO_TEXTBROWSER 64 Q_OVERRIDE(
bool readOnly DESIGNABLE
false SCRIPTABLE
false)
65 Q_OVERRIDE(
bool undoRedoEnabled DESIGNABLE
false SCRIPTABLE
false)
67 bool openExternalLinks;
81 bool isBackwardAvailable() const;
82 bool isForwardAvailable() const;
84 QString historyTitle(
int) const;
85 QUrl historyUrl(
int) const;
86 int backwardHistoryCount() const;
87 int forwardHistoryCount() const;
89 bool openExternalLinks() const;
90 void setOpenExternalLinks(
bool open);
92 bool openLinks() const;
93 void setOpenLinks(
bool open);
96 virtual
void setSource(const
QUrl &name);
97 virtual
void backward();
98 virtual
void forward();
100 virtual
void reload();
103 void backwardAvailable(
bool);
104 void forwardAvailable(
bool);
105 void historyChanged();
106 void sourceChanged(const
QUrl &);
107 void highlighted(const QUrl &);
108 void highlighted(const
QString &);
109 void anchorClicked(const QUrl &);
113 virtual
void keyPressEvent(
QKeyEvent *ev);
118 virtual
bool focusNextPrevChild(
bool next);
121 #if defined(QT3_SUPPORT) 123 QT3_SUPPORT_CONSTRUCTOR QTextBrowser(
QWidget *parent,
const char *name);
134 #endif // QT_NO_TEXTBROWSER 140 #endif // QTEXTBROWSER_H The QVariant class acts like a union for the most common Qt data types.
The QKeyEvent class describes a key event.
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
QUrl source
the name of the displayed document.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QStringList class provides a list of strings.
The QMouseEvent class contains parameters that describe a mouse event.
The QTextBrowser class provides a rich text browser with hypertext navigation.
#define Q_DECLARE_PRIVATE(Class)
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QFocusEvent class contains event parameters for widget focus events.
The QTextEdit class provides a widget that is used to edit and display both plain and rich text...
int open(const char *, int,...)