10 from PyQt4.QtCore import * |
10 from PyQt4.QtCore import * |
11 from PyQt4.QtGui import * |
11 from PyQt4.QtGui import * |
12 |
12 |
13 from .Ui_SvnPropDelDialog import Ui_SvnPropDelDialog |
13 from .Ui_SvnPropDelDialog import Ui_SvnPropDelDialog |
14 |
14 |
|
15 |
15 class SvnPropDelDialog(QDialog, Ui_SvnPropDelDialog): |
16 class SvnPropDelDialog(QDialog, Ui_SvnPropDelDialog): |
16 """ |
17 """ |
17 Class implementing a dialog to enter the data for a new property. |
18 Class implementing a dialog to enter the data for a new property. |
18 """ |
19 """ |
19 def __init__(self, recursive, parent = None): |
20 def __init__(self, recursive, parent=None): |
20 """ |
21 """ |
21 Constructor |
22 Constructor |
22 |
23 |
23 @param recursive flag indicating a recursive set is requested |
24 @param recursive flag indicating a recursive set is requested |
24 @param parent parent widget (QWidget) |
25 @param parent parent widget (QWidget) |
41 |
42 |
42 def getData(self): |
43 def getData(self): |
43 """ |
44 """ |
44 Public slot used to retrieve the data entered into the dialog. |
45 Public slot used to retrieve the data entered into the dialog. |
45 |
46 |
46 @return tuple of two values giving the property name and a flag |
47 @return tuple of two values giving the property name and a flag |
47 indicating, that this property should be applied recursively. |
48 indicating, that this property should be applied recursively. |
48 (string, boolean) |
49 (string, boolean) |
49 """ |
50 """ |
50 return (self.propNameEdit.text(), |
51 return (self.propNameEdit.text(), |
51 self.recurseCheckBox.isChecked()) |
52 self.recurseCheckBox.isChecked()) |