73 @pyqtSlot(bool) |
73 @pyqtSlot(bool) |
74 def on_multipleButton_toggled(self, checked): |
74 def on_multipleButton_toggled(self, checked): |
75 """ |
75 """ |
76 Private slot to handle changes of the Multiple select button. |
76 Private slot to handle changes of the Multiple select button. |
77 |
77 |
78 @param checked state of the button (boolean) |
78 @param checked state of the button |
|
79 @type bool |
79 """ |
80 """ |
80 self.__updateOK() |
81 self.__updateOK() |
81 |
82 |
82 @pyqtSlot(bool) |
83 @pyqtSlot(bool) |
83 def on_tagButton_toggled(self, checked): |
84 def on_tagButton_toggled(self, checked): |
84 """ |
85 """ |
85 Private slot to handle changes of the Tag select button. |
86 Private slot to handle changes of the Tag select button. |
86 |
87 |
87 @param checked state of the button (boolean) |
88 @param checked state of the button |
|
89 @type bool |
88 """ |
90 """ |
89 self.__updateOK() |
91 self.__updateOK() |
90 |
92 |
91 @pyqtSlot(bool) |
93 @pyqtSlot(bool) |
92 def on_branchButton_toggled(self, checked): |
94 def on_branchButton_toggled(self, checked): |
93 """ |
95 """ |
94 Private slot to handle changes of the Branch select button. |
96 Private slot to handle changes of the Branch select button. |
95 |
97 |
96 @param checked state of the button (boolean) |
98 @param checked state of the button |
|
99 @type bool |
97 """ |
100 """ |
98 self.__updateOK() |
101 self.__updateOK() |
99 |
102 |
100 @pyqtSlot(bool) |
103 @pyqtSlot(bool) |
101 def on_bookmarkButton_toggled(self, checked): |
104 def on_bookmarkButton_toggled(self, checked): |
102 """ |
105 """ |
103 Private slot to handle changes of the Bookmark select button. |
106 Private slot to handle changes of the Bookmark select button. |
104 |
107 |
105 @param checked state of the button (boolean) |
108 @param checked state of the button |
|
109 @type bool |
106 """ |
110 """ |
107 self.__updateOK() |
111 self.__updateOK() |
108 |
112 |
109 @pyqtSlot() |
113 @pyqtSlot() |
110 def on_multipleEdit_textChanged(self): |
114 def on_multipleEdit_textChanged(self): |
116 @pyqtSlot(str) |
120 @pyqtSlot(str) |
117 def on_tagCombo_editTextChanged(self, txt): |
121 def on_tagCombo_editTextChanged(self, txt): |
118 """ |
122 """ |
119 Private slot to handle changes of the Tag combo. |
123 Private slot to handle changes of the Tag combo. |
120 |
124 |
121 @param txt text of the combo (string) |
125 @param txt text of the combo |
|
126 @type str |
122 """ |
127 """ |
123 self.__updateOK() |
128 self.__updateOK() |
124 |
129 |
125 @pyqtSlot(str) |
130 @pyqtSlot(str) |
126 def on_branchCombo_editTextChanged(self, txt): |
131 def on_branchCombo_editTextChanged(self, txt): |
127 """ |
132 """ |
128 Private slot to handle changes of the Branch combo. |
133 Private slot to handle changes of the Branch combo. |
129 |
134 |
130 @param txt text of the combo (string) |
135 @param txt text of the combo |
|
136 @type str |
131 """ |
137 """ |
132 self.__updateOK() |
138 self.__updateOK() |
133 |
139 |
134 @pyqtSlot(str) |
140 @pyqtSlot(str) |
135 def on_bookmarkCombo_editTextChanged(self, txt): |
141 def on_bookmarkCombo_editTextChanged(self, txt): |
136 """ |
142 """ |
137 Private slot to handle changes of the Bookmark combo. |
143 Private slot to handle changes of the Bookmark combo. |
138 |
144 |
139 @param txt text of the combo (string) |
145 @param txt text of the combo |
|
146 @type str |
140 """ |
147 """ |
141 self.__updateOK() |
148 self.__updateOK() |
142 |
149 |
143 def getParameters(self): |
150 def getParameters(self): |
144 """ |
151 """ |
145 Public method to retrieve the bundle data. |
152 Public method to retrieve the bundle data. |
146 |
153 |
147 @return tuple naming the revisions, base revisions, the compression |
154 @return tuple naming the revisions, base revisions, the compression |
148 type and a flag indicating to bundle all changesets (string, |
155 type and a flag indicating to bundle all changesets |
149 string, boolean) |
156 @rtype tuple of (str, str, bool) |
150 """ |
157 """ |
151 if self.multipleButton.isChecked(): |
158 if self.multipleButton.isChecked(): |
152 revs = [ |
159 revs = [ |
153 rev.strip() |
160 rev.strip() |
154 for rev in self.multipleEdit.toPlainText().strip().splitlines() |
161 for rev in self.multipleEdit.toPlainText().strip().splitlines() |