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
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
4#ifndef NEWDYNAMICPROPERTYDIALOG_P_H
5#define NEWDYNAMICPROPERTYDIALOG_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
19#include <QtWidgets/qdialog.h>
20#include <QtCore/qvariant.h>
21
22QT_BEGIN_NAMESPACE
23
24class QAbstractButton;
25class QDesignerDialogGuiInterface;
26
27namespace qdesigner_internal {
28
29namespace Ui
30{
31 class NewDynamicPropertyDialog;
32}
33
35{
37public:
40
41 void setReservedNames(const QStringList &names);
42 void setPropertyType(int t);
43
44 QString propertyName() const;
45 QVariant propertyValue() const;
46
47private slots:
48
50 void nameChanged(const QString &);
51
52private:
53 bool validatePropertyName(const QString& name);
54 void setOkButtonEnabled(bool e);
55 void information(const QString &message);
56
57 QDesignerDialogGuiInterface *m_dialogGui;
58 Ui::NewDynamicPropertyDialog *m_ui;
59 QStringList m_reservedNames;
60};
61
62} // namespace qdesigner_internal
63
64QT_END_NAMESPACE
65
66#endif // NEWDYNAMICPROPERTYDIALOG_P_H
friend class QWidget
Definition qpainter.h:421
Auxiliary methods to store/retrieve settings.
#define QT_PROPERTYEDITOR_EXPORT