editor: use Qt for endian-conversions