Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

commit: begin to add commit widgets

Changeset 0398952d172d

Parent 266fd331ee06

by Steve Borho

Changes to 2 files · Browse files at 0398952d172d Showing diff from parent 266fd331ee06 Diff from another changeset...

 
33
34
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
37
38
39
40
41
42
43
44
 
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
 
 
 
 
58
59
60
@@ -33,12 +33,28 @@
  layout = QVBoxLayout()   layout.addWidget(self.stwidget)   self.setLayout(layout) + vbox = self.stwidget.diffvbox + form = QFormLayout() + userle = QLineEdit() + form.addRow(_('Changeset:'), QLabel(_('Working Copy'))) + form.addRow(_('User:'), userle) + form.addRow(_('Parent:'), QLabel('Description of ' + + str(self.stwidget.repo['.']))) + frame = QFrame() + frame.setLayout(form) + frame.setFrameStyle(QFrame.StyledPanel) + vbox.insertWidget(0, frame, 0) + msgcombo = QComboBox() + msgcombo.addItem('Recent commit messages...') + vbox.insertWidget(1, msgcombo, 0) + msgte = QTextEdit() + msgte.setAcceptRichText(False) + # TODO + # http://www.qtcentre.org/threads/9840-QTextEdit-auto-resize + vbox.insertWidget(2, msgte, 0) + vbox.setStretchFactor(msgte, 0)   # TODO add commit widgets   # branchop dialog - # message history selection widget - # username entry - # message entry - # parent text   # Yuki's Mockup: http://bitbucket.org/kuy/thg-qt/wiki/Home     def restoreState(self, data):
 
167
168
169
170
 
171
172
 
173
174
175
 
167
168
169
 
170
171
172
173
174
175
176
@@ -167,9 +167,10 @@
  self.te.setReadOnly(True)   self.te.setLineWrapMode(QTextEdit.NoWrap)   vbox.addLayout(hbox) - vbox.addWidget(self.te) + vbox.addWidget(self.te, 1)     self.split = split + self.diffvbox = vbox   QTimer.singleShot(0, self.refreshWctx)     def getTitle(self):