src/eric7/QScintilla/SortOptionsDialog.py

branch
eric7
changeset 10431
64157aeb0312
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10430:e440aaf179ce 10431:64157aeb0312
19 19
20 def __init__(self, parent=None): 20 def __init__(self, parent=None):
21 """ 21 """
22 Constructor 22 Constructor
23 23
24 @param parent reference to the parent widget (QWidget) 24 @param parent reference to the parent widget
25 @type QWidget
25 """ 26 """
26 super().__init__(parent) 27 super().__init__(parent)
27 self.setupUi(self) 28 self.setupUi(self)
28 29
29 msh = self.minimumSizeHint() 30 msh = self.minimumSizeHint()
32 def getData(self): 33 def getData(self):
33 """ 34 """
34 Public method to get the selected options. 35 Public method to get the selected options.
35 36
36 @return tuple of three flags indicating ascending order, alphanumeric 37 @return tuple of three flags indicating ascending order, alphanumeric
37 sort and case sensitivity (tuple of three boolean) 38 sort and case sensitivity
39 @rtype tuple of (bool, bool, bool)
38 """ 40 """
39 return ( 41 return (
40 self.ascendingButton.isChecked(), 42 self.ascendingButton.isChecked(),
41 self.alnumButton.isChecked(), 43 self.alnumButton.isChecked(),
42 self.respectCaseButton.isChecked(), 44 self.respectCaseButton.isChecked(),

eric ide

mercurial