| 1 |
// Copyright (C) 2023 The Qt Company Ltd. |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 |
|
| 4 |
#ifndef WIDGET1_H |
| 5 |
#define WIDGET1_H |
| 6 |
|
| 7 |
#include <QWidget> |
| 8 |
|
| 9 |
QT_BEGIN_NAMESPACE |
| 10 |
namespace Ui { |
| 11 |
class Widget1; |
| 12 |
} |
| 13 |
QT_END_NAMESPACE |
| 14 |
|
| 15 |
class Widget1 : public QWidget |
| 16 |
{ |
| 17 |
Q_OBJECT |
| 18 |
public: |
| 19 |
explicit Widget1(QWidget* parent = nullptr); |
| 20 |
~Widget1(); |
| 21 |
public slots: |
| 22 |
void onTextChanged(const QString& text); |
| 23 |
|
| 24 |
private: |
| 25 |
Ui::Widget1* ui; |
| 26 |
}; |
| 27 |
|
| 28 |
#endif // WIDGET1_H |