647 super().__init__(parent) |
647 super().__init__(parent) |
648 self.setModal(fromEric) |
648 self.setModal(fromEric) |
649 self.setSizeGripEnabled(True) |
649 self.setSizeGripEnabled(True) |
650 |
650 |
651 self.__layout = QVBoxLayout(self) |
651 self.__layout = QVBoxLayout(self) |
652 self.__layout.setMargin(0) |
652 self.__layout.setContentsMargins(0, 0, 0, 0) |
653 self.setLayout(self.__layout) |
653 self.setLayout(self.__layout) |
654 |
654 |
655 self.cw = PyRegExpWizardWidget(self, fromEric) |
655 self.cw = PyRegExpWizardWidget(self, fromEric) |
656 size = self.cw.size() |
656 size = self.cw.size() |
657 self.__layout.addWidget(self.cw) |
657 self.__layout.addWidget(self.cw) |