eric6/Preferences/ShortcutDialog.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
29 29
30 @param parent The parent widget of this dialog. (QWidget) 30 @param parent The parent widget of this dialog. (QWidget)
31 @param name The name of this dialog. (string) 31 @param name The name of this dialog. (string)
32 @param modal Flag indicating a modal dialog. (boolean) 32 @param modal Flag indicating a modal dialog. (boolean)
33 """ 33 """
34 super(ShortcutDialog, self).__init__(parent) 34 super().__init__(parent)
35 if name: 35 if name:
36 self.setObjectName(name) 36 self.setObjectName(name)
37 self.setModal(modal) 37 self.setModal(modal)
38 self.setupUi(self) 38 self.setupUi(self)
39 self.setWindowFlags(Qt.WindowType.Window) 39 self.setWindowFlags(Qt.WindowType.Window)

eric ide

mercurial