Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py

changeset 496
ed1e3f654d0b
parent 495
b31b0bffa5b0
child 791
9ec2ac20e54e
equal deleted inserted replaced
495:b31b0bffa5b0 496:ed1e3f654d0b
5 5
6 """ 6 """
7 Module implementing a dialog to enter the commit message. 7 Module implementing a dialog to enter the commit message.
8 """ 8 """
9 9
10 from PyQt4.QtCore import pyqtSlot, Qt 10 from PyQt4.QtCore import pyqtSlot, pyqtSignal, Qt
11 from PyQt4.QtGui import QWidget, QDialogButtonBox 11 from PyQt4.QtGui import QWidget, QDialogButtonBox
12 12
13 from .Ui_HgCommitDialog import Ui_HgCommitDialog 13 from .Ui_HgCommitDialog import Ui_HgCommitDialog
14 14
15 import Preferences 15 import Preferences
19 Class implementing a dialog to enter the commit message. 19 Class implementing a dialog to enter the commit message.
20 20
21 @signal accepted() emitted, if the dialog was accepted 21 @signal accepted() emitted, if the dialog was accepted
22 @signal rejected() emitted, if the dialog was rejected 22 @signal rejected() emitted, if the dialog was rejected
23 """ 23 """
24 accepted = pyqtSignal()
25 rejected = pyqtSignal()
26
24 def __init__(self, vcs, parent = None): 27 def __init__(self, vcs, parent = None):
25 """ 28 """
26 Constructor 29 Constructor
27 30
28 @param vcs reference to the vcs object 31 @param vcs reference to the vcs object

eric ide

mercurial