ktextbrowser.cpp
void showText(const QPoint &pos, const QString &text, QWidget *w)
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QString cap(int nth) const
void urlClick(const QString &url)
Emitted if mailClick() is not emitted and the widget has been configured to emit the signal...
QMenu * createStandardContextMenu()
virtual void keyPressEvent(QKeyEvent *ev)
void contextMenuEvent(QContextMenuEvent *event) override
Re-implemented for internal reasons.
Definition: ktextbrowser.cpp:114
virtual void wheelEvent(QWheelEvent *e)
QString toString(QFlags< QUrl::UrlFormattingOption > options) const
bool isNull() const
bool isNotifyClick() const
Returns whether a click on a link should be handled internally or if a signal should be emitted...
Definition: ktextbrowser.cpp:64
KDELIBS4SUPPORT_DEPRECATED KTextBrowser(QWidget *parent=nullptr, bool notifyClick=false)
Creates a new text browser.
Definition: ktextbrowser.cpp:48
static bool wheelMouseZooms()
Typically, QScrollView derived classes can be scrolled fast by holding down the Ctrl-button during wh...
Definition: kglobalsettings.cpp:524
void mailClick(const QString &name, const QString &address)
Emitted when a mail link has been activated and the widget has been configured to emit the signal...
virtual void wheelEvent(QWheelEvent *e)
int key() const
void setSource(const QUrl &name) override
Reimplemented to NOT set the source but to do the special handling of links being clicked...
Definition: ktextbrowser.cpp:69
void keyPressEvent(QKeyEvent *event) override
Makes sure Key_Escape is ignored.
Definition: ktextbrowser.cpp:94
QPoint pos()
virtual bool event(QEvent *e)
bool isReadOnly() const
bool openUrl(const QUrl &url)
static void assignIconsToContextMenu(ContextMenus type, QList< QAction * > actions)
QList< QAction * > actions() const
bool exactMatch(const QString &str) const
void wheelEvent(QWheelEvent *event) override
Reimplemented to support Qt2 behavior (Ctrl-Wheel = fast scroll)
Definition: ktextbrowser.cpp:105
void setNotifyClick(bool notifyClick)
Decide whether a click on a link should be handled internally or if a signal should be emitted...
Definition: ktextbrowser.cpp:59
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 5 2019 03:47:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 5 2019 03:47:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.