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
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists for the convenience
9// of Qt Designer. This header file may change from version to version
10// without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef GRADIENTVIEWDIALOG_H
16#define GRADIENTVIEWDIALOG_H
17
18#include <QtWidgets/QWidget>
19#include <QtCore/QMap>
20#include "ui_qtgradientviewdialog.h"
21
23
25
27{
29public:
31
34
35 static QGradient getGradient(bool *ok, QtGradientManager *manager, QWidget *parent = 0, const QString &caption = tr("Select Gradient", 0));
36
37private slots:
38 void slotGradientSelected(const QString &id);
39 void slotGradientActivated(const QString &id);
40
41private:
42 Ui::QtGradientViewDialog m_ui;
43};
44
45QT_END_NAMESPACE
46
47#endif
static QGradient getGradient(bool *ok, QtGradientManager *manager, QWidget *parent=0, const QString &caption=tr("Select Gradient", 0))
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