19 |
19 |
20 def __init__(self, width, height, parent=None): |
20 def __init__(self, width, height, parent=None): |
21 """ |
21 """ |
22 Constructor |
22 Constructor |
23 |
23 |
24 @param width width to be set (integer) |
24 @param width width to be set |
25 @param height height to be set (integer) |
25 @type int |
26 @param parent reference to the parent widget (QWidget) |
26 @param height height to be set |
|
27 @type int |
|
28 @param parent reference to the parent widget |
|
29 @type QWidget |
27 """ |
30 """ |
28 super().__init__(parent) |
31 super().__init__(parent) |
29 self.setupUi(self) |
32 self.setupUi(self) |
30 |
33 |
31 self.widthSpin.setValue(width) |
34 self.widthSpin.setValue(width) |