Home
last modified time | relevance | path

Searched refs:fromHslF (Results 1 – 25 of 133) sorted by relevance

123456

/dports/www/kristall/kristall-6b39f244/src/
H A Ddocumentstyle.cpp517 themed.background_color = QColor::fromHslF(hue, saturation, 0.25f); in derive()
520 themed.h1_color = QColor::fromHslF(std::modf(hue + 0.5, &tmp), 1.0 - saturation, 0.75); in derive()
521 themed.h2_color = QColor::fromHslF(std::modf(hue + 0.5, &tmp), 1.0 - saturation, 0.75); in derive()
522 themed.h3_color = QColor::fromHslF(std::modf(hue + 0.5, &tmp), 1.0 - saturation, 0.75); in derive()
524 themed.external_link_color = QColor::fromHslF(std::modf(hue + 0.25, &tmp), 1.0, 0.75); in derive()
536 themed.background_color = QColor::fromHslF(hue, items[2] / 255.0, 0.85); in derive()
539 themed.h1_color = QColor::fromHslF(std::modf(hue + 0.5, &tmp), 1.0 - saturation, 0.25); in derive()
540 themed.h2_color = QColor::fromHslF(std::modf(hue + 0.5, &tmp), 1.0 - saturation, 0.25); in derive()
541 themed.h3_color = QColor::fromHslF(std::modf(hue + 0.5, &tmp), 1.0 - saturation, 0.25); in derive()
543 themed.external_link_color = QColor::fromHslF(std::modf(hue + 0.25, &tmp), 1.0, 0.25); in derive()
/dports/net-im/chatterino2/chatterino2-2.3.4/src/
H A DBaseTheme.cpp53 QColor themeColor = QColor::fromHslF(hue, 0.8, 0.5); in actuallyUpdate()
54 QColor themeColorNoSat = QColor::fromHslF(hue, 0, 0.5); in actuallyUpdate()
60 return QColor::fromHslF(h, s, ((l - 0.5) * multiplier) + 0.5, a); in actuallyUpdate()
/dports/graphics/qtpbfimageplugin/QtPBFImagePlugin-2.1/src/
H A Dcolor.cpp32 ret = QColor::fromHslF(comp.at(0).toFloat() / 360.0, pval(comp.at(1)), in fromJsonString()
38 ret = QColor::fromHslF(comp.at(0).toFloat() / 360.0, pval(comp.at(1)), in fromJsonString()
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qcolor/
H A Dtst_qcolor.cpp1189 << QColor::fromHslF(-1.0, 0.0, 0.0); in toRgb_data()
1195 << QColor::fromHslF(-1.0, 0.0, 1.0); in toRgb_data()
1201 << QColor::fromHslF(0.0, 1.0, 0.5, 1.0); in toRgb_data()
1207 << QColor::fromHslF(0.33333, 1.0, 0.5); in toRgb_data()
1213 << QColor::fromHslF(0.66667, 1.0, 0.5); in toRgb_data()
1219 << QColor::fromHslF(0.5, 1.0, 0.5); in toRgb_data()
1225 << QColor::fromHslF(0.83333, 1.0, 0.5); in toRgb_data()
1231 << QColor::fromHslF(0.16667, 1.0, 0.5); in toRgb_data()
1237 << QColor::fromHslF(-1.0, 0.0, 0.6431375); in toRgb_data()
1352 << QColor::fromHslF(300./360., 1., 0.5, 1.0) in toHsl_data()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/dockers/advancedcolorselector/
H A Dkis_color_selector_simple.cpp349 color = m_parent->converter()->fromHslF(m_hue, xRel, yRel); in colorAt()
367 color = m_parent->converter()->fromHslF(xRel, yRel, m_lightness); in colorAt()
379 color = m_parent->converter()->fromHslF(xRel, m_hslSaturation, yRel); in colorAt()
397 color = m_parent->converter()->fromHslF(m_hue, relPos, m_lightness); in colorAt()
403 color = m_parent->converter()->fromHslF(m_hue, m_hslSaturation, relPos); in colorAt()
H A Dkis_my_paint_shade_selector.cpp189 else if(shadeMyPaintType=="HSL"){color = converter()->fromHslF(fh, fs, fv);} in paintEvent()
221 else if(shadeMyPaintType=="HSL"){color = converter()->fromHslF(fh, fs, fv);} in paintEvent()
H A Dkis_color_selector_wheel.cpp290 color = m_parent->converter()->fromHslF(angle, radius, m_lightness); in colorAt()
302 color = m_parent->converter()->fromHslF(angle, m_hslSaturation, radius); in colorAt()
/dports/net-im/spectral/spectral-817/src/
H A Dspectraluser.cpp4 return QColor::fromHslF(hueF(), 0.7, 0.5, 1); in color()
/dports/editors/texstudio/texstudio-4.1.2/src/adwaita-qt/style/
H A Dadwaitahelper.h114 return QColor::fromHslF(h, s, lightness, a);
126 return QColor::fromHslF(h, s, lightness, a);
137 return QColor::fromHslF(h, saturation, l, a);
148 return QColor::fromHslF(h, s, l, alpha);
/dports/net-im/neochat/neochat-1.2.0/src/
H A Dneochatuser.cpp45 setColor(QColor::fromHslF(hueF(), in polishColor()
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtGui/
H A Dqcolor_reduce_test.py60 self.reduceColor(QColor.fromHslF(0.1, 0.2, 0.3, 0.4))
H A Ddeepcopy_test.py72 self.original = QColor.fromHslF(0.2, 0.3, 0.4, 0.5)
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtGui/
H A Dqcolor_reduce_test.py60 self.reduceColor(QColor.fromHslF(0.1, 0.2, 0.3, 0.4))
H A Ddeepcopy_test.py72 self.original = QColor.fromHslF(0.2, 0.3, 0.4, 0.5)
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/sources/pyside2/tests/QtGui/
H A Dqcolor_reduce_test.py60 self.reduceColor(QColor.fromHslF(0.1, 0.2, 0.3, 0.4))
H A Ddeepcopy_test.py72 self.original = QColor.fromHslF(0.2, 0.3, 0.4, 0.5)
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/declarative/qdeclarativeqt/
H A Dtst_qdeclarativeqt.cpp151 QCOMPARE(qvariant_cast<QColor>(object->property("test1")), QColor::fromHslF(1, 0, 0, 0.8)); in hsla()
152 QCOMPARE(qvariant_cast<QColor>(object->property("test2")), QColor::fromHslF(1, 0.5, 0.3, 1)); in hsla()
155 QCOMPARE(qvariant_cast<QColor>(object->property("test5")), QColor::fromHslF(1, 1, 1, 1)); in hsla()
156 QCOMPARE(qvariant_cast<QColor>(object->property("test6")), QColor::fromHslF(0, 0, 0, 0)); in hsla()
/dports/x11-themes/qgnomeplatform/QGnomePlatform-0.6.1-8-g53d7924/common/
H A Dgnomehintssettings.h90 return QColor::fromHslF(h, s, lightness, a);
102 return QColor::fromHslF(h, s, lightness, a);
113 return QColor::fromHslF(h, saturation, l, a);
124 return QColor::fromHslF(h, s, l, alpha);
/dports/graphics/qgis-ltr/qgis-3.16.16/src/gui/
H A Dqgsgradientcolorrampdialog.cpp448 …newColor = QColor::fromHslF( qBound( qreal( 0.0 ), point.y(), qreal( 1.0 ) ), newColor.hslSaturati… in plotMouseMove()
450 …newColor = QColor::fromHslF( newColor.hslHueF(), newColor.hslSaturationF(), qBound( qreal( 0.0 ), … in plotMouseMove()
452 …newColor = QColor::fromHslF( newColor.hslHueF(), qBound( qreal( 0.0 ), point.y(), qreal( 1.0 ) ), … in plotMouseMove()
454 …newColor = QColor::fromHslF( newColor.hslHueF(), newColor.hslSaturationF(), newColor.lightnessF(),… in plotMouseMove()
/dports/graphics/qgis/qgis-3.22.3/src/gui/
H A Dqgsgradientcolorrampdialog.cpp450 …newColor = QColor::fromHslF( std::clamp( point.y(), qreal( 0.0 ), qreal( 1.0 ) ), newColor.hslSatu… in plotMouseMove()
452 …newColor = QColor::fromHslF( newColor.hslHueF(), newColor.hslSaturationF(), std::clamp( point.y(),… in plotMouseMove()
454 …newColor = QColor::fromHslF( newColor.hslHueF(), std::clamp( point.y(), qreal( 0.0 ), qreal( 1.0 )… in plotMouseMove()
456 …newColor = QColor::fromHslF( newColor.hslHueF(), newColor.hslSaturationF(), newColor.lightnessF(),… in plotMouseMove()
/dports/graphics/krita/krita-4.4.8/libs/ui/canvas/
H A Dkis_display_color_converter.h85 KoColor fromHslF(qreal h, qreal s, qreal l, qreal a = 1.0);
/dports/net-im/chatterino2/chatterino2-2.3.4/src/singletons/
H A DTheme.cpp38 return QColor::fromHslF(h, s, ((l - 0.5) * multiplier) + 0.5, a); in actuallyUpdate()
/dports/deskutils/flameshot/flameshot-0.10.2/src/widgets/capture/
H A Dcolorpicker.cpp93 QColor color = QColor::fromHslF(h, 0.95, 0.5); in paintEvent()
/dports/x11-themes/qgnomeplatform/QGnomePlatform-0.6.1-8-g53d7924/decoration/
H A Dqgnomeplatformdecoration.cpp72 return QColor::fromHslF(h, s, l, alpha); in transparentize()
84 return QColor::fromHslF(h, s, lightness, a); in darken()
95 return QColor::fromHslF(h, saturation, l, a); in desaturate()
/dports/graphics/krita/krita-4.4.8/plugins/dockers/artisticcolorselector/
H A Dkis_color.cpp124 color = m_colorConverter->fromHslF(m_hue, m_saturation, m_value); in toKoColor()

123456