Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

changeset 3345
071afe8be2a1
parent 3213
95fbeca03619
child 3484
645c12de6b0c
equal deleted inserted replaced
3343:f7a6d271bb40 3345:071afe8be2a1
792 size = self.cw.size() 792 size = self.cw.size()
793 self.__layout.addWidget(self.cw) 793 self.__layout.addWidget(self.cw)
794 self.resize(size) 794 self.resize(size)
795 self.setWindowTitle(self.cw.windowTitle()) 795 self.setWindowTitle(self.cw.windowTitle())
796 796
797 self.cw.buttonBox.accepted[()].connect(self.accept) 797 self.cw.buttonBox.accepted.connect(self.accept)
798 self.cw.buttonBox.rejected[()].connect(self.reject) 798 self.cw.buttonBox.rejected.connect(self.reject)
799 799
800 def getCode(self, indLevel, indString): 800 def getCode(self, indLevel, indString):
801 """ 801 """
802 Public method to get the source code. 802 Public method to get the source code.
803 803
840 self.setWindowTitle(self.cw.windowTitle()) 840 self.setWindowTitle(self.cw.windowTitle())
841 841
842 self.setStyle( 842 self.setStyle(
843 Preferences.getUI("Style"), Preferences.getUI("StyleSheet")) 843 Preferences.getUI("Style"), Preferences.getUI("StyleSheet"))
844 844
845 self.cw.buttonBox.accepted[()].connect(self.close) 845 self.cw.buttonBox.accepted.connect(self.close)
846 self.cw.buttonBox.rejected[()].connect(self.close) 846 self.cw.buttonBox.rejected.connect(self.close)
847 847
848 def closeEvent(self, evt): 848 def closeEvent(self, evt):
849 """ 849 """
850 Protected method handling the close event. 850 Protected method handling the close event.
851 851

eric ide

mercurial