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
abstractnewformwidget.h
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
#
ifndef
ABSTRACTNEWFORMWIDGET_H
6
#
define
ABSTRACTNEWFORMWIDGET_H
7
8
#
include
<
QtDesigner
/
sdk_global
.
h
>
9
10
#
include
<
QtWidgets
/
qwidget
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QDesignerFormEditorInterface;
15
16
class
QDESIGNER_SDK_EXPORT
QDesignerNewFormWidgetInterface
:
public
QWidget
17
{
18
Q_OBJECT
19
public
:
20
explicit
QDesignerNewFormWidgetInterface(QWidget *parent =
nullptr
);
21
~QDesignerNewFormWidgetInterface() override;
22
23
virtual
bool
hasCurrentTemplate()
const
= 0;
24
virtual
QString currentTemplate(QString *errorMessage =
nullptr
) = 0;
25
26
static
QDesignerNewFormWidgetInterface *createNewFormWidget(QDesignerFormEditorInterface *core, QWidget *parent =
nullptr
);
27
28
Q_SIGNALS:
29
void
templateActivated();
30
void
currentTemplateChanged(
bool
templateSelected);
31
};
32
33
QT_END_NAMESPACE
34
35
#
endif
// ABSTRACTNEWFORMWIDGET_H
QDesignerNewFormWidgetInterface
QDesignerNewFormWidgetInterface provides an interface for chooser widgets that can be used within "Ne...
Definition
abstractnewformwidget.h:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qttools
src
designer
src
lib
sdk
abstractnewformwidget.h
Generated on
for Qt by
1.18.0