Index out of bounds in custom QLayout subclass

Printable View