개정판 59e764f3
issue #655: box opacity
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
237 | 237 |
|
238 | 238 |
if not ctypes.windll.shell32.IsUserAnAdmin(): |
239 | 239 |
reply = QMessageBox.information(self, 'Error', '관리자 권한으로 실행해 주세요.') |
240 |
return |
|
240 |
#return
|
|
241 | 241 |
|
242 | 242 |
try: |
243 | 243 |
dialog = QTrainingImageListDialog(self) |
DTI_PID/DTI_PID/TrainingEditorDialog.py | ||
---|---|---|
69 | 69 |
pen.setWidthF(1) |
70 | 70 |
pen.setJoinStyle(Qt.MiterJoin) |
71 | 71 |
rect.setPen(pen) |
72 |
rect.setOpacity(0.7) |
|
72 | 73 |
self.graphicsViewZoomDrawing.scene().addItem(rect) |
73 | 74 |
|
74 | 75 |
except Exception as ex: |
내보내기 Unified diff