| 1 | /**************************************************************************** | 
|---|
| 2 | ** | 
|---|
| 3 | ** Copyright (C) 2019 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 
|---|
| 4 | ** Contact: https://www.qt.io/licensing/ | 
|---|
| 5 | ** | 
|---|
| 6 | ** This file is part of the QtGui module of the Qt Toolkit. | 
|---|
| 7 | ** | 
|---|
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ | 
|---|
| 9 | ** Commercial License Usage | 
|---|
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in | 
|---|
| 11 | ** accordance with the commercial license agreement provided with the | 
|---|
| 12 | ** Software or, alternatively, in accordance with the terms contained in | 
|---|
| 13 | ** a written agreement between you and The Qt Company. For licensing terms | 
|---|
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further | 
|---|
| 15 | ** information use the contact form at https://www.qt.io/contact-us. | 
|---|
| 16 | ** | 
|---|
| 17 | ** GNU Lesser General Public License Usage | 
|---|
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser | 
|---|
| 19 | ** General Public License version 3 as published by the Free Software | 
|---|
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the | 
|---|
| 21 | ** packaging of this file. Please review the following information to | 
|---|
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements | 
|---|
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. | 
|---|
| 24 | ** | 
|---|
| 25 | ** GNU General Public License Usage | 
|---|
| 26 | ** Alternatively, this file may be used under the terms of the GNU | 
|---|
| 27 | ** General Public License version 2.0 or (at your option) the GNU General | 
|---|
| 28 | ** Public license version 3 or any later version approved by the KDE Free | 
|---|
| 29 | ** Qt Foundation. The licenses are as published by the Free Software | 
|---|
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 | 
|---|
| 31 | ** included in the packaging of this file. Please review the following | 
|---|
| 32 | ** information to ensure the GNU General Public License requirements will | 
|---|
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and | 
|---|
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. | 
|---|
| 35 | ** | 
|---|
| 36 | ** $QT_END_LICENSE$ | 
|---|
| 37 | ** | 
|---|
| 38 | ****************************************************************************/ | 
|---|
| 39 |  | 
|---|
| 40 | // This file is auto-generated by gradientgen. DO NOT EDIT! | 
|---|
| 41 |  | 
|---|
| 42 | static QList<QGradientStop> qt_preset_gradient_stops(QGradient::Preset preset) | 
|---|
| 43 | { | 
|---|
| 44 | Q_ASSERT(preset < QGradient::NumPresets); | 
|---|
| 45 | switch (preset) { | 
|---|
| 46 | case QGradient::WarmFlame: | 
|---|
| 47 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 154, 158, 255)), QGradientStop(0.99, QColor(250, 208, 196, 255)), QGradientStop(1, QColor(250, 208, 196, 255))); | 
|---|
| 48 | case QGradient::NightFade: | 
|---|
| 49 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(161, 140, 209, 255)), QGradientStop(1, QColor(251, 194, 235, 255))); | 
|---|
| 50 | case QGradient::SpringWarmth: | 
|---|
| 51 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(250, 208, 196, 255)), QGradientStop(0.01, QColor(250, 208, 196, 255)), QGradientStop(1, QColor(255, 209, 255, 255))); | 
|---|
| 52 | case QGradient::JuicyPeach: | 
|---|
| 53 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 236, 210, 255)), QGradientStop(1, QColor(252, 182, 159, 255))); | 
|---|
| 54 | case QGradient::YoungPassion: | 
|---|
| 55 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 129, 119, 255)), QGradientStop(0, QColor(255, 134, 122, 255)), QGradientStop(0.21, QColor(255, 140, 127, 255)), QGradientStop(0.52, QColor(249, 145, 133, 255)), QGradientStop(0.78, QColor(207, 85, 108, 255)), QGradientStop(1, QColor(177, 42, 91, 255))); | 
|---|
| 56 | case QGradient::LadyLips: | 
|---|
| 57 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 154, 158, 255)), QGradientStop(0.99, QColor(254, 207, 239, 255)), QGradientStop(1, QColor(254, 207, 239, 255))); | 
|---|
| 58 | case QGradient::SunnyMorning: | 
|---|
| 59 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(246, 211, 101, 255)), QGradientStop(1, QColor(253, 160, 133, 255))); | 
|---|
| 60 | case QGradient::RainyAshville: | 
|---|
| 61 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(251, 194, 235, 255)), QGradientStop(1, QColor(166, 193, 238, 255))); | 
|---|
| 62 | case QGradient::FrozenDreams: | 
|---|
| 63 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(253, 203, 241, 255)), QGradientStop(0.01, QColor(253, 203, 241, 255)), QGradientStop(1, QColor(230, 222, 233, 255))); | 
|---|
| 64 | case QGradient::WinterNeva: | 
|---|
| 65 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(161, 196, 253, 255)), QGradientStop(1, QColor(194, 233, 251, 255))); | 
|---|
| 66 | case QGradient::DustyGrass: | 
|---|
| 67 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(212, 252, 121, 255)), QGradientStop(1, QColor(150, 230, 161, 255))); | 
|---|
| 68 | case QGradient::TemptingAzure: | 
|---|
| 69 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(132, 250, 176, 255)), QGradientStop(1, QColor(143, 211, 244, 255))); | 
|---|
| 70 | case QGradient::HeavyRain: | 
|---|
| 71 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(207, 217, 223, 255)), QGradientStop(1, QColor(226, 235, 240, 255))); | 
|---|
| 72 | case QGradient::AmyCrisp: | 
|---|
| 73 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(166, 192, 254, 255)), QGradientStop(1, QColor(246, 128, 132, 255))); | 
|---|
| 74 | case QGradient::MeanFruit: | 
|---|
| 75 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(252, 203, 144, 255)), QGradientStop(1, QColor(213, 126, 235, 255))); | 
|---|
| 76 | case QGradient::DeepBlue: | 
|---|
| 77 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(224, 195, 252, 255)), QGradientStop(1, QColor(142, 197, 252, 255))); | 
|---|
| 78 | case QGradient::RipeMalinka: | 
|---|
| 79 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(240, 147, 251, 255)), QGradientStop(1, QColor(245, 87, 108, 255))); | 
|---|
| 80 | case QGradient::CloudyKnoxville: | 
|---|
| 81 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(253, 251, 251, 255)), QGradientStop(1, QColor(235, 237, 238, 255))); | 
|---|
| 82 | case QGradient::MalibuBeach: | 
|---|
| 83 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(79, 172, 254, 255)), QGradientStop(1, QColor(0, 242, 254, 255))); | 
|---|
| 84 | case QGradient::NewLife: | 
|---|
| 85 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(67, 233, 123, 255)), QGradientStop(1, QColor(56, 249, 215, 255))); | 
|---|
| 86 | case QGradient::TrueSunset: | 
|---|
| 87 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(250, 112, 154, 255)), QGradientStop(1, QColor(254, 225, 64, 255))); | 
|---|
| 88 | case QGradient::MorpheusDen: | 
|---|
| 89 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(48, 207, 208, 255)), QGradientStop(1, QColor(51, 8, 103, 255))); | 
|---|
| 90 | case QGradient::RareWind: | 
|---|
| 91 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(168, 237, 234, 255)), QGradientStop(1, QColor(254, 214, 227, 255))); | 
|---|
| 92 | case QGradient::NearMoon: | 
|---|
| 93 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(94, 231, 223, 255)), QGradientStop(1, QColor(180, 144, 202, 255))); | 
|---|
| 94 | case QGradient::WildApple: | 
|---|
| 95 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(210, 153, 194, 255)), QGradientStop(1, QColor(254, 249, 215, 255))); | 
|---|
| 96 | case QGradient::SaintPetersburg: | 
|---|
| 97 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(245, 247, 250, 255)), QGradientStop(1, QColor(195, 207, 226, 255))); | 
|---|
| 98 | case QGradient::PlumPlate: | 
|---|
| 99 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(102, 126, 234, 255)), QGradientStop(1, QColor(118, 75, 162, 255))); | 
|---|
| 100 | case QGradient::EverlastingSky: | 
|---|
| 101 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(253, 252, 251, 255)), QGradientStop(1, QColor(226, 209, 195, 255))); | 
|---|
| 102 | case QGradient::HappyFisher: | 
|---|
| 103 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(137, 247, 254, 255)), QGradientStop(1, QColor(102, 166, 255, 255))); | 
|---|
| 104 | case QGradient::Blessing: | 
|---|
| 105 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(253, 219, 146, 255)), QGradientStop(1, QColor(209, 253, 255, 255))); | 
|---|
| 106 | case QGradient::SharpeyeEagle: | 
|---|
| 107 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(152, 144, 227, 255)), QGradientStop(1, QColor(177, 244, 207, 255))); | 
|---|
| 108 | case QGradient::LadogaBottom: | 
|---|
| 109 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(235, 192, 253, 255)), QGradientStop(1, QColor(217, 222, 216, 255))); | 
|---|
| 110 | case QGradient::LemonGate: | 
|---|
| 111 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(150, 251, 196, 255)), QGradientStop(1, QColor(249, 245, 134, 255))); | 
|---|
| 112 | case QGradient::ItmeoBranding: | 
|---|
| 113 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(42, 245, 152, 255)), QGradientStop(1, QColor(0, 158, 253, 255))); | 
|---|
| 114 | case QGradient::ZeusMiracle: | 
|---|
| 115 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(205, 156, 242, 255)), QGradientStop(1, QColor(246, 243, 255, 255))); | 
|---|
| 116 | case QGradient::OldHat: | 
|---|
| 117 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(228, 175, 203, 255)), QGradientStop(0, QColor(184, 203, 184, 255)), QGradientStop(0, QColor(184, 203, 184, 255)), QGradientStop(0.3, QColor(226, 197, 139, 255)), QGradientStop(0.64, QColor(194, 206, 156, 255)), QGradientStop(1, QColor(126, 219, 220, 255))); | 
|---|
| 118 | case QGradient::StarWine: | 
|---|
| 119 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(184, 203, 184, 255)), QGradientStop(0, QColor(184, 203, 184, 255)), QGradientStop(0, QColor(180, 101, 218, 255)), QGradientStop(0.33, QColor(207, 108, 201, 255)), QGradientStop(0.66, QColor(238, 96, 156, 255)), QGradientStop(1, QColor(238, 96, 156, 255))); | 
|---|
| 120 | case QGradient::HappyAcid: | 
|---|
| 121 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(55, 236, 186, 255)), QGradientStop(1, QColor(114, 175, 211, 255))); | 
|---|
| 122 | case QGradient::AwesomePine: | 
|---|
| 123 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(235, 187, 167, 255)), QGradientStop(1, QColor(207, 199, 248, 255))); | 
|---|
| 124 | case QGradient::NewYork: | 
|---|
| 125 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 241, 235, 255)), QGradientStop(1, QColor(172, 224, 249, 255))); | 
|---|
| 126 | case QGradient::ShyRainbow: | 
|---|
| 127 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(238, 162, 162, 255)), QGradientStop(0.19, QColor(187, 193, 191, 255)), QGradientStop(0.42, QColor(87, 198, 225, 255)), QGradientStop(0.79, QColor(180, 159, 218, 255)), QGradientStop(1, QColor(122, 197, 216, 255))); | 
|---|
| 128 | case QGradient::MixedHopes: | 
|---|
| 129 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(196, 113, 245, 255)), QGradientStop(1, QColor(250, 113, 205, 255))); | 
|---|
| 130 | case QGradient::FlyHigh: | 
|---|
| 131 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(72, 198, 239, 255)), QGradientStop(1, QColor(111, 134, 214, 255))); | 
|---|
| 132 | case QGradient::StrongBliss: | 
|---|
| 133 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(247, 140, 160, 255)), QGradientStop(0.19, QColor(249, 116, 143, 255)), QGradientStop(0.6, QColor(253, 134, 140, 255)), QGradientStop(1, QColor(254, 154, 139, 255))); | 
|---|
| 134 | case QGradient::FreshMilk: | 
|---|
| 135 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(254, 173, 166, 255)), QGradientStop(1, QColor(245, 239, 239, 255))); | 
|---|
| 136 | case QGradient::SnowAgain: | 
|---|
| 137 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(230, 233, 240, 255)), QGradientStop(1, QColor(238, 241, 245, 255))); | 
|---|
| 138 | case QGradient::FebruaryInk: | 
|---|
| 139 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(172, 203, 238, 255)), QGradientStop(1, QColor(231, 240, 253, 255))); | 
|---|
| 140 | case QGradient::KindSteel: | 
|---|
| 141 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(233, 222, 250, 255)), QGradientStop(1, QColor(251, 252, 219, 255))); | 
|---|
| 142 | case QGradient::SoftGrass: | 
|---|
| 143 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(193, 223, 196, 255)), QGradientStop(1, QColor(222, 236, 221, 255))); | 
|---|
| 144 | case QGradient::GrownEarly: | 
|---|
| 145 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(11, 163, 96, 255)), QGradientStop(1, QColor(60, 186, 146, 255))); | 
|---|
| 146 | case QGradient::SharpBlues: | 
|---|
| 147 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(0, 198, 251, 255)), QGradientStop(1, QColor(0, 91, 234, 255))); | 
|---|
| 148 | case QGradient::ShadyWater: | 
|---|
| 149 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(116, 235, 213, 255)), QGradientStop(1, QColor(159, 172, 230, 255))); | 
|---|
| 150 | case QGradient::DirtyBeauty: | 
|---|
| 151 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(106, 133, 182, 255)), QGradientStop(1, QColor(186, 200, 224, 255))); | 
|---|
| 152 | case QGradient::GreatWhale: | 
|---|
| 153 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(163, 189, 237, 255)), QGradientStop(1, QColor(105, 145, 199, 255))); | 
|---|
| 154 | case QGradient::TeenNotebook: | 
|---|
| 155 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(151, 149, 240, 255)), QGradientStop(1, QColor(251, 200, 212, 255))); | 
|---|
| 156 | case QGradient::PoliteRumors: | 
|---|
| 157 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(167, 166, 203, 255)), QGradientStop(0.52, QColor(137, 137, 186, 255)), QGradientStop(1, QColor(137, 137, 186, 255))); | 
|---|
| 158 | case QGradient::SweetPeriod: | 
|---|
| 159 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(63, 81, 177, 255)), QGradientStop(0.13, QColor(90, 85, 174, 255)), QGradientStop(0.25, QColor(123, 95, 172, 255)), QGradientStop(0.38, QColor(143, 106, 174, 255)), QGradientStop(0.5, QColor(168, 106, 164, 255)), QGradientStop(0.62, QColor(204, 107, 142, 255)), QGradientStop(0.75, QColor(241, 130, 113, 255)), QGradientStop(0.87, QColor(243, 164, 105, 255)), QGradientStop(1, QColor(247, 201, 120, 255))); | 
|---|
| 160 | case QGradient::WideMatrix: | 
|---|
| 161 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(252, 197, 228, 255)), QGradientStop(0.15, QColor(253, 163, 75, 255)), QGradientStop(0.35, QColor(255, 120, 130, 255)), QGradientStop(0.52, QColor(200, 105, 158, 255)), QGradientStop(0.71, QColor(112, 70, 170, 255)), QGradientStop(0.87, QColor(12, 29, 184, 255)), QGradientStop(1, QColor(2, 15, 117, 255))); | 
|---|
| 162 | case QGradient::SoftCherish: | 
|---|
| 163 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(219, 220, 215, 255)), QGradientStop(0.24, QColor(221, 220, 215, 255)), QGradientStop(0.3, QColor(226, 201, 204, 255)), QGradientStop(0.46, QColor(231, 98, 125, 255)), QGradientStop(0.59, QColor(184, 35, 90, 255)), QGradientStop(0.71, QColor(128, 19, 87, 255)), QGradientStop(0.84, QColor(61, 22, 53, 255)), QGradientStop(1, QColor(28, 26, 39, 255))); | 
|---|
| 164 | case QGradient::RedSalvation: | 
|---|
| 165 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(244, 59, 71, 255)), QGradientStop(1, QColor(69, 58, 148, 255))); | 
|---|
| 166 | case QGradient::BurningSpring: | 
|---|
| 167 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(79, 181, 118, 255)), QGradientStop(0.3, QColor(68, 196, 137, 255)), QGradientStop(0.46, QColor(40, 169, 174, 255)), QGradientStop(0.59, QColor(40, 162, 183, 255)), QGradientStop(0.71, QColor(76, 119, 136, 255)), QGradientStop(0.86, QColor(108, 79, 99, 255)), QGradientStop(1, QColor(67, 44, 57, 255))); | 
|---|
| 168 | case QGradient::NightParty: | 
|---|
| 169 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(2, 80, 197, 255)), QGradientStop(1, QColor(212, 63, 141, 255))); | 
|---|
| 170 | case QGradient::SkyGlider: | 
|---|
| 171 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(136, 211, 206, 255)), QGradientStop(1, QColor(110, 69, 226, 255))); | 
|---|
| 172 | case QGradient::HeavenPeach: | 
|---|
| 173 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(217, 175, 217, 255)), QGradientStop(1, QColor(151, 217, 225, 255))); | 
|---|
| 174 | case QGradient::PurpleDivision: | 
|---|
| 175 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(112, 40, 228, 255)), QGradientStop(1, QColor(229, 178, 202, 255))); | 
|---|
| 176 | case QGradient::AquaSplash: | 
|---|
| 177 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(19, 84, 122, 255)), QGradientStop(1, QColor(128, 208, 199, 255))); | 
|---|
| 178 | case QGradient::SpikyNaga: | 
|---|
| 179 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(80, 82, 133, 255)), QGradientStop(0.12, QColor(88, 94, 146, 255)), QGradientStop(0.25, QColor(101, 104, 159, 255)), QGradientStop(0.37, QColor(116, 116, 176, 255)), QGradientStop(0.5, QColor(126, 126, 187, 255)), QGradientStop(0.62, QColor(131, 137, 199, 255)), QGradientStop(0.75, QColor(151, 149, 212, 255)), QGradientStop(0.87, QColor(162, 161, 220, 255)), QGradientStop(1, QColor(181, 174, 228, 255))); | 
|---|
| 180 | case QGradient::LoveKiss: | 
|---|
| 181 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 8, 68, 255)), QGradientStop(1, QColor(255, 177, 153, 255))); | 
|---|
| 182 | case QGradient::CleanMirror: | 
|---|
| 183 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(147, 165, 207, 255)), QGradientStop(1, QColor(228, 239, 233, 255))); | 
|---|
| 184 | case QGradient::PremiumDark: | 
|---|
| 185 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(67, 67, 67, 255)), QGradientStop(1, QColor(0, 0, 0, 255))); | 
|---|
| 186 | case QGradient::ColdEvening: | 
|---|
| 187 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(12, 52, 131, 255)), QGradientStop(1, QColor(162, 182, 223, 255)), QGradientStop(1, QColor(107, 140, 206, 255)), QGradientStop(1, QColor(162, 182, 223, 255))); | 
|---|
| 188 | case QGradient::CochitiLake: | 
|---|
| 189 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(147, 165, 207, 255)), QGradientStop(1, QColor(228, 239, 233, 255))); | 
|---|
| 190 | case QGradient::SummerGames: | 
|---|
| 191 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(146, 254, 157, 255)), QGradientStop(1, QColor(0, 201, 255, 255))); | 
|---|
| 192 | case QGradient::PassionateBed: | 
|---|
| 193 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 117, 140, 255)), QGradientStop(1, QColor(255, 126, 179, 255))); | 
|---|
| 194 | case QGradient::MountainRock: | 
|---|
| 195 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(134, 143, 150, 255)), QGradientStop(1, QColor(89, 97, 100, 255))); | 
|---|
| 196 | case QGradient::DesertHump: | 
|---|
| 197 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(199, 144, 129, 255)), QGradientStop(1, QColor(223, 165, 121, 255))); | 
|---|
| 198 | case QGradient::JungleDay: | 
|---|
| 199 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(139, 170, 170, 255)), QGradientStop(1, QColor(174, 139, 156, 255))); | 
|---|
| 200 | case QGradient::PhoenixStart: | 
|---|
| 201 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(248, 54, 0, 255)), QGradientStop(1, QColor(249, 212, 35, 255))); | 
|---|
| 202 | case QGradient::OctoberSilence: | 
|---|
| 203 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(183, 33, 255, 255)), QGradientStop(1, QColor(33, 212, 253, 255))); | 
|---|
| 204 | case QGradient::FarawayRiver: | 
|---|
| 205 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(110, 69, 226, 255)), QGradientStop(1, QColor(136, 211, 206, 255))); | 
|---|
| 206 | case QGradient::AlchemistLab: | 
|---|
| 207 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(213, 88, 200, 255)), QGradientStop(1, QColor(36, 210, 146, 255))); | 
|---|
| 208 | case QGradient::OverSun: | 
|---|
| 209 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(171, 236, 214, 255)), QGradientStop(1, QColor(251, 237, 150, 255))); | 
|---|
| 210 | case QGradient::PremiumWhite: | 
|---|
| 211 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(213, 212, 208, 255)), QGradientStop(0.01, QColor(213, 212, 208, 255)), QGradientStop(0.31, QColor(238, 238, 236, 255)), QGradientStop(0.75, QColor(239, 238, 236, 255)), QGradientStop(1, QColor(233, 233, 231, 255))); | 
|---|
| 212 | case QGradient::MarsParty: | 
|---|
| 213 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(95, 114, 189, 255)), QGradientStop(1, QColor(155, 35, 234, 255))); | 
|---|
| 214 | case QGradient::EternalConstance: | 
|---|
| 215 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(9, 32, 63, 255)), QGradientStop(1, QColor(83, 120, 149, 255))); | 
|---|
| 216 | case QGradient::JapanBlush: | 
|---|
| 217 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(221, 214, 243, 255)), QGradientStop(1, QColor(250, 172, 168, 255)), QGradientStop(1, QColor(250, 172, 168, 255))); | 
|---|
| 218 | case QGradient::SmilingRain: | 
|---|
| 219 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(220, 176, 237, 255)), QGradientStop(1, QColor(153, 201, 156, 255))); | 
|---|
| 220 | case QGradient::CloudyApple: | 
|---|
| 221 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(243, 231, 233, 255)), QGradientStop(0.99, QColor(227, 238, 255, 255)), QGradientStop(1, QColor(227, 238, 255, 255))); | 
|---|
| 222 | case QGradient::BigMango: | 
|---|
| 223 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(199, 29, 111, 255)), QGradientStop(1, QColor(208, 150, 147, 255))); | 
|---|
| 224 | case QGradient::HealthyWater: | 
|---|
| 225 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(150, 222, 218, 255)), QGradientStop(1, QColor(80, 201, 195, 255))); | 
|---|
| 226 | case QGradient::AmourAmour: | 
|---|
| 227 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(247, 112, 98, 255)), QGradientStop(1, QColor(254, 81, 150, 255))); | 
|---|
| 228 | case QGradient::RiskyConcrete: | 
|---|
| 229 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(196, 197, 199, 255)), QGradientStop(0.52, QColor(220, 221, 223, 255)), QGradientStop(1, QColor(235, 235, 235, 255))); | 
|---|
| 230 | case QGradient::StrongStick: | 
|---|
| 231 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(168, 202, 186, 255)), QGradientStop(1, QColor(93, 65, 87, 255))); | 
|---|
| 232 | case QGradient::ViciousStance: | 
|---|
| 233 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(41, 50, 60, 255)), QGradientStop(1, QColor(72, 85, 99, 255))); | 
|---|
| 234 | case QGradient::PaloAlto: | 
|---|
| 235 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(22, 160, 133, 255)), QGradientStop(1, QColor(244, 208, 63, 255))); | 
|---|
| 236 | case QGradient::HappyMemories: | 
|---|
| 237 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 88, 88, 255)), QGradientStop(1, QColor(240, 152, 25, 255))); | 
|---|
| 238 | case QGradient::MidnightBloom: | 
|---|
| 239 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(43, 88, 118, 255)), QGradientStop(1, QColor(78, 67, 118, 255))); | 
|---|
| 240 | case QGradient::Crystalline: | 
|---|
| 241 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(0, 205, 172, 255)), QGradientStop(1, QColor(141, 218, 213, 255))); | 
|---|
| 242 | case QGradient::PartyBliss: | 
|---|
| 243 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(68, 129, 235, 255)), QGradientStop(1, QColor(4, 190, 254, 255))); | 
|---|
| 244 | case QGradient::ConfidentCloud: | 
|---|
| 245 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(218, 212, 236, 255)), QGradientStop(0.01, QColor(218, 212, 236, 255)), QGradientStop(1, QColor(243, 231, 233, 255))); | 
|---|
| 246 | case QGradient::LeCocktail: | 
|---|
| 247 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(135, 77, 162, 255)), QGradientStop(1, QColor(196, 58, 48, 255))); | 
|---|
| 248 | case QGradient::RiverCity: | 
|---|
| 249 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(68, 129, 235, 255)), QGradientStop(1, QColor(4, 190, 254, 255))); | 
|---|
| 250 | case QGradient::FrozenBerry: | 
|---|
| 251 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(232, 25, 139, 255)), QGradientStop(1, QColor(199, 234, 253, 255))); | 
|---|
| 252 | case QGradient::ChildCare: | 
|---|
| 253 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(247, 148, 164, 255)), QGradientStop(1, QColor(253, 214, 189, 255))); | 
|---|
| 254 | case QGradient::FlyingLemon: | 
|---|
| 255 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(100, 179, 244, 255)), QGradientStop(1, QColor(194, 229, 156, 255))); | 
|---|
| 256 | case QGradient::NewRetrowave: | 
|---|
| 257 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(59, 65, 197, 255)), QGradientStop(0.49, QColor(169, 129, 187, 255)), QGradientStop(1, QColor(255, 200, 169, 255))); | 
|---|
| 258 | case QGradient::HiddenJaguar: | 
|---|
| 259 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(15, 216, 80, 255)), QGradientStop(1, QColor(249, 240, 71, 255))); | 
|---|
| 260 | case QGradient::AboveTheSky: | 
|---|
| 261 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(211, 211, 211, 255)), QGradientStop(0.01, QColor(211, 211, 211, 255)), QGradientStop(0.26, QColor(224, 224, 224, 255)), QGradientStop(0.48, QColor(239, 239, 239, 255)), QGradientStop(0.75, QColor(217, 217, 217, 255)), QGradientStop(1, QColor(188, 188, 188, 255))); | 
|---|
| 262 | case QGradient::Nega: | 
|---|
| 263 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(238, 156, 167, 255)), QGradientStop(1, QColor(255, 221, 225, 255))); | 
|---|
| 264 | case QGradient::DenseWater: | 
|---|
| 265 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(58, 181, 176, 255)), QGradientStop(0.31, QColor(61, 153, 190, 255)), QGradientStop(1, QColor(86, 49, 122, 255))); | 
|---|
| 266 | case QGradient::Seashore: | 
|---|
| 267 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(32, 156, 255, 255)), QGradientStop(1, QColor(104, 224, 207, 255))); | 
|---|
| 268 | case QGradient::MarbleWall: | 
|---|
| 269 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(189, 194, 232, 255)), QGradientStop(0.01, QColor(189, 194, 232, 255)), QGradientStop(1, QColor(230, 222, 233, 255))); | 
|---|
| 270 | case QGradient::CheerfulCaramel: | 
|---|
| 271 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(230, 185, 128, 255)), QGradientStop(1, QColor(234, 205, 163, 255))); | 
|---|
| 272 | case QGradient::NightSky: | 
|---|
| 273 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(30, 60, 114, 255)), QGradientStop(0.01, QColor(30, 60, 114, 255)), QGradientStop(1, QColor(42, 82, 152, 255))); | 
|---|
| 274 | case QGradient::MagicLake: | 
|---|
| 275 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(213, 222, 231, 255)), QGradientStop(0, QColor(255, 175, 189, 255)), QGradientStop(1, QColor(201, 255, 191, 255))); | 
|---|
| 276 | case QGradient::YoungGrass: | 
|---|
| 277 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(155, 225, 93, 255)), QGradientStop(1, QColor(0, 227, 174, 255))); | 
|---|
| 278 | case QGradient::ColorfulPeach: | 
|---|
| 279 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(237, 110, 160, 255)), QGradientStop(1, QColor(236, 140, 105, 255))); | 
|---|
| 280 | case QGradient::GentleCare: | 
|---|
| 281 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 195, 160, 255)), QGradientStop(1, QColor(255, 175, 189, 255))); | 
|---|
| 282 | case QGradient::PlumBath: | 
|---|
| 283 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(204, 32, 142, 255)), QGradientStop(1, QColor(103, 19, 210, 255))); | 
|---|
| 284 | case QGradient::HappyUnicorn: | 
|---|
| 285 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(179, 255, 171, 255)), QGradientStop(1, QColor(18, 255, 247, 255))); | 
|---|
| 286 | case QGradient::AfricanField: | 
|---|
| 287 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(101, 189, 96, 255)), QGradientStop(0.25, QColor(90, 193, 168, 255)), QGradientStop(0.5, QColor(62, 198, 237, 255)), QGradientStop(0.75, QColor(183, 221, 183, 255)), QGradientStop(1, QColor(254, 243, 129, 255))); | 
|---|
| 288 | case QGradient::SolidStone: | 
|---|
| 289 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(36, 57, 73, 255)), QGradientStop(1, QColor(81, 127, 164, 255))); | 
|---|
| 290 | case QGradient::OrangeJuice: | 
|---|
| 291 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(252, 96, 118, 255)), QGradientStop(1, QColor(255, 154, 68, 255))); | 
|---|
| 292 | case QGradient::GlassWater: | 
|---|
| 293 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(223, 233, 243, 255)), QGradientStop(1, QColor(255, 255, 255, 255))); | 
|---|
| 294 | case QGradient::NorthMiracle: | 
|---|
| 295 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(0, 219, 222, 255)), QGradientStop(1, QColor(252, 0, 255, 255))); | 
|---|
| 296 | case QGradient::FruitBlend: | 
|---|
| 297 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(249, 212, 35, 255)), QGradientStop(1, QColor(255, 78, 80, 255))); | 
|---|
| 298 | case QGradient::MillenniumPine: | 
|---|
| 299 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(80, 204, 127, 255)), QGradientStop(1, QColor(245, 209, 0, 255))); | 
|---|
| 300 | case QGradient::HighFlight: | 
|---|
| 301 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(10, 207, 254, 255)), QGradientStop(1, QColor(73, 90, 255, 255))); | 
|---|
| 302 | case QGradient::MoleHall: | 
|---|
| 303 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(97, 97, 97, 255)), QGradientStop(1, QColor(155, 197, 195, 255))); | 
|---|
| 304 | case QGradient::SpaceShift: | 
|---|
| 305 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(61, 51, 147, 255)), QGradientStop(0.37, QColor(43, 118, 185, 255)), QGradientStop(0.65, QColor(44, 172, 209, 255)), QGradientStop(1, QColor(53, 235, 147, 255))); | 
|---|
| 306 | case QGradient::ForestInei: | 
|---|
| 307 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(223, 137, 181, 255)), QGradientStop(1, QColor(191, 217, 254, 255))); | 
|---|
| 308 | case QGradient::RoyalGarden: | 
|---|
| 309 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(237, 110, 160, 255)), QGradientStop(1, QColor(236, 140, 105, 255))); | 
|---|
| 310 | case QGradient::RichMetal: | 
|---|
| 311 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(215, 210, 204, 255)), QGradientStop(1, QColor(48, 67, 82, 255))); | 
|---|
| 312 | case QGradient::JuicyCake: | 
|---|
| 313 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(225, 79, 173, 255)), QGradientStop(1, QColor(249, 212, 35, 255))); | 
|---|
| 314 | case QGradient::SmartIndigo: | 
|---|
| 315 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(178, 36, 239, 255)), QGradientStop(1, QColor(117, 121, 255, 255))); | 
|---|
| 316 | case QGradient::SandStrike: | 
|---|
| 317 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(193, 193, 97, 255)), QGradientStop(0, QColor(193, 193, 97, 255)), QGradientStop(1, QColor(212, 212, 177, 255))); | 
|---|
| 318 | case QGradient::NorseBeauty: | 
|---|
| 319 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(236, 119, 171, 255)), QGradientStop(1, QColor(120, 115, 245, 255))); | 
|---|
| 320 | case QGradient::AquaGuidance: | 
|---|
| 321 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(0, 122, 223, 255)), QGradientStop(1, QColor(0, 236, 188, 255))); | 
|---|
| 322 | case QGradient::SunVeggie: | 
|---|
| 323 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(32, 226, 215, 255)), QGradientStop(1, QColor(249, 254, 165, 255))); | 
|---|
| 324 | case QGradient::SeaLord: | 
|---|
| 325 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(44, 216, 213, 255)), QGradientStop(0.56, QColor(197, 193, 255, 255)), QGradientStop(1, QColor(255, 186, 195, 255))); | 
|---|
| 326 | case QGradient::BlackSea: | 
|---|
| 327 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(44, 216, 213, 255)), QGradientStop(0.48, QColor(107, 141, 214, 255)), QGradientStop(1, QColor(142, 55, 215, 255))); | 
|---|
| 328 | case QGradient::GrassShampoo: | 
|---|
| 329 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(223, 255, 205, 255)), QGradientStop(0.48, QColor(144, 249, 196, 255)), QGradientStop(1, QColor(57, 243, 187, 255))); | 
|---|
| 330 | case QGradient::LandingAircraft: | 
|---|
| 331 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(93, 159, 255, 255)), QGradientStop(0.48, QColor(184, 220, 255, 255)), QGradientStop(1, QColor(107, 187, 255, 255))); | 
|---|
| 332 | case QGradient::WitchDance: | 
|---|
| 333 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(168, 191, 255, 255)), QGradientStop(1, QColor(136, 77, 128, 255))); | 
|---|
| 334 | case QGradient::SleeplessNight: | 
|---|
| 335 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(82, 113, 196, 255)), QGradientStop(0.48, QColor(177, 159, 255, 255)), QGradientStop(1, QColor(236, 161, 254, 255))); | 
|---|
| 336 | case QGradient::AngelCare: | 
|---|
| 337 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 226, 159, 255)), QGradientStop(0.48, QColor(255, 169, 159, 255)), QGradientStop(1, QColor(255, 113, 154, 255))); | 
|---|
| 338 | case QGradient::CrystalRiver: | 
|---|
| 339 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(34, 225, 255, 255)), QGradientStop(0.48, QColor(29, 143, 225, 255)), QGradientStop(1, QColor(98, 94, 177, 255))); | 
|---|
| 340 | case QGradient::SoftLipstick: | 
|---|
| 341 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(182, 206, 232, 255)), QGradientStop(1, QColor(245, 120, 220, 255))); | 
|---|
| 342 | case QGradient::SaltMountain: | 
|---|
| 343 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 254, 255, 255)), QGradientStop(1, QColor(215, 255, 254, 255))); | 
|---|
| 344 | case QGradient::PerfectWhite: | 
|---|
| 345 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(227, 253, 245, 255)), QGradientStop(1, QColor(255, 230, 250, 255))); | 
|---|
| 346 | case QGradient::FreshOasis: | 
|---|
| 347 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(125, 226, 252, 255)), QGradientStop(1, QColor(185, 182, 229, 255))); | 
|---|
| 348 | case QGradient::StrictNovember: | 
|---|
| 349 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(203, 186, 204, 255)), QGradientStop(1, QColor(37, 128, 179, 255))); | 
|---|
| 350 | case QGradient::MorningSalad: | 
|---|
| 351 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(183, 248, 219, 255)), QGradientStop(1, QColor(80, 167, 194, 255))); | 
|---|
| 352 | case QGradient::DeepRelief: | 
|---|
| 353 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(112, 133, 182, 255)), QGradientStop(0.5, QColor(135, 167, 217, 255)), QGradientStop(1, QColor(222, 243, 248, 255))); | 
|---|
| 354 | case QGradient::SeaStrike: | 
|---|
| 355 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(119, 255, 210, 255)), QGradientStop(0.48, QColor(98, 151, 219, 255)), QGradientStop(1, QColor(30, 236, 255, 255))); | 
|---|
| 356 | case QGradient::NightCall: | 
|---|
| 357 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(172, 50, 228, 255)), QGradientStop(0.48, QColor(121, 24, 242, 255)), QGradientStop(1, QColor(72, 1, 255, 255))); | 
|---|
| 358 | case QGradient::SupremeSky: | 
|---|
| 359 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(212, 255, 236, 255)), QGradientStop(0.48, QColor(87, 242, 204, 255)), QGradientStop(1, QColor(69, 150, 251, 255))); | 
|---|
| 360 | case QGradient::LightBlue: | 
|---|
| 361 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(158, 251, 211, 255)), QGradientStop(0.48, QColor(87, 233, 242, 255)), QGradientStop(1, QColor(69, 212, 251, 255))); | 
|---|
| 362 | case QGradient::MindCrawl: | 
|---|
| 363 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(71, 59, 123, 255)), QGradientStop(0.51, QColor(53, 132, 167, 255)), QGradientStop(1, QColor(48, 210, 190, 255))); | 
|---|
| 364 | case QGradient::LilyMeadow: | 
|---|
| 365 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(101, 55, 155, 255)), QGradientStop(0.53, QColor(136, 106, 234, 255)), QGradientStop(1, QColor(100, 87, 198, 255))); | 
|---|
| 366 | case QGradient::SugarLollipop: | 
|---|
| 367 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(164, 69, 178, 255)), QGradientStop(0.52, QColor(212, 24, 114, 255)), QGradientStop(1, QColor(255, 0, 102, 255))); | 
|---|
| 368 | case QGradient::SweetDessert: | 
|---|
| 369 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(119, 66, 178, 255)), QGradientStop(0.52, QColor(241, 128, 255, 255)), QGradientStop(1, QColor(253, 139, 217, 255))); | 
|---|
| 370 | case QGradient::MagicRay: | 
|---|
| 371 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 60, 172, 255)), QGradientStop(0.52, QColor(86, 43, 124, 255)), QGradientStop(1, QColor(43, 134, 197, 255))); | 
|---|
| 372 | case QGradient::TeenParty: | 
|---|
| 373 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 5, 124, 255)), QGradientStop(0.5, QColor(141, 11, 147, 255)), QGradientStop(1, QColor(50, 21, 117, 255))); | 
|---|
| 374 | case QGradient::FrozenHeat: | 
|---|
| 375 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(255, 5, 124, 255)), QGradientStop(0.48, QColor(124, 100, 213, 255)), QGradientStop(1, QColor(76, 195, 255, 255))); | 
|---|
| 376 | case QGradient::GagarinView: | 
|---|
| 377 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(105, 234, 203, 255)), QGradientStop(0.48, QColor(234, 204, 248, 255)), QGradientStop(1, QColor(102, 84, 241, 255))); | 
|---|
| 378 | case QGradient::FabledSunset: | 
|---|
| 379 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(35, 21, 87, 255)), QGradientStop(0.29, QColor(68, 16, 122, 255)), QGradientStop(0.67, QColor(255, 19, 97, 255)), QGradientStop(1, QColor(255, 248, 0, 255))); | 
|---|
| 380 | case QGradient::PerfectBlue: | 
|---|
| 381 | return Q_ARRAY_LITERAL(QGradientStop, QGradientStop(0, QColor(61, 78, 129, 255)), QGradientStop(0.48, QColor(87, 83, 201, 255)), QGradientStop(1, QColor(110, 127, 243, 255))); | 
|---|
| 382 | case QGradient::NumPresets: | 
|---|
| 383 | Q_UNREACHABLE(); | 
|---|
| 384 | } | 
|---|
| 385 | Q_UNREACHABLE(); | 
|---|
| 386 | return {}; | 
|---|
| 387 | } | 
|---|
| 388 |  | 
|---|
| 389 | static constexpr QGradient::QGradientData qt_preset_gradient_data[] = { | 
|---|
| 390 | { { 0, 1, 1, 0 } }, | 
|---|
| 391 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 392 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 393 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 394 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 395 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 396 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 397 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 398 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 399 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 400 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 401 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 402 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 403 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 404 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 405 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 406 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 407 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 408 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 409 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 410 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 411 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 412 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 413 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 414 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 415 | { { 0, 0, 1, 1 } }, | 
|---|
| 416 | { { 0, 0, 0, 0 } }, | 
|---|
| 417 | { { 0, 0, 1, 1 } }, | 
|---|
| 418 | { { 0, 0, 1, 1 } }, | 
|---|
| 419 | { { -0.0915064, 0.158494, 1.09151, 0.841506 } }, | 
|---|
| 420 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 421 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 422 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 423 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 424 | { { 0.5, 0, 0.5, 1 } }, | 
|---|
| 425 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 426 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 427 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 428 | { { 0, 0, 0, 0 } }, | 
|---|
| 429 | { { 0, 0, 0, 0 } }, | 
|---|
| 430 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 431 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 432 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 433 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 434 | { { 0, 0, 0, 0 } }, | 
|---|
| 435 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 436 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 437 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 438 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 439 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 440 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 441 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 442 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 443 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 444 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 445 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 446 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 447 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 448 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 449 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 450 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 451 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 452 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 453 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 454 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 455 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 456 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 457 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 458 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 459 | { { 0.341506, 1.09151, 0.658494, -0.0915064 } }, | 
|---|
| 460 | { { 0, 0, 0, 0 } }, | 
|---|
| 461 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 462 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 463 | { { 0, 0, 0, 0 } }, | 
|---|
| 464 | { { 0, 1, 1, 0 } }, | 
|---|
| 465 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 466 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 467 | { { 0, 1, 1, 0 } }, | 
|---|
| 468 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 469 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 470 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 471 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 472 | { { 0, 1, 1, 0 } }, | 
|---|
| 473 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 474 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 475 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 476 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 477 | { { -0.0915064, 0.841506, 1.09151, 0.158494 } }, | 
|---|
| 478 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 479 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 480 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 481 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 482 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 483 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 484 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 485 | { { -0.0915064, 0.841506, 1.09151, 0.158494 } }, | 
|---|
| 486 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 487 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 488 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 489 | { { -0.0915064, 0.841506, 1.09151, 0.158494 } }, | 
|---|
| 490 | { { 1.09151, 0.841506, -0.0915064, 0.158494 } }, | 
|---|
| 491 | { { 1.09151, 0.841506, -0.0915064, 0.158494 } }, | 
|---|
| 492 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 493 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 494 | { { 0, 0, 0, 0 } }, | 
|---|
| 495 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 496 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 497 | { { 0, 1, 1, 0 } }, | 
|---|
| 498 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 499 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 500 | { { 0, 0, 0, 0 } }, | 
|---|
| 501 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 502 | { { -0.0915064, 0.841506, 1.09151, 0.158494 } }, | 
|---|
| 503 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 504 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 505 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 506 | { { 0, 1, 1, 0 } }, | 
|---|
| 507 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 508 | { { 0, 0, 0, 0 } }, | 
|---|
| 509 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 510 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 511 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 512 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 513 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 514 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 515 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 516 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 517 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 518 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 519 | { { 0, 0, 0, 0 } }, | 
|---|
| 520 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 521 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 522 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 523 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 524 | { { 0, 0, 0, 0 } }, | 
|---|
| 525 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 526 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 527 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 528 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 529 | { { 0.719186, 1.10221, 0.280814, -0.102208 } }, | 
|---|
| 530 | { { 0, 0, 0, 0 } }, | 
|---|
| 531 | { { -0.0915064, 0.841506, 1.09151, 0.158494 } }, | 
|---|
| 532 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 533 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 534 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 535 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 536 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 537 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 538 | { { 0, 0.5, 1, 0.5 } }, | 
|---|
| 539 | { { 0.5, 1, 0.5, 0 } }, | 
|---|
| 540 | { { 0, 0, 1, 1 } }, | 
|---|
| 541 | { { 0, 0, 1, 1 } }, | 
|---|
| 542 | { { 0, 0, 1, 1 } }, | 
|---|
| 543 | { { 0, 0, 1, 1 } }, | 
|---|
| 544 | { { 0, 0, 1, 1 } }, | 
|---|
| 545 | { { 0, 0, 1, 1 } }, | 
|---|
| 546 | { { 0, 0, 1, 1 } }, | 
|---|
| 547 | { { 0, 0, 1, 1 } }, | 
|---|
| 548 | { { 0, 0, 1, 1 } }, | 
|---|
| 549 | { { 0, 0, 1, 1 } }, | 
|---|
| 550 | { { 0, 0, 1, 1 } }, | 
|---|
| 551 | { { 0, 0, 1, 1 } }, | 
|---|
| 552 | { { 0, 0, 1, 1 } }, | 
|---|
| 553 | { { 0, 0, 1, 1 } }, | 
|---|
| 554 | { { 0, 0, 1, 1 } }, | 
|---|
| 555 | { { 0, 0, 1, 1 } }, | 
|---|
| 556 | { { 0, 0, 1, 1 } }, | 
|---|
| 557 | { { 0, 0, 1, 1 } }, | 
|---|
| 558 | { { 0, 0, 1, 1 } }, | 
|---|
| 559 | { { 0, 0, 1, 1 } }, | 
|---|
| 560 | { { 0, 0, 1, 1 } }, | 
|---|
| 561 | { { 0, 0, 1, 1 } }, | 
|---|
| 562 | { { 0, 0, 1, 1 } }, | 
|---|
| 563 | { { 0, 0, 1, 1 } }, | 
|---|
| 564 | { { 0, 0, 1, 1 } }, | 
|---|
| 565 | { { 0, 0, 1, 1 } }, | 
|---|
| 566 | { { 0, 0, 1, 1 } }, | 
|---|
| 567 | { { 0, 0, 1, 1 } }, | 
|---|
| 568 | { { 0, 0, 1, 1 } }, | 
|---|
| 569 | { { 0, 0, 1, 1 } }, | 
|---|
| 570 | }; | 
|---|
| 571 |  | 
|---|