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
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
24
26
28{
30public:
31 explicit QtGradientViewDialog(QWidget *parent = nullptr);
32
35
36 static QGradient getGradient(bool *ok, QtGradientManager *manager, QWidget *parent = nullptr, const QString &caption = tr("Select Gradient", nullptr));
37
38private slots:
39 void slotGradientSelected(const QString &id);
40 void slotGradientActivated(const QString &id);
41
42private:
43 Ui::QtGradientViewDialog m_ui;
44};
45
46QT_END_NAMESPACE
47
48#endif
static QGradient getGradient(bool *ok, QtGradientManager *manager, QWidget *parent=nullptr, const QString &caption=tr("Select Gradient", nullptr))
QtGradientManager * gradientManager() const
void setGradientManager(QtGradientManager *manager)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static bool isEnter(const QKeyEvent *e)
static constexpr auto styleSheetProperty
static constexpr auto seGeometry
static constexpr auto StyleSheetDialogC