9#include "textcustomeditor_private_export.h"
10#include "texteditfindbarbase.h"
16namespace TextCustomEditor
18class TEXTCUSTOMEDITOR_TESTS_EXPORT TextFindWidget :
public QWidget
22 explicit TextFindWidget(
QWidget *parent =
nullptr);
23 ~TextFindWidget()
override;
25 [[nodiscard]] TextEditFindBarBase::FindFlags searchOptions()
const;
29 void setFoundMatch(
bool match);
31 [[nodiscard]]
bool isRegularExpression()
const;
34 [[nodiscard]]
QString searchText()
const;
40 void autoSearch(
const QString &);
41 void updateSearchOptions();
42 void searchStringEmpty(
bool);
45 void slotAutoSearch(
const QString &str);
46 void slotRegularExpressionChanged(
bool b);
48 QAction *mCaseSensitiveAct =
nullptr;
49 QAction *mWholeWordAct =
nullptr;
50 QAction *mRegularExpressionAct =
nullptr;
51 QAction *mRespectDiacriticAct =
nullptr;
57class TEXTCUSTOMEDITOR_TESTS_EXPORT TextReplaceWidget :
public QWidget
61 explicit TextReplaceWidget(
QWidget *parent =
nullptr);
62 ~TextReplaceWidget()
override;
67 void slotSearchStringEmpty(
bool);
71 void replaceAllText();
QAction * findPrev(const QObject *recvr, const char *slot, QObject *parent)
QAction * findNext(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:47:37 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.