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