Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmlpreviewclient_p.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant
4
5
6#ifndef QQMLPREVIEWCLIENT_P_H
7#define QQMLPREVIEWCLIENT_P_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <private/qqmldebugclient_p.h>
21#include <private/qqmldebugconnection_p.h>
22
23QT_BEGIN_NAMESPACE
24
25class QQmlPreviewClientPrivate;
27{
28 Q_OBJECT
29 Q_DECLARE_PRIVATE(QQmlPreviewClient)
30public:
42
54
55 QQmlPreviewClient(QQmlDebugConnection *parent);
56 void messageReceived(const QByteArray &message) override;
57
58 void sendDirectory(const QString &path, const QStringList &entries);
59 void sendFile(const QString &path, const QByteArray &contents);
60 void sendError(const QString &path);
61
62 void triggerLoad(const QUrl &url);
63 void triggerRerun();
64 void triggerZoom(float factor);
65
67 void request(const QString &path);
68 void error(const QString &message);
69 void fps(const FpsInfo &info);
70};
71
72QT_END_NAMESPACE
73
74#endif // QQMLPREVIEWCLIENT_P_H
void messageReceived(const QByteArray &message) override
void triggerZoom(float factor)
QQmlPreviewClient(QQmlDebugConnection *parent)
void sendFile(const QString &path, const QByteArray &contents)
void fps(const FpsInfo &info)
void sendError(const QString &path)
void error(const QString &message)
void sendDirectory(const QString &path, const QStringList &entries)
void triggerLoad(const QUrl &url)
Combined button and popup list for selecting options.