Messagelib
webengineaccesskey.cpp
33 InvokeWrapperWebAccessKey<Arg, R, C> invokeWebAccessKey(R *receiver, void (C::*memberFunction)(Arg))
54 void makeAccessKeyLabel(QChar accessKey, const WebEngineViewer::WebEngineAccessKeyAnchor &element);
65 static QString linkElementKey(const WebEngineViewer::WebEngineAccessKeyAnchor &element, const QUrl &baseUrl)
82 handleDuplicateLinkElements(const WebEngineViewer::WebEngineAccessKeyAnchor &element, QHash<QString, QChar> *dupLinkList, QChar *accessKey, const QUrl &baseUrl)
108 if (element.styleProperty(QStringLiteral("visibility"), QWebElement::ComputedStyle).compare(QLatin1String("hidden"), Qt::CaseInsensitive) == 0) {
113 if (element.styleProperty(QStringLiteral("display"), QWebElement::ComputedStyle).compare(QLatin1String("none"), Qt::CaseInsensitive) == 0) {
145 void WebEngineAccessKeyPrivate::makeAccessKeyLabel(QChar accessKey, const WebEngineViewer::WebEngineAccessKeyAnchor &element)
147 // qDebug()<<" void WebEngineAccessKey::makeAccessKeyLabel(QChar accessKey, const WebEngineViewer::MailWebEngineAccessKeyAnchor &element)";
171 // qDebug() << " WebEngineAccessKey::WebEngineAccessKey(QWebEngineView *webEngine, QObject *parent)";
184 if (d->mAccessKeyActivated == WebEngineAccessKeyPrivate::PreActivated && (e->modifiers() & Qt::ControlModifier)) {
211 d->mAccessKeyActivated = WebEngineAccessKeyPrivate::PreActivated; // Only preactive here, it will be actually activated in key release.
309 handleDuplicateLinkElements(element, &d->mDuplicateLinkElements, &accessKey, d->mWebEngine->url());
318 for (const WebEngineViewer::WebEngineAccessKeyAnchor &element : std::as_const(unLabeledElements)) {
320 if (unusedKeys.isEmpty() || geometry.size().isEmpty() || !viewport.contains(geometry.topLeft())) {
336 handleDuplicateLinkElements(element, &d->mDuplicateLinkElements, &accessKey, d->mWebEngine->url());
const T value(const Key &key) const const
bool isEmpty() const const
QPoint topLeft() const const
CaseInsensitive
QSize size() const const
bool removeOne(const T &t)
Plain
bool isEmpty() const const
QPalette palette()
void clear()
void append(const T &value)
QKeySequence::SequenceMatch matches(const QKeySequence &seq) const const
int x() const const
bool contains(const QRect &rectangle, bool proper) const const
QHash::iterator insert(const Key &key, const T &value)
Qt::KeyboardModifiers modifiers() const const
QString toString(QUrl::FormattingOptions options) const const
constexpr bool isEmpty() const
NoMatch
void setX(int x)
bool contains(const T &value) const const
Key_Control
QUrl resolved(const QUrl &relative) const const
void reserve(int size)
T takeFirst()
Qt::KeyboardModifiers modifiers() const const
QString label(StandardShortcut id)
Box
int key() const const
QString & insert(int position, QChar ch)
QList< QVariant > toList() const const
bool contains(const Key &key) const const
ControlModifier
bool isEmpty() const const
bool isNull() const const
QString & append(QChar ch)
void accept()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Mar 24 2023 04:08:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Mar 24 2023 04:08:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.