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

sync: reorder widgets again

looking for something that looks natural. This moves all of the URL operations
to the second line and leaves the top line for command options.

Changeset 4eece1b894e1

Parent 0e367e80cf96

by Steve Borho

Changes to one file · Browse files at 4eece1b894e1 Showing diff from parent 0e367e80cf96 Diff from another changeset...

 
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
 
110
111
112
113
114
115
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
118
119
 
141
142
143
 
 
144
145
146
 
63
64
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
67
68
 
88
89
90
 
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
 
140
141
142
143
144
145
146
147
@@ -63,28 +63,6 @@
  hbox = QHBoxLayout()   hbox.setContentsMargins(0, 0, 0, 0)   hbox.setSpacing(4) - self.savebutton = QPushButton(_('Save')) - hbox.addWidget(self.savebutton) - hbox.addWidget(QLabel(_('URL:'))) - self.urllabel = QLabel() - self.urllabel.setTextInteractionFlags(Qt.TextSelectableByMouse) - self.urllabel.setAcceptDrops(False) - hbox.addWidget(self.urllabel) - hbox.addStretch(1) - self.detailsbutton = QPushButton(_('More Options')) - hbox.addWidget(self.detailsbutton) - self.postpullbutton = QPushButton() - hbox.addWidget(self.postpullbutton) - if 'perfarce' in self.repo.extensions(): - self.p4pbutton = QPushButton(_('p4pending')) - self.p4pbutton.clicked.connect(self.p4pending) - hbox.addWidget(self.p4pbutton) - else: - self.p4pbutton = None - - self.bookmarkcombo = QComboBox() - hbox.addWidget(QLabel(_('Bookmark:'))) - hbox.addWidget(self.bookmarkcombo)     tb = QToolBar(self)   sactions = [] @@ -110,10 +88,31 @@
  a.setIcon(qtlib.geticon('process-stop'))   a.triggered.connect(self.stopclicked)   tb.addAction(a) - tb.setMaximumHeight(self.postpullbutton.sizeHint().height())   hbox.addWidget(tb)   self.layout().addLayout(hbox)   + self.detailsbutton = QPushButton(_('More Options')) + hbox.addWidget(self.detailsbutton) + self.postpullbutton = QPushButton() + hbox.addWidget(self.postpullbutton) + tb.setMaximumHeight(self.postpullbutton.sizeHint().height()) + if 'perfarce' in self.repo.extensions(): + self.p4pbutton = QPushButton(_('p4pending')) + self.p4pbutton.clicked.connect(self.p4pending) + hbox.addWidget(self.p4pbutton) + else: + self.p4pbutton = None + + self.bookmarkcombo = QComboBox() + hbox.addWidget(QLabel(_('Bookmark:'))) + hbox.addWidget(self.bookmarkcombo) + + hbox.addStretch(1) + self.urllabel = QLabel() + self.urllabel.setTextInteractionFlags(Qt.TextSelectableByMouse) + self.urllabel.setAcceptDrops(False) + hbox.addWidget(self.urllabel) +   hbox = QHBoxLayout()   hbox.setContentsMargins(0, 0, 0, 0)   hbox.setSpacing(4) @@ -141,6 +140,8 @@
  hbox.addWidget(self.pathentry, 1)   self.authbutton = QPushButton(_('Authentication'))   hbox.addWidget(self.authbutton) + self.savebutton = QPushButton(_('Save')) + hbox.addWidget(self.savebutton)   self.layout().addLayout(hbox)     hbox = QHBoxLayout()