| 43 | IntrinsicEdPropertyEditorColor::~IntrinsicEdPropertyEditorColor() {} |
| 44 | |
| 45 | void IntrinsicEdPropertyEditorColor::onPickColor() |
| 46 | { |
| 47 | QColor color = QColorDialog::getColor(_ui.color->palette().button().color()); |
| 48 | _ui.x->setValue(color.redF()); |
| 49 | _ui.y->setValue(color.greenF()); |
| 50 | _ui.z->setValue(color.blueF()); |
| 51 | _ui.w->setValue(color.alphaF()); |
| 52 | updateColor(); |
| 53 | } |
| 54 | |
| 55 | void IntrinsicEdPropertyEditorColor::updateColor() |
| 56 | { |
nothing calls this directly
no outgoing calls
no test coverage detected