How can I align a button at the bottom right in pyqt?
Use:
self.verticalLayout.addWidget(your_button, alignment=QtCore.Qt.AlignRight)
You can also use the binary or operator to combine multiple alignment rules if necessary.
self.verticalLayout.addWidget(your_button, alignment=QtCore.Qt.AlignRight | QtCore.Qt.AlignBottom)