15#ifndef ABSTRACTFINDWIDGET_H
16#define ABSTRACTFINDWIDGET_H
19#include <QtWidgets/QWidget>
45 Q_DECLARE_FLAGS(FindFlags, FindFlag)
69 virtual void find(
const QString &textToFind,
bool skipCurrent,
bool backward,
bool *found,
bool *wrapped) = 0;
75 void findInternal(
const QString &textToFind,
bool skipCurrent,
bool backward);
77 QLineEdit *m_editFind;
78 QLabel *m_labelWrapped;
79 QToolButton *m_toolNext;
80 QToolButton *m_toolClose;
81 QToolButton *m_toolPrevious;
82 QCheckBox *m_checkCase;
83 QCheckBox *m_checkWholeWords;
A search bar that is commonly added below the searchable text.
void setTextEdit(QTextEdit *textEdit)
Associates a QTextEdit with this find widget.
void find(const QString &textToFind, bool skipCurrent, bool backward, bool *found, bool *wrapped) override
\reimp
QTextEdit * textEdit() const
void deactivate() override
\reimp
Combined button and popup list for selecting options.
TextEditFindWidget * m_findWidget