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
@ -88,3 +88,6 @@
|
|||||||
- Replaced old relational algebra to python compiler with new one based on the new tokenizer/parser (Rev 188)
|
- 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)
|
- 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>
|
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
import sip
|
import sip
|
||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
from relational_gui import maingui, about
|
from relational_gui import maingui, about
|
||||||
from relational import relation, parser
|
from relational import relation, parser
|
||||||
|
|
||||||
version="0.10"
|
version="0.11"
|
||||||
about.version=version
|
about.version=version
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
@ -42,7 +43,8 @@ if __name__ == "__main__":
|
|||||||
app = QtGui.QApplication(sys.argv)
|
app = QtGui.QApplication(sys.argv)
|
||||||
Form = QtGui.QWidget()
|
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 = maingui.Ui_Form()
|
||||||
ui.setupUi(Form)
|
ui.setupUi(Form)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user