VCS/CommandOptionsDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3034
7ce719013078
child 3065
070b35dde35e
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
9 9
10 from __future__ import unicode_literals # __IGNORE_WARNING__ 10 from __future__ import unicode_literals # __IGNORE_WARNING__
11 11
12 from PyQt4.QtGui import QDialog 12 from PyQt4.QtGui import QDialog
13 13
14 from .Ui_CommandOptionsDialog import Ui_vcsCommandOptionsDialog 14 from .Ui_CommandOptionsDialog import Ui_VcsCommandOptionsDialog
15 15
16 import Utilities 16 import Utilities
17 17
18 18
19 class vcsCommandOptionsDialog(QDialog, Ui_vcsCommandOptionsDialog): 19 class VcsCommandOptionsDialog(QDialog, Ui_VcsCommandOptionsDialog):
20 """ 20 """
21 Class implementing the VCS command options dialog. 21 Class implementing the VCS command options dialog.
22 """ 22 """
23 def __init__(self, vcs, parent=None): 23 def __init__(self, vcs, parent=None):
24 """ 24 """
49 self.tagEdit.setText(" ".join(opt['tag'])) 49 self.tagEdit.setText(" ".join(opt['tag']))
50 self.exportEdit.setText(" ".join(opt['export'])) 50 self.exportEdit.setText(" ".join(opt['export']))
51 51
52 # modify the what's this help 52 # modify the what's this help
53 for widget in [self.globalEdit, self.commitEdit, self.checkoutEdit, 53 for widget in [self.globalEdit, self.commitEdit, self.checkoutEdit,
54 self.updateEdit, self.addEdit, self.removeEdit, 54 self.updateEdit, self.addEdit, self.removeEdit,
55 self.diffEdit, self.logEdit, self.historyEdit, 55 self.diffEdit, self.logEdit, self.historyEdit,
56 self.statusEdit, self.tagEdit, self.exportEdit]: 56 self.statusEdit, self.tagEdit, self.exportEdit]:
57 t = widget.whatsThis() 57 t = widget.whatsThis()
58 if t: 58 if t:
59 t += Utilities.getPercentReplacementHelp() 59 t += Utilities.getPercentReplacementHelp()
60 widget.setWhatsThis(t) 60 widget.setWhatsThis(t)
61 61

eric ide

mercurial