Alkimia API
alkwebview.cpp
82 auto inspectElement = std::find(actions.cbegin(), actions.cend(), page()->action(QWebEnginePage::InspectElement));
84 auto viewSource = std::find(actions.cbegin(), actions.cend(), page()->action(QWebEnginePage::ViewSource));
92 QDesktopServices::openUrl(QString("http://localhost:%1/devtools/page/%2").arg(s_webInspectorPort).arg(page()->devToolsId()));
Wrapper for debug output.
The AlkWebPage class provides an object to load and view web documents to provide functionality like ...
Definition alkwebpage.h:100
QString i18n(const char *text, const TYPE &arg...)
void error(QWidget *parent, const QString &text, const QString &title, const KGuiItem &buttonOk, Options options=Notify)
QString name(StandardAction id)
const QList< QKeySequence > & quit()
virtual void contextMenuEvent(QContextMenuEvent *e) override
void setText(const QString &text)
void triggered(bool checked)
QByteArray number(double n, char format, int precision)
bool openUrl(const QUrl &url)
int exec(ProcessEventsFlags flags)
QByteArray readAll()
const_iterator cbegin() const const
const_iterator cend() const const
QNetworkReply * get(const QNetworkRequest &request)
NetworkError
QVariant attribute(QNetworkRequest::Attribute code) const const
NetworkError error() const const
QUrl url() const const
RedirectionTargetAttribute
void setUrl(const QUrl &url)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
virtual bool event(QEvent *e) override
virtual void reload()
void setSource(const QUrl &url, QTextDocument::ResourceType type)
source
HtmlResource
QMenu * createStandardContextMenu()
void setHtml(const QString &text)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
bool isEmpty() const const
QUrl resolved(const QUrl &relative) const const
QUrl toUrl() const const
QList< QAction * > actions() const const
void insertAction(QAction *before, QAction *action)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.