| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #include <QtVirtualKeyboard/private/inputview_p.h> |
| 5 | |
| 6 | QT_BEGIN_NAMESPACE |
| 7 | namespace QtVirtualKeyboard { |
| 8 | |
| 9 | /*! |
| 10 | \class QtVirtualKeyboard::InputView |
| 11 | \internal |
| 12 | */ |
| 13 | |
| 14 | InputView::InputView(QWindow *parent) : |
| 15 | QQuickView(parent) |
| 16 | { |
| 17 | } |
| 18 | |
| 19 | void InputView::resizeEvent(QResizeEvent *event) |
| 20 | { |
| 21 | QQuickWindow::resizeEvent(event); |
| 22 | emit sizeChanged(); |
| 23 | } |
| 24 | |
| 25 | } // namespace QtVirtualKeyboard |
| 26 | QT_END_NAMESPACE |
| 27 |
