blob: 449161993a3853e7b4e9a30e78fab98a50930933 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "qdesigner_formwindowmanager_p.h"
#include "plugindialog_p.h"
#include <QtDesigner/abstractformeditor.h>
QT_BEGIN_NAMESPACE
namespace qdesigner_internal {
/*!
\class qdesigner_internal::QDesignerFormWindowManager
\inmodule QtDesigner
\internal
Extends QDesignerFormWindowManagerInterface with methods to control
the preview and printing of forms. It provides a facade that simplifies
the complexity of the more general PreviewConfiguration & PreviewManager
interfaces.
\since 4.5
*/
QDesignerFormWindowManager::QDesignerFormWindowManager(QObject *parent)
: QDesignerFormWindowManagerInterface(parent)
{
}
QDesignerFormWindowManager::~QDesignerFormWindowManager() = default;
/*!
\fn PreviewManager *qdesigner_internal::QDesignerFormWindowManager::previewManager() const
Accesses the previewmanager implementation.
\since 4.5
\internal
*/
void QDesignerFormWindowManager::showPluginDialog()
{
PluginDialog dlg(core(), core()->topLevel());
dlg.exec();
}
} // namespace qdesigner_internal
QT_END_NAMESPACE
|