blob: fb3d04c56e02787eb80d94d2b1365aa44563b650 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
from PyQt5.QtCore import Qt
import sys
# -----------
# File dialog
# -----------
if sys.platform == "darwin":
fileFormats = "UFO Fonts (*.ufo)"
else:
fileFormats = "UFO Fonts (metainfo.plist)"
# ----
# Keys
# ----
if sys.platform == "darwin":
deleteKey = Qt.Key_Backspace
else:
deleteKey = Qt.Key_Delete
|