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
qtgradientviewdialog_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
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 file may change from version to version
11
// without notice, or even be removed.
12
//
13
// We mean it.
14
//
15
16
#
ifndef
GRADIENTVIEWDIALOG_H
17
#
define
GRADIENTVIEWDIALOG_H
18
19
#
include
<
QtWidgets
/
qwidget
.
h
>
20
#
include
<
QtCore
/
qmap
.
h
>
21
#
include
"ui_qtgradientviewdialog.h"
22
23
QT_BEGIN_NAMESPACE
24
25
class
QtGradientManager
;
26
27
class
QtGradientViewDialog
:
public
QDialog
28
{
29
Q_OBJECT
30
public
:
31
explicit
QtGradientViewDialog
(
QWidget
*
parent
=
nullptr
);
32
33
void
setGradientManager
(
QtGradientManager
*manager);
34
QtGradientManager
*
gradientManager
()
const
;
35
36
static
QGradient
getGradient
(
bool
*ok,
QtGradientManager
*manager, QWidget *parent =
nullptr
,
const
QString &caption = tr(
"Select Gradient"
,
nullptr
));
37
38
private
slots
:
39
void
slotGradientSelected
(
const
QString
&
id
);
40
void
slotGradientActivated(
const
QString &id);
41
42
private
:
43
Ui::QtGradientViewDialog m_ui;
44
};
45
46
QT_END_NAMESPACE
47
48
#
endif
QtGradientManager
Definition
qtgradientmanager_p.h:34
QtGradientViewDialog
Definition
qtgradientviewdialog_p.h:28
QtGradientViewDialog::getGradient
static QGradient getGradient(bool *ok, QtGradientManager *manager, QWidget *parent=nullptr, const QString &caption=tr("Select Gradient", nullptr))
Definition
qtgradientviewdialog.cpp:27
QtGradientViewDialog::gradientManager
QtGradientManager * gradientManager() const
QtGradientViewDialog::setGradientManager
void setGradientManager(QtGradientManager *manager)
Definition
qtgradientviewdialog.cpp:22
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:67
qdesigner_internal::isEnter
static bool isEnter(const QKeyEvent *e)
Definition
stylesheeteditor.cpp:317
styleSheetProperty
static constexpr auto styleSheetProperty
Definition
stylesheeteditor.cpp:42
seGeometry
static constexpr auto seGeometry
Definition
stylesheeteditor.cpp:44
StyleSheetDialogC
static constexpr auto StyleSheetDialogC
Definition
stylesheeteditor.cpp:43
qttools
src
shared
qtgradienteditor
qtgradientviewdialog_p.h
Generated on
for Qt by
1.18.0