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
deviceprofiledialog.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
//
6
// W A R N I N G
7
// -------------
8
//
9
// This file is not part of the Qt API. It exists for the convenience
10
// of Qt Designer. This header
11
// file may change from version to version without notice, or even be removed.
12
//
13
// We mean it.
14
//
15
16
#
ifndef
SYSTEMSETTINGSDIALOG_H
17
#
define
SYSTEMSETTINGSDIALOG_H
18
19
#
include
<
QtWidgets
/
qdialog
.
h
>
20
#
include
<
QtCore
/
qstringlist
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
namespace
Ui
{
25
class
DeviceProfileDialog;
26
}
27
28
class
QDesignerDialogGuiInterface;
29
30
class
QDialogButtonBox;
31
32
namespace
qdesigner_internal
{
33
34
class
DeviceProfile;
35
36
/* DeviceProfileDialog: Widget to edit system settings for embedded design */
37
38
class
DeviceProfileDialog
:
public
QDialog
39
{
40
Q_DISABLE_COPY_MOVE
(
DeviceProfileDialog
)
41
Q_OBJECT
42
public
:
43
explicit
DeviceProfileDialog
(
QDesignerDialogGuiInterface
*
dlgGui
,
QWidget
*
parent
=
nullptr
);
44
~
DeviceProfileDialog
()
override
;
45
46
DeviceProfile
deviceProfile
()
const
;
47
void
setDeviceProfile
(
const
DeviceProfile &s);
48
49
bool
showDialog
(
const
QStringList &existingNames);
50
51
private
slots
:
52
void
setOkButtonEnabled
(
bool
);
53
void
nameChanged(
const
QString &name);
54
void
save();
55
void
open
()
override
;
56
57
private
:
58
void
critical(
const
QString &title,
const
QString &msg);
59
Ui
::DeviceProfileDialog *m_ui;
60
QDesignerDialogGuiInterface *m_dlgGui;
61
QStringList m_existingNames;
62
};
63
}
64
65
QT_END_NAMESPACE
66
67
#
endif
// SYSTEMSETTINGSDIALOG_H
QPainter::QWidget
friend class QWidget
Definition
qpainter.h:432
qdesigner_internal::DeviceProfileDialog
Definition
deviceprofiledialog.h:39
qdesigner_internal::DeviceProfileDialog::deviceProfile
DeviceProfile deviceProfile() const
Definition
deviceprofiledialog.cpp:84
qdesigner_internal::DeviceProfileDialog::showDialog
bool showDialog(const QStringList &existingNames)
Definition
deviceprofiledialog.cpp:117
qdesigner_internal::DeviceProfileDialog::~DeviceProfileDialog
~DeviceProfileDialog() override
Definition
deviceprofiledialog.cpp:79
qdesigner_internal::DeviceProfileDialog::setDeviceProfile
void setDeviceProfile(const DeviceProfile &s)
Definition
deviceprofiledialog.cpp:101
qdesigner_internal::DeviceProfileDialog::open
void open() override
Definition
deviceprofiledialog.cpp:147
profileExtensionC
static constexpr auto profileExtensionC
Definition
deviceprofiledialog.cpp:25
fileFilter
static QString fileFilter()
Definition
deviceprofiledialog.cpp:27
populateNumericCombo
static void populateNumericCombo(IntIterator i1, IntIterator i2, QComboBox *cb)
Definition
deviceprofiledialog.cpp:34
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
Ui
Definition
deviceprofiledialog.h:24
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:67
qttools
src
designer
src
components
formeditor
deviceprofiledialog.h
Generated on
for Qt by
1.18.0