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
newdynamicpropertydialog.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
NEWDYNAMICPROPERTYDIALOG_P_H
6
#
define
NEWDYNAMICPROPERTYDIALOG_P_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
"propertyeditor_global.h"
20
#
include
<
QtWidgets
/
qdialog
.
h
>
21
#
include
<
QtCore
/
qvariant
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QAbstractButton;
26
class
QDesignerDialogGuiInterface;
27
28
namespace
qdesigner_internal
{
29
30
namespace
Ui
31
{
32
class
NewDynamicPropertyDialog;
33
}
34
35
class
QT_PROPERTYEDITOR_EXPORT
NewDynamicPropertyDialog
:
public
QDialog
36
{
37
Q_OBJECT
38
public
:
39
explicit
NewDynamicPropertyDialog
(
QDesignerDialogGuiInterface
*
dialogGui
,
QWidget
*
parent
=
nullptr
);
40
~
NewDynamicPropertyDialog
()
override
;
41
42
void
setReservedNames
(
const
QStringList &names);
43
void
setPropertyType
(
int
t);
44
45
QString
propertyName
()
const
;
46
QVariant
propertyValue
()
const
;
47
48
private
slots
:
49
50
void
buttonBoxClicked
(
QAbstractButton
*
btn
);
51
void
nameChanged(
const
QString &);
52
53
private
:
54
bool
validatePropertyName(
const
QString& name);
55
void
setOkButtonEnabled(
bool
e);
56
void
information(
const
QString &message);
57
58
QDesignerDialogGuiInterface *m_dialogGui;
59
Ui
::NewDynamicPropertyDialog *m_ui;
60
QStringList m_reservedNames;
61
};
62
63
}
// namespace qdesigner_internal
64
65
QT_END_NAMESPACE
66
67
#
endif
// NEWDYNAMICPROPERTYDIALOG_P_H
QPainter::QWidget
friend class QWidget
Definition
qpainter.h:432
qdesigner_internal::NewDynamicPropertyDialog
Definition
newdynamicpropertydialog.h:36
qdesigner_internal::NewDynamicPropertyDialog::~NewDynamicPropertyDialog
~NewDynamicPropertyDialog() override
Definition
newdynamicpropertydialog.cpp:95
qdesigner_internal::NewDynamicPropertyDialog::propertyName
QString propertyName() const
Definition
newdynamicpropertydialog.cpp:112
qdesigner_internal::NewDynamicPropertyDialog::setReservedNames
void setReservedNames(const QStringList &names)
Definition
newdynamicpropertydialog.cpp:100
qdesigner_internal::NewDynamicPropertyDialog::propertyValue
QVariant propertyValue() const
Definition
newdynamicpropertydialog.cpp:117
qdesigner_internal::NewDynamicPropertyDialog::setPropertyType
void setPropertyType(int t)
Definition
newdynamicpropertydialog.cpp:105
qdesigner_internal::Ui
Definition
templateoptionspage.h:21
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:67
QT_PROPERTYEDITOR_EXPORT
#define QT_PROPERTYEDITOR_EXPORT
Definition
propertyeditor_global.h:19
qttools
src
designer
src
components
propertyeditor
newdynamicpropertydialog.h
Generated on
for Qt by
1.18.0