Expression painter:painter() returns a pointer to the underlying Qt painter. Since the Qt class QPainter is neither a Qt variant not a Qt object, this pointer is represented by a Qt variant of type void*. This is not very useful in Lua.