8#include "ksieveui_export.h"
12namespace TextAddonsWidgets
19class SieveEditorWebEngineView;
20class SieveEditorLoadProgressIndicator;
21class FindBarWebEngineView;
22class KSIEVEUI_EXPORT SieveEditorHelpHtmlWidget :
public QWidget
26 explicit SieveEditorHelpHtmlWidget(
QWidget *parent =
nullptr);
27 ~SieveEditorHelpHtmlWidget()
override;
29 void openUrl(
const QUrl ¤tUrl);
30 [[nodiscard]]
QString title()
const;
32 [[nodiscard]]
QUrl currentUrl()
const;
39 [[nodiscard]]
bool hasSelection()
const;
44 void titleChanged(KSieveUi::SieveEditorHelpHtmlWidget *widget,
const QString &title);
45 void progressIndicatorPixmapChanged(KSieveUi::SieveEditorHelpHtmlWidget *widget,
const QPixmap &);
46 void loadFinished(KSieveUi::SieveEditorHelpHtmlWidget *widget,
bool success);
47 void copyAvailable(
bool);
50 KSIEVEUI_NO_EXPORT
void slotTitleChanged(
const QString &title);
51 KSIEVEUI_NO_EXPORT
void slotFinished(
bool b);
52 KSIEVEUI_NO_EXPORT
void slotLoadStarted();
53 KSIEVEUI_NO_EXPORT
void slotPixmapChanged(
const QPixmap &pixmap);
54 KSIEVEUI_NO_EXPORT
void slotLoadFinished(
bool success);
55 KSIEVEUI_NO_EXPORT
void slotSelectionChanged();
57 SieveEditorWebEngineView *mWebView =
nullptr;
58 SieveEditorLoadProgressIndicator *mProgressIndicator =
nullptr;
60 KSieveUi::FindBarWebEngineView *mFindBar =
nullptr;
61 qreal mZoomFactor = 100;
const QList< QKeySequence > & zoomIn()
const QList< QKeySequence > & zoomOut()
const QList< QKeySequence > & find()
const QList< QKeySequence > & copy()
const QList< QKeySequence > & selectAll()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.