1 | // SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. |
2 | // |
3 | // SPDX-License-Identifier: GPL-3.0-or-later |
4 | |
5 | #ifndef FINDTOOLBAR_H |
6 | #define FINDTOOLBAR_H |
7 | |
8 | #include <QWidget> |
9 | |
10 | class CurrentDocumentFind; |
11 | class FindToolBarPrivate; |
12 | class FindToolBar : public QWidget |
13 | { |
14 | Q_OBJECT |
15 | public: |
16 | explicit FindToolBar(QWidget *parent = nullptr); |
17 | |
18 | signals: |
19 | void advanced(); |
20 | |
21 | private: |
22 | void setupUi(); |
23 | void findPrevious(); |
24 | void findNext(); |
25 | void advancedSearch(); |
26 | void replace(); |
27 | void replaceSearch(); |
28 | void replaceAll(); |
29 | |
30 | FindToolBarPrivate *const d; |
31 | |
32 | }; |
33 | |
34 | #endif // FINDTOOLBAR_H |
35 | |