21 # Start-Of-Header |
21 # Start-Of-Header |
22 name = "Color String Plug-in" |
22 name = "Color String Plug-in" |
23 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
23 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
24 autoactivate = True |
24 autoactivate = True |
25 deactivateable = True |
25 deactivateable = True |
26 version = "2.2.2" |
26 version = "2.2.3" |
27 className = "ColorStringPlugin" |
27 className = "ColorStringPlugin" |
28 packageName = "ColorString" |
28 packageName = "ColorString" |
29 shortDescription = "Insert color as string" |
29 shortDescription = "Insert color as string" |
30 longDescription = \ |
30 longDescription = \ |
31 """This plug-in implements a tool to select a color via a""" \ |
31 """This plug-in implements a tool to select a color via a""" \ |
375 |
375 |
376 def __isValidRgbaColor(self, color): |
376 def __isValidRgbaColor(self, color): |
377 """ |
377 """ |
378 Private method to check for a valid RGBA color. |
378 Private method to check for a valid RGBA color. |
379 |
379 |
380 @param name color string to check (string) |
380 @param color color string to check (string) |
381 @return flag indicating a valid RGBA color (boolean) and a list with |
381 @return flag indicating a valid RGBA color (boolean) and a list with |
382 the RGBA components of the color (three or four integers) |
382 the RGBA components of the color (three or four integers) |
383 """ |
383 """ |
384 rgba = [] |
384 rgba = [] |
385 |
385 |