| 53 | } |
| 54 | |
| 55 | void IntrinsicEdPropertyEditorColor::updateColor() |
| 56 | { |
| 57 | QPalette palette = _ui.color->palette(); |
| 58 | palette.setColor(QPalette::Button, |
| 59 | QColor(_ui.x->value() * 255.0f, _ui.y->value() * 255.0f, |
| 60 | _ui.z->value() * 255.0f, _ui.w->value() * 255.0f)); |
| 61 | _ui.color->setPalette(palette); |
| 62 | } |
| 63 | |
| 64 | void IntrinsicEdPropertyEditorColor::updateFromProperty() |
| 65 | { |
nothing calls this directly
no outgoing calls
no test coverage detected