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