Do all color conversion in one place, reuse MPL methods
Test for QString, not QObject
Default to black if entered color is invalid
Update color button upon leaving lineedit, not while editing it
Clean up Qt objects from namespace
Merge pull request #2275 from mspacek/edit_color

Fix Qt4 figure editor color setting and getting