Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlinplacepreviewhandler.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
#
ifndef
QQMLINPLACEPREVIEWHANDLER_H
6
#
define
QQMLINPLACEPREVIEWHANDLER_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"qqmlpreviewhandler.h"
20
21
QT_BEGIN_NAMESPACE
22
23
class
QQmlInPlacePreviewHandler :
public
QQmlPreviewHandler
24
{
25
Q_OBJECT
26
public
:
27
explicit
QQmlInPlacePreviewHandler(QObject *parent =
nullptr
);
28
~QQmlInPlacePreviewHandler() override;
29
30
void
connectToService(QQmlPreviewServiceImpl *service) final;
31
void
load(
const
QUrl &url) final;
32
33
Q_SIGNALS:
34
void
hotReloadFailure(
const
QString &reason);
35
36
private
:
37
QList<QUrl> m_droppedUrls;
38
};
39
40
QT_END_NAMESPACE
41
42
#
endif
// QQMLINPLACEPREVIEWHANDLER_H
QQmlPreviewHandler
Definition
qqmlpreviewhandler.h:36
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
updateResolvedTypeReferences
static void updateResolvedTypeReferences(QV4::ExecutionEngine *v4, const QList< QQmlRefPointer< QV4::CompiledData::CompilationUnit > > &droppedUnits)
Definition
qqmlinplacepreviewhandler.cpp:130
updateInplace
static void updateInplace(QQmlComponent *component, std::shared_ptr< InplaceUpdate > inplaceUpdate)
Definition
qqmlinplacepreviewhandler.cpp:140
findCurrentRootObject
void findCurrentRootObject(QQmlEngine *engine, const QUrl &url, QQmlPreviewHandler *receiver)
Definition
qqmlinplacepreviewhandler.cpp:88
findCurrentWindow
QQuickWindow * findCurrentWindow()
Definition
qqmlinplacepreviewhandler.cpp:75
updateEngine
void updateEngine(std::shared_ptr< InplaceUpdate > inplaceUpdate, const QList< QUrl > &urls)
Definition
qqmlinplacepreviewhandler.cpp:199
ComponentUpdate
Definition
qqmlinplacepreviewhandler.cpp:23
ComponentUpdate::newUnit
QQmlRefPointer< QV4::ExecutableCompilationUnit > newUnit
Definition
qqmlinplacepreviewhandler.cpp:26
ComponentUpdate::component
std::unique_ptr< QQmlComponent > component
Definition
qqmlinplacepreviewhandler.cpp:24
ComponentUpdate::oldUnit
QQmlRefPointer< QV4::ExecutableCompilationUnit > oldUnit
Definition
qqmlinplacepreviewhandler.cpp:25
ComponentUpdate::patchResult
QQmlPreview::PatchResult patchResult
Definition
qqmlinplacepreviewhandler.cpp:27
InplaceUpdate
Definition
qqmlinplacepreviewhandler.cpp:31
InplaceUpdate::pendingComponentUpdates
std::vector< ComponentUpdate > pendingComponentUpdates
Definition
qqmlinplacepreviewhandler.cpp:38
InplaceUpdate::droppedUnits
QList< QQmlRefPointer< QV4::CompiledData::CompilationUnit > > droppedUnits
Definition
qqmlinplacepreviewhandler.cpp:40
InplaceUpdate::InplaceUpdate
InplaceUpdate(QQmlInPlacePreviewHandler *handler, QQmlEngine *engine)
Definition
qqmlinplacepreviewhandler.cpp:32
InplaceUpdate::emitError
void emitError(const QString &message)
Definition
qqmlinplacepreviewhandler.cpp:44
InplaceUpdate::emitReloadFailure
void emitReloadFailure(const QString &message)
Definition
qqmlinplacepreviewhandler.cpp:42
InplaceUpdate::processedComponentUpdates
std::vector< ComponentUpdate > processedComponentUpdates
Definition
qqmlinplacepreviewhandler.cpp:39
InplaceUpdate::engine
QQmlEngine * engine
Definition
qqmlinplacepreviewhandler.cpp:37
qtdeclarative
src
plugins
qmltooling
qmldbg_preview
qqmlinplacepreviewhandler.h
Generated on
for Qt by
1.18.0