I would like to add two widgets (say QPushButton
) to the status bar, one to the left and other to the right side.
I am thinking of adding horizontal spacer in between the two widgets, but don't know how to add.
PS: I tried using addWidget()
to add to the left and addPermanentWidget()
to add to the right but it doesn't look neat and also it doesn't feel right.