src/eric7/Plugins/VcsPlugins/vcsGit/GitRevisionSelectionDialog.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
85 enabled = self.remoteBranchCombo.currentText() != "" 85 enabled = self.remoteBranchCombo.currentText() != ""
86 86
87 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) 87 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled)
88 88
89 @pyqtSlot(bool) 89 @pyqtSlot(bool)
90 def on_revButton_toggled(self, checked): 90 def on_revButton_toggled(self, _checked):
91 """ 91 """
92 Private slot to handle changes of the rev select button. 92 Private slot to handle changes of the rev select button.
93 93
94 @param checked state of the button 94 @param _checked state of the button (unused)
95 @type bool 95 @type bool
96 """ 96 """
97 self.__updateOK() 97 self.__updateOK()
98 98
99 @pyqtSlot(bool) 99 @pyqtSlot(bool)
100 def on_tagButton_toggled(self, checked): 100 def on_tagButton_toggled(self, _checked):
101 """ 101 """
102 Private slot to handle changes of the Tag select button. 102 Private slot to handle changes of the Tag select button.
103 103
104 @param checked state of the button 104 @param _checked state of the button (unused)
105 @type bool 105 @type bool
106 """ 106 """
107 self.__updateOK() 107 self.__updateOK()
108 108
109 @pyqtSlot(bool) 109 @pyqtSlot(bool)
110 def on_branchButton_toggled(self, checked): 110 def on_branchButton_toggled(self, _checked):
111 """ 111 """
112 Private slot to handle changes of the Branch select button. 112 Private slot to handle changes of the Branch select button.
113 113
114 @param checked state of the button 114 @param _checked state of the button (unused)
115 @type bool 115 @type bool
116 """ 116 """
117 self.__updateOK() 117 self.__updateOK()
118 118
119 @pyqtSlot(bool) 119 @pyqtSlot(bool)
120 def on_remoteBranchButton_toggled(self, checked): 120 def on_remoteBranchButton_toggled(self, _checked):
121 """ 121 """
122 Private slot to handle changes of the Remote Branch select button. 122 Private slot to handle changes of the Remote Branch select button.
123 123
124 @param checked state of the button 124 @param _checked state of the button (unused)
125 @type bool 125 @type bool
126 """ 126 """
127 self.__updateOK() 127 self.__updateOK()
128 128
129 @pyqtSlot(str) 129 @pyqtSlot(str)
130 def on_revEdit_textChanged(self, txt): 130 def on_revEdit_textChanged(self, _txt):
131 """ 131 """
132 Private slot to handle changes of the rev edit. 132 Private slot to handle changes of the rev edit.
133 133
134 @param txt text of the edit 134 @param _txt text of the edit (unused)
135 @type str 135 @type str
136 """ 136 """
137 self.__updateOK() 137 self.__updateOK()
138 138
139 @pyqtSlot(str) 139 @pyqtSlot(str)
140 def on_tagCombo_editTextChanged(self, txt): 140 def on_tagCombo_editTextChanged(self, _txt):
141 """ 141 """
142 Private slot to handle changes of the Tag combo. 142 Private slot to handle changes of the Tag combo.
143 143
144 @param txt text of the combo 144 @param _txt text of the combo (unused)
145 @type str 145 @type str
146 """ 146 """
147 self.__updateOK() 147 self.__updateOK()
148 148
149 @pyqtSlot(str) 149 @pyqtSlot(str)
150 def on_branchCombo_editTextChanged(self, txt): 150 def on_branchCombo_editTextChanged(self, _txt):
151 """ 151 """
152 Private slot to handle changes of the Branch combo. 152 Private slot to handle changes of the Branch combo.
153 153
154 @param txt text of the combo 154 @param _txt text of the combo (unused)
155 @type str 155 @type str
156 """ 156 """
157 self.__updateOK() 157 self.__updateOK()
158 158
159 @pyqtSlot(str) 159 @pyqtSlot(str)
160 def on_remoteBranchCombo_editTextChanged(self, txt): 160 def on_remoteBranchCombo_editTextChanged(self, _txt):
161 """ 161 """
162 Private slot to handle changes of the Remote Branch combo. 162 Private slot to handle changes of the Remote Branch combo.
163 163
164 @param txt text of the combo 164 @param _txt text of the combo (unused)
165 @type str 165 @type str
166 """ 166 """
167 self.__updateOK() 167 self.__updateOK()
168 168
169 def getRevision(self): 169 def getRevision(self):

eric ide

mercurial