I would like to know how to remove the vertical and horzontial headers from a QStandardItemModel object. I have couple situations where either I need the vertical header but don't want the horizontal header and vice versa.

Thanks