ISAT_with_sam/sam_ann/widgets/shortcut_dialog.py
2023-09-11 15:45:31 +08:00

11 lines
366 B
Python

# -*- coding: utf-8 -*-
# @Author : LG
from sam_ann.ui.shortcut_dialog import Ui_Dialog
from PyQt5 import QtGui, QtCore, QtWidgets
class ShortcutDialog(QtWidgets.QDialog, Ui_Dialog):
def __init__(self, parent):
super(ShortcutDialog, self).__init__(parent)
self.setupUi(self)
self.setWindowModality(QtCore.Qt.WindowModality.WindowModal)