Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py

branch
5_5_x
changeset 3876
34eccb2fd1a8
parent 3484
645c12de6b0c
equal deleted inserted replaced
3875:21d3683ed656 3876:34eccb2fd1a8
7 Module implementing the Mercurial command dialog. 7 Module implementing the Mercurial command dialog.
8 """ 8 """
9 9
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 from PyQt4.QtCore import pyqtSlot
12 from PyQt4.QtGui import QDialog, QDialogButtonBox 13 from PyQt4.QtGui import QDialog, QDialogButtonBox
13 14
14 from .Ui_HgCommandDialog import Ui_HgCommandDialog 15 from .Ui_HgCommandDialog import Ui_HgCommandDialog
15 16
16 import Utilities 17 import Utilities
51 self.commandCombo.setWhatsThis(t) 52 self.commandCombo.setWhatsThis(t)
52 53
53 msh = self.minimumSizeHint() 54 msh = self.minimumSizeHint()
54 self.resize(max(self.width(), msh.width()), msh.height()) 55 self.resize(max(self.width(), msh.width()), msh.height())
55 56
57 @pyqtSlot(str)
56 def on_commandCombo_editTextChanged(self, text): 58 def on_commandCombo_editTextChanged(self, text):
57 """ 59 """
58 Private method used to enable/disable the OK-button. 60 Private method used to enable/disable the OK-button.
59 61
60 @param text ignored 62 @param text ignored

eric ide

mercurial