16#ifndef ABSTRACTFINDWIDGET_H
17#define ABSTRACTFINDWIDGET_H
19#include <QtGui/qicon.h>
20#include <QtWidgets/qwidget.h>
46 Q_DECLARE_FLAGS(FindFlags, FindFlag)
70 virtual void find(
const QString &textToFind,
bool skipCurrent,
bool backward,
bool *found,
bool *wrapped) = 0;
76 void findInternal(
const QString &textToFind,
bool skipCurrent,
bool backward);
78 QLineEdit *m_editFind;
79 QLabel *m_labelWrapped;
80 QToolButton *m_toolNext;
81 QToolButton *m_toolClose;
82 QToolButton *m_toolPrevious;
83 QCheckBox *m_checkCase;
84 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