30 for i
in range(slotCount - 1, -1, -1):
32 if not entry.isValid():
34 d[entry.name() + str(i)] = entry
43 for i
in range(slotCount - 1, -1, -1):
45 if not entry.isValid():
47 d[entry.id() +
" " + str(i)] = entry
56 for i
in range(slotCount - 1, -1, -1):
58 if not entry.isValid():
61 color.setColorSpace(
"RGBA",
"U8",
"sRGB built-in")
62 d[color.components()[0] +
63 color.components()[1] +
64 color.components()[2]] = entry