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