27 self.__layout = QVBoxLayout(self) |
27 self.__layout = QVBoxLayout(self) |
28 self.__layout.setContentsMargins(0, 0, 0, 0) |
28 self.__layout.setContentsMargins(0, 0, 0, 0) |
29 self.__layout.setSpacing(0) |
29 self.__layout.setSpacing(0) |
30 |
30 |
31 self.setLayout(self.__layout) |
31 self.setLayout(self.__layout) |
32 self.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Maximum) |
32 self.setSizePolicy(QSizePolicy.Policy.Preferred, |
|
33 QSizePolicy.Policy.Maximum) |
33 |
34 |
34 def addWidget(self, widget): |
35 def addWidget(self, widget): |
35 """ |
36 """ |
36 Public method to add a widget to the container. |
37 Public method to add a widget to the container. |
37 |
38 |