I can't remember what the changes were

master
Salvo 'LtWorf' Tomaselli 2015-03-12 10:21:01 +07:00
parent 221861be51
commit 7e1c2c964c
3 changed files with 9 additions and 10 deletions

@ -102,13 +102,12 @@ if __name__ == "__main__":
app.setApplicationName('relational')
ui = maingui.Ui_MainWindow()
Form = guihandler.relForm(ui)
form = guihandler.relForm(ui)
form.setStyleSheet("font: 12pt \"Dejavu Sans Bold\";");
#form.setFont(QtGui.QFont(""))
# if os.name=='nt':
Form.setFont(QtGui.QFont("Dejavu Sans Bold"))
ui.setupUi(Form)
Form.restore_settings()
ui.setupUi(form)
form.restore_settings()
for i in range(len(files)):
if not os.path.isfile(files[i]):
@ -119,9 +118,9 @@ if __name__ == "__main__":
if defname.endswith(".csv"): # removes the extension
defname = defname[:-4]
print ('Loading file "%s" with name "%s"' % (files[i], defname))
Form.loadRelation(files[i], defname)
form.loadRelation(files[i], defname)
Form.show()
form.show()
sys.exit(app.exec_())
else:
printver(False)

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'relational_gui/rel_edit.ui'
#
# Created: Thu Feb 19 13:07:47 2015
# Created: Mon Feb 23 15:16:57 2015
# by: PyQt5 UI code generator 5.3.2
#
# WARNING! All changes made in this file will be lost!

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'relational_gui/survey.ui'
#
# Created: Thu Feb 19 13:07:47 2015
# Created: Mon Feb 23 15:16:57 2015
# by: PyQt5 UI code generator 5.3.2
#
# WARNING! All changes made in this file will be lost!