Home
last modified time | relevance | path

Searched refs:fromQColor (Results 1 – 25 of 126) sorted by relevance

123456

/dports/audio/mixxx/mixxx-2.3.0/src/test/
H A Drgbcolor_test.cpp11 EXPECT_FALSE(RgbColor::fromQColor(QColor())); in TEST()
12 EXPECT_EQ(RgbColor::nullopt(), RgbColor::fromQColor(QColor())); in TEST()
16 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0x000000))); in TEST()
18 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0xFF0000))); in TEST()
20 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0x00FF00))); in TEST()
22 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0x0000FF))); in TEST()
24 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgb(0xFFFFFF))); in TEST()
29 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgba(0xAA000000))); in TEST()
31 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgba(0xAAFF0000))); in TEST()
33 EXPECT_TRUE(RgbColor::fromQColor(QColor::fromRgba(0xAA00FF00))); in TEST()
[all …]
/dports/graphics/krita/krita-4.4.8/benchmarks/
H A Dkis_floodfill_benchmark.cpp49 m_color.fromQColor(QColor(0,0,0,0)); // default pixel in initTestCase()
53 m_color.fromQColor(Qt::red); in initTestCase()
81 defaultSelected.fromQColor(QColor(255, 255, 255)); in initTestCase()
91 fg.fromQColor(Qt::blue); in benchmarkFlood()
92 bg.fromQColor(Qt::black); in benchmarkFlood()
127 fg.fromQColor(Qt::blue); in benchmarkFloodWithoutSelectionAsBoundary()
128 bg.fromQColor(Qt::black); in benchmarkFloodWithoutSelectionAsBoundary()
157 fg.fromQColor(Qt::blue); in benchmarkFloodWithSelectionAsBoundary()
158 bg.fromQColor(Qt::black); in benchmarkFloodWithSelectionAsBoundary()
H A Dkis_gradient_benchmark.cpp46 m_color.fromQColor(QColor(0,0,0,0)); // default pixel in initTestCase()
54 fg.fromQColor(Qt::blue); in benchmarkGradient()
55 bg.fromQColor(Qt::black); in benchmarkGradient()
H A Dkis_hline_iterator_benchmark.cpp38 m_color->fromQColor(QColor(0,0,250)); in initTestCase()
101 c.fromQColor(QColor(250,120,0)); in benchmarkReadWriteBytes()
124 c.fromQColor(QColor(255,0,0)); in benchmarkReadWriteBytes2()
175 c.fromQColor(QColor(250,120,0)); in benchmarkTwoIteratorsNoMemCpy()
H A Dkis_painter_benchmark.cpp67 m_color.fromQColor(Qt::red); in initTestCase()
203 color.fromQColor(Qt::white); in benchmarkDrawThickLine()
208 color.fromQColor(Qt::black); in benchmarkDrawThickLine()
228 color.fromQColor(Qt::white); in benchmarkDrawQtLine()
233 color.fromQColor(Qt::black); in benchmarkDrawQtLine()
261 color.fromQColor(Qt::white); in benchmarkDrawScanLine()
266 color.fromQColor(Qt::black); in benchmarkDrawScanLine()
H A Dkis_vline_iterator_benchmark.cpp37 m_color->fromQColor(QColor(0,120,250)); in initTestCase()
101 c.fromQColor(QColor(250,120,0)); in benchmarkReadWriteBytes()
152 c.fromQColor(QColor(250,120,0)); in benchmarkTwoIteratorsNoMemCpy()
H A Dkis_random_iterator_benchmark.cpp38 m_color->fromQColor(QColor(0,120,250)); in initTestCase()
102 c.fromQColor(QColor(250,120,0)); in benchmarkReadWriteBytes()
220 c.fromQColor(QColor(250,120,0)); in benchmarkTwoIteratorsNoMemCpy()
H A Dkis_thumbnail_benchmark.cpp56 color.fromQColor(Qt::white); in initTestCase()
61 color.fromQColor(Qt::black); in initTestCase()
/dports/editors/calligra/calligra-3.2.1/libs/pigment/tests/
H A DKoRgbU8ColorSpaceTester.cpp170 src.fromQColor(red); in testCompositeOps()
171 dst.fromQColor(blue); in testCompositeOps()
180 src.fromQColor(red); in testCompositeOps()
184 src.fromQColor(transparentRed); in testCompositeOps()
185 dst.fromQColor(blue); in testCompositeOps()
192 src.fromQColor(transparentRed); in testCompositeOps()
196 src.fromQColor(blue); in testCompositeOps()
197 dst.fromQColor(transparentRed); in testCompositeOps()
204 src.fromQColor(blue); in testCompositeOps()
H A DTestKoColor.cpp46 kc.fromQColor(qc); in testForModel()
83 kc.fromQColor(c); in testConversion()
/dports/graphics/krita/krita-4.4.8/libs/pigment/tests/
H A DKoRgbU8ColorSpaceTester.cpp210 src.fromQColor(red); in testCompositeOps()
211 dst.fromQColor(blue); in testCompositeOps()
220 src.fromQColor(red); in testCompositeOps()
224 src.fromQColor(transparentRed); in testCompositeOps()
225 dst.fromQColor(blue); in testCompositeOps()
232 src.fromQColor(transparentRed); in testCompositeOps()
236 src.fromQColor(blue); in testCompositeOps()
237 dst.fromQColor(transparentRed); in testCompositeOps()
244 src.fromQColor(blue); in testCompositeOps()
H A DTestKoColor.cpp48 kc.fromQColor(qc); in testForModel()
85 kc.fromQColor(c); in testConversion()
94 k.fromQColor(c); in testSimpleSerialization()
/dports/print/scribus-devel/scribus-1.5.7/scribus/plugins/colorwheel/
H A Dcolorwheelwidget.cpp38 col.fromQColor(c); in ColorWheel()
180 ret.fromQColor(newcol); in colorSpaceColor()
204 l.fromQColor(col.lighter()); in makeMonochromatic()
207 l.fromQColor(col.darker()); in makeMonochromatic()
323 actualColor.fromQColor(act); in recomputeColor()
/dports/graphics/krita/krita-4.4.8/libs/pigment/
H A DKoLabDarkenColorTransformation.h53 m_colorSpace->fromQColor(c,dst+i); in transform()
59 m_colorSpace->fromQColor(c,dst+i); in transform()
/dports/editors/calligra/calligra-3.2.1/libs/pigment/
H A DKoLabDarkenColorTransformation.h46 m_colorSpace->fromQColor(c,dst+i); in transform()
52 m_colorSpace->fromQColor(c,dst+i); in transform()
H A DKoColor.cpp55 d->colorSpace->fromQColor(Qt::black, d->data); in KoColor()
83 d->colorSpace->fromQColor(color, d->data); in KoColor()
197 void KoColor::fromQColor(const QColor& c) const in fromQColor() function in KoColor
200 d->colorSpace->fromQColor(c, d->data); in fromQColor()
/dports/graphics/krita/krita-4.4.8/libs/image/tests/
H A Dkis_transaction_test.cpp41 cs->fromQColor(Qt::white, pixel); in testUndo()
44 cs->fromQColor(Qt::black, pixel); in testUndo()
82 cs->fromQColor(Qt::white, pixel); in testRedo()
85 cs->fromQColor(Qt::black, pixel); in testRedo()
/dports/audio/mixxx/mixxx-2.3.0/src/util/color/
H A Drgbcolor.h85 static RgbColor::optional_t fromQColor(
120 return fromQColor(color);
202 return fromQColor(value);
/dports/graphics/krita/krita-4.4.8/plugins/impex/png/
H A Dkis_png_export.cc71 c.fromQColor(Qt::white); in convert()
111 fill_color.fromQColor(Qt::white); in defaultConfiguration()
196 background.fromQColor(Qt::white); in setConfiguration()
/dports/graphics/krita/krita-4.4.8/plugins/filters/indexcolors/
H A Dindexcolorpalette.cpp127 koclrA.fromQColor(qclrA); in insertShades()
130 koclrB.fromQColor(qclrB); in insertShades()
152 koclr.fromQColor(qclr); in insertColor()
/dports/editors/calligra/calligra-3.2.1/libs/pigment/resources/
H A DKoColorSet.cpp330 e.color.fromQColor(QColor(r, g, b)); in loadGpl()
351 e.color.fromQColor(QColor(r, g, b)); in loadAct()
386 e.color.fromQColor(QColor(r, g, b)); in loadRiff()
428 e.color.fromQColor(QColor(r, g, b)); in loadPsp()
479 e.color.fromQColor(c); in loadAco()
/dports/graphics/krita/krita-4.4.8/plugins/filters/asccdl/
H A Dkis_asccdl_filter.cpp85 black.fromQColor(QColor(Qt::black)); in defaultConfiguration()
87 white.fromQColor(QColor(Qt::white)); in defaultConfiguration()
/dports/graphics/krita/krita-4.4.8/libs/ui/
H A Dkis_canvas_controls_manager.cpp123 color.fromQColor(rgb); in transformColor()
150 color.fromQColor(rgb); in transformSaturation()
177 color.fromQColor(rgb); in transformHue()
/dports/graphics/krita/krita-4.4.8/libs/ui/dialogs/
H A Dkis_dlg_stroke_selection_properties.cpp353 color.fromQColor(Qt::black); in StrokeSelectionOptions()
354 fillColor.fromQColor(Qt::black); in StrokeSelectionOptions()
355 customColor.fromQColor(Qt::black); in StrokeSelectionOptions()
/dports/graphics/krita/krita-4.4.8/plugins/impex/jpeg/
H A Dkis_jpeg_export.cc94 c.fromQColor(Qt::white); in convert()
194 fill_color.fromQColor(Qt::white); in defaultConfiguration()
251 background.fromQColor(Qt::white); in setConfiguration()

123456