18 """ |
18 """ |
19 def __init__(self, w, h, minW, minH, parent=None, name=None): |
19 def __init__(self, w, h, minW, minH, parent=None, name=None): |
20 """ |
20 """ |
21 Constructor |
21 Constructor |
22 |
22 |
23 @param w current width of scene (integer) |
23 @param w current width of scene |
24 @param h current height of scene (integer) |
24 @type int |
25 @param minW minimum width allowed (integer) |
25 @param h current height of scene |
26 @param minH minimum height allowed (integer) |
26 @type int |
27 @param parent parent widget of this dialog (QWidget) |
27 @param minW minimum width allowed |
28 @param name name of this widget (string) |
28 @type int |
|
29 @param minH minimum height allowed |
|
30 @type int |
|
31 @param parent parent widget of this dialog |
|
32 @type QWidget |
|
33 @param name name of this widget |
|
34 @type str |
29 """ |
35 """ |
30 super().__init__(parent) |
36 super().__init__(parent) |
31 if name: |
37 if name: |
32 self.setObjectName(name) |
38 self.setObjectName(name) |
33 self.setupUi(self) |
39 self.setupUi(self) |