MCPcopy Create free account
hub / github.com/IJHack/QtPass / progressIndicatorSetColor

Method progressIndicatorSetColor

tests/auto/ui/tst_ui.cpp:448–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446}
447
448void tst_ui::progressIndicatorSetColor() {
449 QProgressIndicator indicator;
450 QColor red(Qt::red);
451 indicator.setColor(red);
452 QCOMPARE(indicator.color(), red);
453 indicator.setColor(QColor());
454 QVERIFY(!indicator.color().isValid());
455}
456
457void tst_ui::progressIndicatorSizeHint() {
458 QProgressIndicator indicator;

Callers

nothing calls this directly

Calls 3

setColorMethod · 0.80
colorMethod · 0.80
isValidMethod · 0.80

Tested by

no test coverage detected