RefactoringRope/ExtractDialog.py

branch
server_client_variant
changeset 203
c38750e1bafd
parent 189
2711fdd91925
child 204
b4bf79b956bc
equal deleted inserted replaced
202:a111134b5dc7 203:c38750e1bafd
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt5.QtCore import pyqtSlot 12 from PyQt5.QtCore import pyqtSlot
13 from PyQt5.QtWidgets import QDialogButtonBox, QAbstractButton 13 from PyQt5.QtWidgets import QDialogButtonBox, QAbstractButton
14 14
15 from Ui_ExtractDialog import Ui_ExtractDialog 15 from .Ui_ExtractDialog import Ui_ExtractDialog
16 from RefactoringDialogBase import RefactoringDialogBase 16 from .RefactoringDialogBase import RefactoringDialogBase
17 17
18 18
19 class ExtractDialog(RefactoringDialogBase, Ui_ExtractDialog): 19 class ExtractDialog(RefactoringDialogBase, Ui_ExtractDialog):
20 """ 20 """
21 Class implementing the Extract dialog. 21 Class implementing the Extract dialog.
33 @type str 33 @type str
34 @param startOffset offset within file to start extraction 34 @param startOffset offset within file to start extraction
35 @type int 35 @type int
36 @param endOffset offset within file to end extraction 36 @param endOffset offset within file to end extraction
37 @type int 37 @type int
38 @param extractionType type of extraction to be performed
39 @type str
38 @param parent reference to the parent widget 40 @param parent reference to the parent widget
39 @type QWidget 41 @type QWidget
40 """ 42 """
41 RefactoringDialogBase.__init__(self, refactoring, title, parent) 43 RefactoringDialogBase.__init__(self, refactoring, title, parent)
42 self.setupUi(self) 44 self.setupUi(self)
90 "ChangeGroup": self._changeGroupName, 92 "ChangeGroup": self._changeGroupName,
91 "Title": self._title, 93 "Title": self._title,
92 "FileName": self.__filename, 94 "FileName": self.__filename,
93 "StartOffset": self.__startOffset, 95 "StartOffset": self.__startOffset,
94 "EndOffset": self.__endOffset, 96 "EndOffset": self.__endOffset,
95 "Kind": self.__extractionType, 97 "Kind": self.__extractionType,
96 "NewName": self.newNameEdit.text(), 98 "NewName": self.newNameEdit.text(),
97 "Similar": self.similarCheckBox.isChecked(), 99 "Similar": self.similarCheckBox.isChecked(),
98 "Global": self.globalCheckBox.isChecked(), 100 "Global": self.globalCheckBox.isChecked(),
99 }) 101 })

eric ide

mercurial