Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesNewPatchDialog.py

changeset 2962
d6c9d1ca2da4
parent 2302
f29e9405c851
child 3008
7848489bcb92
equal deleted inserted replaced
2961:e4e2efb4846a 2962:d6c9d1ca2da4
26 26
27 @param mode mode of the dialog (HgQueuesNewPatchDialog.NEW_MODE, 27 @param mode mode of the dialog (HgQueuesNewPatchDialog.NEW_MODE,
28 HgQueuesNewPatchDialog.REFRESH_MODE) 28 HgQueuesNewPatchDialog.REFRESH_MODE)
29 @param message text to set as the commit message (string) 29 @param message text to set as the commit message (string)
30 @param parent reference to the parent widget (QWidget) 30 @param parent reference to the parent widget (QWidget)
31 @exception ValueError raised to indicate an invalid dialog mode
31 """ 32 """
32 super().__init__(parent) 33 super().__init__(parent)
33 self.setupUi(self) 34 self.setupUi(self)
34 35
35 self.__mode = mode 36 self.__mode = mode
76 77
77 @pyqtSlot() 78 @pyqtSlot()
78 def on_messageEdit_textChanged(self): 79 def on_messageEdit_textChanged(self):
79 """ 80 """
80 Private slot to handle changes of the patch message. 81 Private slot to handle changes of the patch message.
81
82 @param txt text of the edit (string)
83 """ 82 """
84 self.__updateUI() 83 self.__updateUI()
85 84
86 @pyqtSlot(bool) 85 @pyqtSlot(bool)
87 def on_userGroup_toggled(self, checked): 86 def on_userGroup_toggled(self, checked):

eric ide

mercurial