Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

branch
Py2 comp.
changeset 2847
1843ef6e2656
parent 2791
a9577f248f04
parent 2824
858412c29c34
child 3056
9986ec0e559a
equal deleted inserted replaced
2846:b852fe4d153a 2847:1843ef6e2656
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)

eric ide

mercurial