80 ) |
80 ) |
81 |
81 |
82 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enable) |
82 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enable) |
83 |
83 |
84 @pyqtSlot(str) |
84 @pyqtSlot(str) |
85 def on_nameEdit_textChanged(self, txt): |
85 def on_nameEdit_textChanged(self, _txt): |
86 """ |
86 """ |
87 Private slot to handle changes of the patch name. |
87 Private slot to handle changes of the patch name. |
88 |
88 |
89 @param txt text of the edit |
89 @param _txt text of the edit (unused) |
90 @type str |
90 @type str |
91 """ |
91 """ |
92 self.__updateUI() |
92 self.__updateUI() |
93 |
93 |
94 @pyqtSlot() |
94 @pyqtSlot() |
97 Private slot to handle changes of the patch message. |
97 Private slot to handle changes of the patch message. |
98 """ |
98 """ |
99 self.__updateUI() |
99 self.__updateUI() |
100 |
100 |
101 @pyqtSlot(bool) |
101 @pyqtSlot(bool) |
102 def on_userGroup_toggled(self, checked): |
102 def on_userGroup_toggled(self, _checked): |
103 """ |
103 """ |
104 Private slot to handle changes of the user group state. |
104 Private slot to handle changes of the user group state. |
105 |
105 |
106 @param checked flag giving the checked state |
106 @param _checked flag giving the checked state (unused) |
107 @type bool |
107 @type bool |
108 """ |
108 """ |
109 self.__updateUI() |
109 self.__updateUI() |
110 |
110 |
111 @pyqtSlot(bool) |
111 @pyqtSlot(bool) |
112 def on_currentUserCheckBox_toggled(self, checked): |
112 def on_currentUserCheckBox_toggled(self, _checked): |
113 """ |
113 """ |
114 Private slot to handle changes of the currentuser state. |
114 Private slot to handle changes of the currentuser state. |
115 |
115 |
116 @param checked flag giving the checked state |
116 @param _checked flag giving the checked state (unused) |
117 @type bool |
117 @type bool |
118 """ |
118 """ |
119 self.__updateUI() |
119 self.__updateUI() |
120 |
120 |
121 @pyqtSlot(str) |
121 @pyqtSlot(str) |
122 def on_userEdit_textChanged(self, txt): |
122 def on_userEdit_textChanged(self, _txt): |
123 """ |
123 """ |
124 Private slot to handle changes of the user name. |
124 Private slot to handle changes of the user name. |
125 |
125 |
126 @param txt text of the edit |
126 @param _txt text of the edit (unused) |
127 @type str |
127 @type str |
128 """ |
128 """ |
129 self.__updateUI() |
129 self.__updateUI() |
130 |
130 |
131 def getData(self): |
131 def getData(self): |