Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
texteditfindwidget_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists for the convenience
9// of Qt Designer. This header file may change from version to version
10// without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef TEXTEDITFINDWIDGET_H
16#define TEXTEDITFINDWIDGET_H
17
19
20QT_BEGIN_NAMESPACE
21
22class QTextEdit;
23
25{
27
28public:
30
32 { return m_textEdit; }
33
34 void setTextEdit(QTextEdit *textEdit);
35
36protected:
37 void deactivate() override;
38 void find(const QString &textToFind, bool skipCurrent,
39 bool backward, bool *found, bool *wrapped) override;
40
41private:
42 QTextEdit *m_textEdit;
43};
44
45QT_END_NAMESPACE
46
47#endif // TEXTEDITFINDWIDGET_H
A search bar that is commonly added below a searchable widget.
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