src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfRevisionsInputDialog.py

branch
eric7
changeset 10438
4cd7e5a8b3cf
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10437:2f70ca07f0af 10438:4cd7e5a8b3cf
20 20
21 def __init__(self, parent=None): 21 def __init__(self, parent=None):
22 """ 22 """
23 Constructor 23 Constructor
24 24
25 @param parent reference to the parent widget (QWidget) 25 @param parent reference to the parent widget
26 @type QWidget
26 """ 27 """
27 super().__init__(parent) 28 super().__init__(parent)
28 self.setupUi(self) 29 self.setupUi(self)
29 30
30 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False) 31 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False)
40 41
41 def getRevisions(self): 42 def getRevisions(self):
42 """ 43 """
43 Public method to retrieve the entered revisions. 44 Public method to retrieve the entered revisions.
44 45
45 @return list of revisions (list of string) 46 @return list of revisions
47 @rtype list of str
46 """ 48 """
47 return self.revisionsEdit.toPlainText().splitlines() 49 return self.revisionsEdit.toPlainText().splitlines()

eric ide

mercurial