Files
qt-creator/doc/qtcreator/examples/textfinder/textfinder.h

30 lines
517 B
C
Raw Normal View History

// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef TEXTFINDER_H
#define TEXTFINDER_H
2008-12-02 12:01:29 +01:00
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui { class TextFinder; }
QT_END_NAMESPACE
2008-12-02 12:01:29 +01:00
class TextFinder : public QWidget
{
Q_OBJECT
public:
TextFinder(QWidget *parent = nullptr);
2008-12-02 12:01:29 +01:00
~TextFinder();
//! [0]
2008-12-02 12:01:29 +01:00
private slots:
void on_findButton_clicked();
private:
2009-03-24 17:35:59 +01:00
Ui::TextFinder *ui;
2008-12-02 12:01:29 +01:00
void loadTextFile();
//! [0]
2008-12-02 12:01:29 +01:00
};
#endif // TEXTFINDER_H