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) |