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();
const QList< QKeySequence > & findPrev()
const QList< QKeySequence > & findNext()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:49 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.