qt gui: Merge updates for QHexView and adapt source code for that