Found the answer !

It is the usage of overloaded function addWidget that lets you put Orientation as the third parameter.