개정판 6d101ba5
issue #643: fix import error
Change-Id: I1392734f7d3282b8542b07460aca96526675d0b4
DTI_PID/DTI_PID/Shapes/EngineeringTextItem.py | ||
---|---|---|
7 | 7 |
from PyQt5.QtCore import Qt, QPointF, QRectF, pyqtSignal, QObject, QT_VERSION_STR, QRect |
8 | 8 |
from PyQt5.QtGui import QImage, QPixmap, QPainterPath, QBrush, QPen, QTransform, QFont, QColor, QFontMetricsF |
9 | 9 |
from PyQt5.QtWidgets import QGraphicsView, QGraphicsScene, QFileDialog, QGraphicsItem, QAbstractGraphicsShapeItem, \ |
10 |
QGraphicsTextItem, QDialog |
|
10 |
QGraphicsTextItem, QDialog, QApplication
|
|
11 | 11 |
except ImportError: |
12 | 12 |
try: |
13 | 13 |
from PyQt4.QtCore import Qt, QRectF, pyqtSignal, QRect, QObject, QT_VERSION_STR |
내보내기 Unified diff