I have a QGridLayout to handle my widgets. The fact is they stay in the column I put them, without expanding on the whole width. Is there any option to tell the rows to expand completely ? The goal would be to mimic the behavior of a QHBoxLayout, but without using one.
Example:
self.label_player = QtGui.QLabel("Chemin du lecteur :")
self.line_path = QtGui.QLineEdit()
self.button_select_player = QtGui.QPushButton("Sélectionner")
...Some code
self.grid_settings.addWidget(self.label_player, 3, 0, 2, 1)
self.grid_settings.addWidget(self.line_path, 3, 1, 1, 1)
self.grid_settings.addWidget(self.button_select_player, 3, 2, 1, 1)
EDIT:
Here is an image of what I want, I obtained the result with a QHBoxLayout in the QGridLayout, for the line in red (what I try to do without):
http://i.imgur.com/HNNhJlp.png
And here is one with the default behavior of the QGridLayout. It's what I currently have: