Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py

changeset 3874
913d3c607534
parent 3656
441956d8fce5
child 4021
195a471c327b
equal deleted inserted replaced
3873:52e44def50d0 3874:913d3c607534
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 PyQt5.QtCore import pyqtSlot
12 from PyQt5.QtWidgets import QDialog, QDialogButtonBox 13 from PyQt5.QtWidgets 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