Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

mq: separate the message editor and the file list by a splitter

Changeset bfb34f3aaa50

Parent 1c3ca873cc4b

by Angel Ezquerra

Changes to one file · Browse files at bfb34f3aaa50 Showing diff from parent 1c3ca873cc4b Diff from another changeset...

 
153
154
155
156
157
158
159
160
 
 
 
 
 
 
 
 
161
162
163
 
153
154
155
 
156
157
158
 
159
160
161
162
163
164
165
166
167
168
169
@@ -153,11 +153,17 @@
  self.messageEditor = commit.MessageEntry(self)   self.messageEditor.installEventFilter(qscilib.KeyPressInterceptor(self))   self.messageEditor.refresh(repo) - layout.addWidget(self.messageEditor, 1)     self.fileListWidget = QListWidget(self)   self.fileListWidget.currentRowChanged.connect(self.onFileSelected) - layout.addWidget(self.fileListWidget, 2) + + # The message editor and the file list are separated by + # a vertical splitter + vsplitter = QSplitter() + vsplitter.setOrientation(Qt.Vertical) + layout.addWidget(vsplitter) + vsplitter.addWidget(self.messageEditor) + vsplitter.addWidget(self.fileListWidget)     qrefhbox = QHBoxLayout()   layout.addLayout(qrefhbox, 0)