I just wanted to locate the splitter so that all the table columns are visible.
I tried using QSplitter::setSizes() with the table width but it wasn't updated right after creation.
I solved it by overriding the table's resizeEvent() and emitting a signal to the parent widget