Translations:Macro HilbertCurve/44/en

okButton = QtGui.QPushButton("OK") # Ok and Cancel Buttons at right bottom okButton.clicked.connect(self.onOkButton) cancelButton = QtGui.QPushButton("Cancel") cancelButton.clicked.connect(self.onCancelButton) buttonBox = QtGui.QHBoxLayout buttonBox.addStretch buttonBox.addWidget(okButton) buttonBox.addWidget(cancelButton)