def on_current_color_changed(self, qcolor):
        d = self.declaration
        if d is not None:
            self._guard |= CURRENT_GUARD
            try:
                d.current_color = color_from_qcolor(qcolor)
            finally:
                self._guard &= ~CURRENT_GUARD
Handle the 'currentColorChanged' signal from the widget.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/qt_color_dialog.py/QtColorDialog.on_current_color_changed