Font is set only on windows
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@206 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
0b5b867d51
commit
4b6960b7be
@ -87,4 +87,7 @@
|
||||
- Implemented swap_rename_projection general optimization
|
||||
- Replaced old relational algebra to python compiler with new one based on the new tokenizer/parser (Rev 188)
|
||||
- Code refactory to move the new parser into parser.py out of optimizer.py, that will still be compatible (Rev 190)
|
||||
- Selection can now accept expressions with parenthesis
|
||||
- Selection can now accept expressions with parenthesis
|
||||
|
||||
0.11
|
||||
- Font is set only on windows
|
@ -20,12 +20,13 @@
|
||||
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
||||
|
||||
import sys
|
||||
import os
|
||||
import sip
|
||||
from PyQt4 import QtCore, QtGui
|
||||
from relational_gui import maingui, about
|
||||
from relational import relation, parser
|
||||
|
||||
version="0.10"
|
||||
version="0.11"
|
||||
about.version=version
|
||||
|
||||
if __name__ == "__main__":
|
||||
@ -42,7 +43,8 @@ if __name__ == "__main__":
|
||||
app = QtGui.QApplication(sys.argv)
|
||||
Form = QtGui.QWidget()
|
||||
|
||||
Form.setFont(QtGui.QFont("Dejavu Sans Bold"))
|
||||
if os.name=='nt':
|
||||
Form.setFont(QtGui.QFont("Dejavu Sans Bold"))
|
||||
|
||||
ui = maingui.Ui_Form()
|
||||
ui.setupUi(Form)
|
||||
|
Loading…
Reference in New Issue
Block a user