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

minor

parent f9b1163d
...@@ -84,14 +84,10 @@ class CreatePointings(Ui_FormCreatePoinings): ...@@ -84,14 +84,10 @@ class CreatePointings(Ui_FormCreatePoinings):
f.flush() f.flush()
logger.debug('End createPointings') logger.debug('End createPointings')
f.close() f.close()
if __name__ == '__main__': if __name__ == '__main__':
app = QApplication(sys.argv) app = QApplication(sys.argv)
formCreatePointings = QWidget() formCreatePointings = QWidget()
myForm = CreatePointings(formCreatePointings) myForm = CreatePointings(formCreatePointings)
formCreatePointings.show() formCreatePointings.show()
myList = myForm.createPointings()
myForm.writePointings()
sys.exit(app.exec_()) sys.exit(app.exec_())
...@@ -51,7 +51,7 @@ class Ui_FormCreatePoinings(object): ...@@ -51,7 +51,7 @@ class Ui_FormCreatePoinings(object):
self.label_3.setObjectName("label_3") self.label_3.setObjectName("label_3")
self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1) self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1)
self.buttonBoxCreatePointings = QtWidgets.QDialogButtonBox(self.layoutWidget) 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.buttonBoxCreatePointings.setObjectName("buttonBoxCreatePointings")
self.gridLayout.addWidget(self.buttonBoxCreatePointings, 6, 1, 1, 1) self.gridLayout.addWidget(self.buttonBoxCreatePointings, 6, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.layoutWidget) self.label_9 = QtWidgets.QLabel(self.layoutWidget)
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<item row="6" column="1"> <item row="6" column="1">
<widget class="QDialogButtonBox" name="buttonBoxCreatePointings"> <widget class="QDialogButtonBox" name="buttonBoxCreatePointings">
<property name="standardButtons"> <property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set>
</property> </property>
</widget> </widget>
</item> </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