Messagelib

webenginescript.h
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#pragma once
7
8#include "webengineviewer_export.h"
9#include <QPoint>
10#include <QString>
11
12namespace WebEngineViewer
13{
14namespace WebEngineScript
15{
16[[nodiscard]] WEBENGINEVIEWER_EXPORT QString findAllImages();
17[[nodiscard]] WEBENGINEVIEWER_EXPORT QString findAllScripts();
18[[nodiscard]] WEBENGINEVIEWER_EXPORT QString findAllAnchors();
19[[nodiscard]] WEBENGINEVIEWER_EXPORT QString findAllAnchorsAndForms();
20[[nodiscard]] WEBENGINEVIEWER_EXPORT QString searchElementPosition(const QString &elementStr);
21[[nodiscard]] WEBENGINEVIEWER_EXPORT QString scrollToPosition(const QPoint &pos);
22[[nodiscard]] WEBENGINEVIEWER_EXPORT QString setElementByIdVisible(const QString &elementStr, bool visibility);
23[[nodiscard]] WEBENGINEVIEWER_EXPORT QString setStyleToElement(const QString &elementStr, const QString &style);
24[[nodiscard]] WEBENGINEVIEWER_EXPORT QString scrollDown(int pixel);
25[[nodiscard]] WEBENGINEVIEWER_EXPORT QString scrollUp(int pixel);
26[[nodiscard]] WEBENGINEVIEWER_EXPORT QString scrollPercentage(int percent);
27[[nodiscard]] WEBENGINEVIEWER_EXPORT QString scrollToRelativePosition(qreal pos);
28[[nodiscard]] WEBENGINEVIEWER_EXPORT QString removeStyleToElement(const QString &element);
29[[nodiscard]] WEBENGINEVIEWER_EXPORT QString isScrolledToBottom();
30}
31}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.