forked from Arjav96/noteCV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
executable file
·39 lines (32 loc) · 837 Bytes
/
constants.py
File metadata and controls
executable file
·39 lines (32 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import PyQt4
from PyQt4 import QtGui, QtCore
from PyQt4.QtGui import *
from PyQt4.QtCore import *
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
<<<<<<< HEAD
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
=======
HEADFONT = 30
SUBHEADFONT = 20
PARAFONT = 15
>>>>>>> OpenCV
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
# Important Constants being used:
WIDTH = 1380
HEIGHT = 720
STARTWINDOW = (10,10)
mainTitle = 'NoteCV'
font1 = QtGui.QFont()
font1.setFamily(_fromUtf8("Sawasdee"))
font1.setPointSize(16)
font1.setBold(True)
font1.setWeight(75)