Graphics/ZoomDialog.py

changeset 1131
7781e396c903
parent 945
8cd4d08fa9f6
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
22 22
23 @param zoom zoom factor to show in the spinbox (float) 23 @param zoom zoom factor to show in the spinbox (float)
24 @param parent parent widget of this dialog (QWidget) 24 @param parent parent widget of this dialog (QWidget)
25 @param name name of this dialog (string) 25 @param name name of this dialog (string)
26 """ 26 """
27 QDialog.__init__(self, parent) 27 super().__init__(parent)
28 if name: 28 if name:
29 self.setObjectName(name) 29 self.setObjectName(name)
30 else: 30 else:
31 self.setObjectName("ZoomDialog") 31 self.setObjectName("ZoomDialog")
32 self.setupUi(self) 32 self.setupUi(self)

eric ide

mercurial