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
extrainfo.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
// Qt-Security score:significant reason:default
4
5
#
include
"extrainfo.h"
6
7
QT_BEGIN_NAMESPACE
8
9
/*!
10
\class QDesignerExtraInfoExtension
11
\brief The QDesignerExtraInfoExtension class provides extra information about a widget in
12
Qt Widgets Designer.
13
\inmodule QtDesigner
14
\internal
15
*/
16
17
/*!
18
Returns the path to the working directory used by this extension.*/
19
QString QDesignerExtraInfoExtension::workingDirectory()
const
20
{
21
return
m_workingDirectory;
22
}
23
24
/*!
25
Sets the path to the working directory used by the extension to \a workingDirectory.*/
26
void
QDesignerExtraInfoExtension::setWorkingDirectory(
const
QString &workingDirectory)
27
{
28
m_workingDirectory = workingDirectory;
29
}
30
31
/*!
32
\fn virtual QDesignerExtraInfoExtension::~QDesignerExtraInfoExtension()
33
34
Destroys the extension.
35
*/
36
37
/*!
38
\fn virtual QDesignerFormEditorInterface *QDesignerExtraInfoExtension::core() const = 0
39
40
\omit
41
### Description required
42
\endomit
43
*/
44
45
/*!
46
\fn virtual QWidget *QDesignerExtraInfoExtension::widget() const = 0
47
48
Returns the widget described by this extension.
49
*/
50
51
/*!
52
\fn virtual bool QDesignerExtraInfoExtension::saveUiExtraInfo(DomUI *ui) = 0
53
54
Saves the information about the user interface specified by \a ui, and returns true if
55
successful; otherwise returns false.
56
*/
57
58
/*!
59
\fn virtual bool QDesignerExtraInfoExtension::loadUiExtraInfo(DomUI *ui) = 0
60
61
Loads extra information about the user interface specified by \a ui, and returns true if
62
successful; otherwise returns false.
63
*/
64
65
/*!
66
\fn virtual bool QDesignerExtraInfoExtension::saveWidgetExtraInfo(DomWidget *widget) = 0
67
68
Saves the information about the specified \a widget, and returns true if successful;
69
otherwise returns false.
70
*/
71
72
/*!
73
\fn virtual bool QDesignerExtraInfoExtension::loadWidgetExtraInfo(DomWidget *widget) = 0
74
75
Loads extra information about the specified \a widget, and returns true if successful;
76
otherwise returns false.
77
*/
78
79
QT_END_NAMESPACE
qttools
src
designer
src
lib
sdk
extrainfo.cpp
Generated on
for Qt by
1.16.1