gui/dialog.py
def select_color(message="", title="", color=None, parent=None):
    "Show a dialog to pick a color"
    result = dialogs.colorDialog(parent, color=color)
    return result.accepted and result.color
def select_color(message="", title="", color=None, parent=None):
    "Show a dialog to pick a color"
    result = dialogs.colorDialog(parent, color=color)
    return result.accepted and result.color
Show a dialog to pick a color