714 super().__init__(parent) |
714 super().__init__(parent) |
715 self.setModal(fromEric) |
715 self.setModal(fromEric) |
716 self.setSizeGripEnabled(True) |
716 self.setSizeGripEnabled(True) |
717 |
717 |
718 self.__layout = QVBoxLayout(self) |
718 self.__layout = QVBoxLayout(self) |
719 self.__layout.setMargin(0) |
719 self.__layout.setContentsMargins(0, 0, 0, 0) |
720 self.setLayout(self.__layout) |
720 self.setLayout(self.__layout) |
721 |
721 |
722 self.cw = QRegularExpressionWizardWidget(self, fromEric) |
722 self.cw = QRegularExpressionWizardWidget(self, fromEric) |
723 size = self.cw.size() |
723 size = self.cw.size() |
724 self.__layout.addWidget(self.cw) |
724 self.__layout.addWidget(self.cw) |