68 enabled &= bool(self.fileEdit.text()) |
68 enabled &= bool(self.fileEdit.text()) |
69 |
69 |
70 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) |
70 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) |
71 |
71 |
72 @pyqtSlot(str) |
72 @pyqtSlot(str) |
73 def on_fileEdit_textChanged(self, txt): |
73 def on_fileEdit_textChanged(self, _txt): |
74 """ |
74 """ |
75 Private slot to handle changes of the file edit. |
75 Private slot to handle changes of the file edit. |
76 |
76 |
77 @param txt text of the edit |
77 @param _txt text of the edit (unused) |
78 @type str |
78 @type str |
79 """ |
79 """ |
80 self.__updateOK() |
80 self.__updateOK() |
81 |
81 |
82 @pyqtSlot() |
82 @pyqtSlot() |
97 ext = "." + self.formatComboBox.currentText() |
97 ext = "." + self.formatComboBox.currentText() |
98 fileName = root + ext |
98 fileName = root + ext |
99 self.fileEdit.setText(FileSystemUtilities.toNativeSeparators(fileName)) |
99 self.fileEdit.setText(FileSystemUtilities.toNativeSeparators(fileName)) |
100 |
100 |
101 @pyqtSlot(bool) |
101 @pyqtSlot(bool) |
102 def on_revButton_toggled(self, checked): |
102 def on_revButton_toggled(self, _checked): |
103 """ |
103 """ |
104 Private slot to handle changes of the rev select button. |
104 Private slot to handle changes of the rev select button. |
105 |
105 |
106 @param checked state of the button |
106 @param _checked state of the button (unused) |
107 @type bool |
107 @type bool |
108 """ |
108 """ |
109 self.__updateOK() |
109 self.__updateOK() |
110 |
110 |
111 @pyqtSlot(str) |
111 @pyqtSlot(str) |
112 def on_revEdit_textChanged(self, txt): |
112 def on_revEdit_textChanged(self, _txt): |
113 """ |
113 """ |
114 Private slot to handle changes of the rev edit. |
114 Private slot to handle changes of the rev edit. |
115 |
115 |
116 @param txt text of the edit |
116 @param _txt text of the edit (unused) |
117 @type str |
117 @type str |
118 """ |
118 """ |
119 self.__updateOK() |
119 self.__updateOK() |
120 |
120 |
121 @pyqtSlot(bool) |
121 @pyqtSlot(bool) |
122 def on_tagButton_toggled(self, checked): |
122 def on_tagButton_toggled(self, _checked): |
123 """ |
123 """ |
124 Private slot to handle changes of the Tag select button. |
124 Private slot to handle changes of the Tag select button. |
125 |
125 |
126 @param checked state of the button |
126 @param _checked state of the button (unused) |
127 @type bool |
127 @type bool |
128 """ |
128 """ |
129 self.__updateOK() |
129 self.__updateOK() |
130 |
130 |
131 @pyqtSlot(str) |
131 @pyqtSlot(str) |
132 def on_tagCombo_editTextChanged(self, txt): |
132 def on_tagCombo_editTextChanged(self, _txt): |
133 """ |
133 """ |
134 Private slot to handle changes of the Tag combo. |
134 Private slot to handle changes of the Tag combo. |
135 |
135 |
136 @param txt text of the combo |
136 @param _txt text of the combo (unused) |
137 @type str |
137 @type str |
138 """ |
138 """ |
139 self.__updateOK() |
139 self.__updateOK() |
140 |
140 |
141 @pyqtSlot(bool) |
141 @pyqtSlot(bool) |
142 def on_branchButton_toggled(self, checked): |
142 def on_branchButton_toggled(self, _checked): |
143 """ |
143 """ |
144 Private slot to handle changes of the Branch select button. |
144 Private slot to handle changes of the Branch select button. |
145 |
145 |
146 @param checked state of the button |
146 @param _checked state of the button (unused) |
147 @type bool |
147 @type bool |
148 """ |
148 """ |
149 self.__updateOK() |
149 self.__updateOK() |
150 |
150 |
151 @pyqtSlot(str) |
151 @pyqtSlot(str) |
152 def on_branchCombo_editTextChanged(self, txt): |
152 def on_branchCombo_editTextChanged(self, _txt): |
153 """ |
153 """ |
154 Private slot to handle changes of the Branch combo. |
154 Private slot to handle changes of the Branch combo. |
155 |
155 |
156 @param txt text of the combo |
156 @param _txt text of the combo (unused) |
157 @type str |
157 @type str |
158 """ |
158 """ |
159 self.__updateOK() |
159 self.__updateOK() |
160 |
160 |
161 def getData(self): |
161 def getData(self): |