Commit 19bef4e3 authored by marc's avatar marc
Browse files

minor

parent f9b1163d
......@@ -84,14 +84,10 @@ class CreatePointings(Ui_FormCreatePoinings):
f.flush()
logger.debug('End createPointings')
f.close()
if __name__ == '__main__':
app = QApplication(sys.argv)
formCreatePointings = QWidget()
myForm = CreatePointings(formCreatePointings)
formCreatePointings.show()
myList = myForm.createPointings()
myForm.writePointings()
sys.exit(app.exec_())
......@@ -51,7 +51,7 @@ class Ui_FormCreatePoinings(object):
self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
self.buttonBoxCreatePointings = QtWidgets.QDialogButtonBox(self.layoutWidget)
self.buttonBoxCreatePointings.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonBoxCreatePointings.setStandardButtons(QtWidgets.QDialogButtonBox.Close|QtWidgets.QDialogButtonBox.Ok)
self.buttonBoxCreatePointings.setObjectName("buttonBoxCreatePointings")
self.gridLayout.addWidget(self.buttonBoxCreatePointings, 6, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.layoutWidget)
......
......@@ -120,7 +120,7 @@
<item row="6" column="1">
<widget class="QDialogButtonBox" name="buttonBoxCreatePointings">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment