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') app.setApplicationName('relational')
ui = maingui.Ui_MainWindow() 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': ui.setupUi(form)
Form.setFont(QtGui.QFont("Dejavu Sans Bold")) form.restore_settings()
ui.setupUi(Form)
Form.restore_settings()
for i in range(len(files)): for i in range(len(files)):
if not os.path.isfile(files[i]): if not os.path.isfile(files[i]):
@ -119,9 +118,9 @@ if __name__ == "__main__":
if defname.endswith(".csv"): # removes the extension if defname.endswith(".csv"): # removes the extension
defname = defname[:-4] defname = defname[:-4]
print ('Loading file "%s" with name "%s"' % (files[i], defname)) 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_()) sys.exit(app.exec_())
else: else:
printver(False) printver(False)

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'relational_gui/rel_edit.ui' # 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 # by: PyQt5 UI code generator 5.3.2
# #
# WARNING! All changes made in this file will be lost! # 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' # 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 # by: PyQt5 UI code generator 5.3.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!