/*
define QHash<QByteArray, QColor> m_rgbcolors from svgImport class
*/

#define SETRGBCOLORS() \
	m_rgbcolors["aliceblue"] = QColor ( 240, 248, 255 ); \
	m_rgbcolors[ "antiquewhite" ] = QColor ( 250, 235, 215); \
	m_rgbcolors[ "aqua" ] = QColor ( 0, 255, 255); \
	m_rgbcolors[ "aquamarine" ] = QColor ( 127, 255, 212 ); \
	m_rgbcolors[ "azure" ] = QColor ( 240, 255, 255 ); \
	m_rgbcolors[ "beige" ] = QColor ( 245, 245, 220 ); \
	m_rgbcolors[ "bisque" ] = QColor ( 255, 228, 196 ); \
	m_rgbcolors[ "black" ] = QColor ( 0, 0, 0 ); \
	m_rgbcolors[ "blanchedalmond" ] = QColor ( 255, 235, 205 ); \
	m_rgbcolors[ "blue" ] = QColor ( 0, 0, 255 ); \
	m_rgbcolors[ "blueviolet" ] = QColor ( 138, 43, 226 ); \
	m_rgbcolors[ "brown" ] = QColor ( 165, 42, 42 ); \
	m_rgbcolors[ "burlywood" ] = QColor ( 222, 184, 135 ); \
	m_rgbcolors[ "cadetblue" ] = QColor ( 95, 158, 160 ); \
	m_rgbcolors[ "chartreuse" ] = QColor ( 127, 255, 0 ); \
	m_rgbcolors[ "chocolate" ] = QColor ( 210, 105, 30 ); \
	m_rgbcolors[ "coral" ] = QColor ( 255, 127, 80 ); \
	m_rgbcolors[ "cornflowerblue" ] = QColor ( 100, 149, 237 ); \
	m_rgbcolors[ "cornsilk" ] = QColor ( 255, 248, 220 ); \
	m_rgbcolors[ "crimson" ] = QColor ( 220, 20, 60 ); \
	m_rgbcolors[ "cyan" ] = QColor ( 0, 255, 255 ); \
	m_rgbcolors[ "darkblue" ] = QColor ( 0, 0, 139 ); \
	m_rgbcolors[ "darkcyan" ] = QColor ( 0, 139, 139 ); \
	m_rgbcolors[ "darkgoldenrod" ] = QColor ( 184, 134, 11 ); \
	m_rgbcolors[ "darkgray" ] = QColor ( 169, 169, 169 ); \
	m_rgbcolors[ "darkgrey" ] = QColor ( 169, 169, 169 ); \
	m_rgbcolors[ "darkgreen" ] = QColor ( 0, 100, 0 ); \
	m_rgbcolors[ "darkkhaki" ] = QColor ( 189, 183, 107 ); \
	m_rgbcolors[ "darkmagenta" ] = QColor ( 139, 0, 139 ); \
	m_rgbcolors[ "darkolivegreen" ] = QColor ( 85, 107, 47 ); \
	m_rgbcolors[ "darkorange" ] = QColor ( 255, 140, 0 ); \
	m_rgbcolors[ "darkorchid" ] = QColor ( 153, 50, 204 ); \
	m_rgbcolors[ "darkred" ] = QColor ( 139, 0, 0 ); \
	m_rgbcolors[ "darksalmon" ] = QColor ( 233, 150, 122 ); \
	m_rgbcolors[ "darkseagreen" ] = QColor ( 143, 188, 143 ); \
	m_rgbcolors[ "darkslateblue" ] = QColor ( 72, 61, 139 ); \
	m_rgbcolors[ "darkslategray" ] = QColor ( 47, 79, 79 ); \
	m_rgbcolors[ "darkslategrey" ] = QColor ( 47, 79, 79 ); \
	m_rgbcolors[ "darkturquoise" ] = QColor ( 0, 206, 209 ); \
	m_rgbcolors[ "darkviolet" ] = QColor ( 148, 0, 211 ); \
	m_rgbcolors[ "deeppink" ] = QColor ( 255, 20, 147 ); \
	m_rgbcolors[ "deepskyblue" ] = QColor ( 0, 191, 255 ); \
	m_rgbcolors[ "dimgray" ] = QColor ( 105, 105, 105 ); \
	m_rgbcolors[ "dimgrey" ] = QColor ( 105, 105, 105 ); \
	m_rgbcolors[ "dodgerblue" ] = QColor ( 30, 144, 255 ); \
	m_rgbcolors[ "firebrick" ] = QColor ( 178, 34, 34 ); \
	m_rgbcolors[ "floralwhite" ] = QColor ( 255, 250, 240 ); \
	m_rgbcolors[ "forestgreen" ] = QColor ( 34, 139, 34 ); \
	m_rgbcolors[ "fuchsia" ] = QColor ( 255, 0, 255 ); \
	m_rgbcolors[ "gainsboro" ] = QColor ( 220, 220, 220 ); \
	m_rgbcolors[ "ghostwhite" ] = QColor ( 248, 248, 255 ); \
	m_rgbcolors[ "gold" ] = QColor ( 255, 215, 0 ); \
	m_rgbcolors[ "goldenrod" ] = QColor ( 218, 165, 32 ); \
	m_rgbcolors[ "gray" ] = QColor ( 128, 128, 128 ); \
	m_rgbcolors[ "grey" ] = QColor ( 128, 128, 128 ); \
	m_rgbcolors[ "green" ] = QColor ( 0, 128, 0 ); \
	m_rgbcolors[ "greenyellow" ] = QColor ( 173, 255, 47 ); \
	m_rgbcolors[ "honeydew" ] = QColor ( 240, 255, 240 ); \
	m_rgbcolors[ "hotpink" ] = QColor ( 255, 105, 180 ); \
	m_rgbcolors[ "indianred" ] = QColor ( 205, 92, 92 ); \
	m_rgbcolors[ "indigo" ] = QColor ( 75, 0, 130 ); \
	m_rgbcolors[ "ivory" ] = QColor ( 255, 255, 240 ); \
	m_rgbcolors[ "khaki" ] = QColor ( 240, 230, 140 ); \
	m_rgbcolors[ "lavender" ] = QColor ( 230, 230, 250 ); \
	m_rgbcolors[ "lavenderblush" ] = QColor ( 255, 240, 245 ); \
	m_rgbcolors[ "lawngreen" ] = QColor ( 124, 252, 0 ); \
	m_rgbcolors[ "lemonchiffon" ] = QColor ( 255, 250, 205 ); \
	m_rgbcolors[ "lightblue" ] = QColor ( 173, 216, 230 ); \
	m_rgbcolors[ "lightcoral" ] = QColor ( 240, 128, 128 ); \
	m_rgbcolors[ "lightcyan" ] = QColor ( 224, 255, 255 ); \
	m_rgbcolors[ "lightgoldenrodyellow" ] = QColor ( 250, 250, 210 ); \
	m_rgbcolors[ "lightgray" ] = QColor ( 211, 211, 211 ); \
	m_rgbcolors[ "lightgrey" ] = QColor ( 211, 211, 211 ); \
	m_rgbcolors[ "lightgreen" ] = QColor ( 144, 238, 144 ); \
	m_rgbcolors[ "lightpink" ] = QColor ( 255, 182, 193 ); \
	m_rgbcolors[ "lightsalmon" ] = QColor ( 255, 160, 122 ); \
	m_rgbcolors[ "lightseagreen" ] = QColor ( 32, 178, 170 ); \
	m_rgbcolors[ "lightskyblue" ] = QColor ( 135, 206, 250 ); \
	m_rgbcolors[ "lightslategray" ] = QColor ( 119, 136, 153 ); \
	m_rgbcolors[ "lightslategrey" ] = QColor ( 119, 136, 153 ); \
	m_rgbcolors[ "lightsteelblue" ] = QColor ( 176, 196, 222 ); \
	m_rgbcolors[ "lightyellow" ] = QColor ( 255, 255, 224 ); \
	m_rgbcolors[ "lime" ] = QColor ( 0, 255, 0 ); \
	m_rgbcolors[ "limegreen" ] = QColor ( 50, 205, 50 ); \
	m_rgbcolors[ "linen" ] = QColor ( 250, 240, 230 ); \
	m_rgbcolors[ "magenta" ] = QColor ( 255, 0, 255 ); \
	m_rgbcolors[ "maroon" ] = QColor ( 128, 0, 0 ); \
	m_rgbcolors[ "mediumaquamarine" ] = QColor ( 102, 205, 170 ); \
	m_rgbcolors[ "mediumblue" ] = QColor ( 0, 0, 205 ); \
	m_rgbcolors[ "mediumorchid" ] = QColor ( 186, 85, 211 ); \
	m_rgbcolors[ "mediumpurple" ] = QColor ( 147, 112, 219 ); \
	m_rgbcolors[ "mediumseagreen" ] = QColor ( 60, 179, 113 ); \
	m_rgbcolors[ "mediumslateblue" ] = QColor ( 123, 104, 238 ); \
	m_rgbcolors[ "mediumspringgreen" ] = QColor ( 0, 250, 154 ); \
	m_rgbcolors[ "mediumturquoise" ] = QColor ( 72, 209, 204 ); \
	m_rgbcolors[ "mediumvioletred" ] = QColor ( 199, 21, 133 ); \
	m_rgbcolors[ "midnightblue" ] = QColor ( 25, 25, 112 ); \
	m_rgbcolors[ "mintcream" ] = QColor ( 245, 255, 250 ); \
	m_rgbcolors[ "mistyrose" ] = QColor ( 255, 228, 225 ); \
	m_rgbcolors[ "moccasin" ] = QColor ( 255, 228, 181 ); \
	m_rgbcolors[ "navajowhite" ] = QColor ( 255, 222, 173 ); \
	m_rgbcolors[ "navy" ] = QColor ( 0, 0, 128 ); \
	m_rgbcolors[ "oldlace" ] = QColor ( 253, 245, 230 ); \
	m_rgbcolors[ "olive" ] = QColor ( 128, 128, 0 ); \
	m_rgbcolors[ "olivedrab" ] = QColor ( 107, 142, 35 ); \
	m_rgbcolors[ "orange" ] = QColor ( 255, 165, 0 ); \
	m_rgbcolors[ "orangered" ] = QColor ( 255, 69, 0 ); \
	m_rgbcolors[ "orchid" ] = QColor ( 218, 112, 214 ); \
	m_rgbcolors[ "palegoldenrod" ] = QColor ( 238, 232, 170 ); \
	m_rgbcolors[ "palegreen" ] = QColor ( 152, 251, 152 ); \
	m_rgbcolors[ "paleturquoise" ] = QColor ( 175, 238, 238 ); \
	m_rgbcolors[ "palevioletred" ] = QColor ( 219, 112, 147 ); \
	m_rgbcolors[ "papayawhip" ] = QColor ( 255, 239, 213 ); \
	m_rgbcolors[ "peachpuff" ] = QColor ( 255, 218, 185 ); \
	m_rgbcolors[ "peru" ] = QColor ( 205, 133, 63 ); \
	m_rgbcolors[ "pink" ] = QColor ( 255, 192, 203 ); \
	m_rgbcolors[ "plum" ] = QColor ( 221, 160, 221 ); \
	m_rgbcolors[ "powderblue" ] = QColor ( 176, 224, 230 ); \
	m_rgbcolors[ "purple" ] = QColor ( 128, 0, 128 ); \
	m_rgbcolors[ "red" ] = QColor ( 255, 0, 0 ); \
	m_rgbcolors[ "rosybrown" ] = QColor ( 188, 143, 143 ); \
	m_rgbcolors[ "royalblue" ] = QColor ( 65, 105, 225 ); \
	m_rgbcolors[ "saddlebrown" ] = QColor ( 139, 69, 19 ); \
	m_rgbcolors[ "salmon" ] = QColor ( 250, 128, 114 ); \
	m_rgbcolors[ "sandybrown" ] = QColor ( 244, 164, 96 ); \
	m_rgbcolors[ "seagreen" ] = QColor ( 46, 139, 87 ); \
	m_rgbcolors[ "seashell" ] = QColor ( 255, 245, 238 ); \
	m_rgbcolors[ "sienna" ] = QColor ( 160, 82, 45 ); \
	m_rgbcolors[ "silver" ] = QColor ( 192, 192, 192 ); \
	m_rgbcolors[ "skyblue" ] = QColor ( 135, 206, 235 ); \
	m_rgbcolors[ "slateblue" ] = QColor ( 106, 90, 205 ); \
	m_rgbcolors[ "slategray" ] = QColor ( 112, 128, 144 ); \
	m_rgbcolors[ "slategrey" ] = QColor ( 112, 128, 144 ); \
	m_rgbcolors[ "snow" ] = QColor ( 255, 250, 250 ); \
	m_rgbcolors[ "springgreen" ] = QColor ( 0, 255, 127 ); \
	m_rgbcolors[ "steelblue" ] = QColor ( 70, 130, 180 ); \
	m_rgbcolors[ "tan" ] = QColor ( 210, 180, 140 ); \
	m_rgbcolors[ "teal" ] = QColor ( 0, 128, 128 ); \
	m_rgbcolors[ "thistle" ] = QColor ( 216, 191, 216 ); \
	m_rgbcolors[ "tomato" ] = QColor ( 255, 99, 71 ); \
	m_rgbcolors[ "turquoise" ] = QColor ( 64, 224, 208 ); \
	m_rgbcolors[ "violet" ] = QColor ( 238, 130, 238 ); \
	m_rgbcolors[ "wheat" ] = QColor ( 245, 222, 179 ); \
	m_rgbcolors[ "white" ] = QColor ( 255, 255, 255 ); \
	m_rgbcolors[ "whitesmoke" ] = QColor ( 245, 245, 245 ); \
	m_rgbcolors[ "yellow" ] = QColor ( 255, 255, 0 ); \
	m_rgbcolors[ "yellowgreen" ] = QColor ( 154, 205, 50 );
