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

stable quickop: add spacing around outside of dialog box

Changeset a4b8d7d2de08

Parent f908ce607413

by David Golub

Changes to one file · Browse files at a4b8d7d2de08 Showing diff from parent f908ce607413 Diff from another changeset...

 
45
46
47
48
49
50
51
 
 
 
 
52
53
54
 
56
57
58
59
 
60
61
62
 
71
72
73
74
 
75
76
77
78
79
80
 
81
82
83
84
85
86
 
94
95
96
97
 
98
99
100
101
102
103
104
105
 
106
107
108
 
45
46
47
 
48
49
50
51
52
53
54
55
56
57
 
59
60
61
 
62
63
64
65
 
74
75
76
 
77
78
79
80
81
82
 
83
84
85
 
86
87
88
 
96
97
98
 
99
100
101
 
 
 
 
 
 
102
103
104
105
@@ -45,10 +45,13 @@
  self.setWindowIcon(qtlib.geticon(ICONS[command]))     layout = QVBoxLayout() - layout.setContentsMargins(2, 2, 2, 2)   layout.setMargin(0)   self.setLayout(layout)   + toplayout = QVBoxLayout() + toplayout.setContentsMargins(5, 5, 5, 0) + layout.addLayout(toplayout) +   hbox = QHBoxLayout()   lbl = QLabel(LABELS[command][0])   slbl = QLabel() @@ -56,7 +59,7 @@
  hbox.addStretch(1)   hbox.addWidget(slbl)   self.status_label = slbl - layout.addLayout(hbox) + toplayout.addLayout(hbox)     types = { 'add' : 'I?',   'forget' : 'MAR!C', @@ -71,16 +74,15 @@
    opts['checkall'] = True # pre-check all matching files   stwidget = status.StatusWidget(repo, pats, opts, self) - layout.addWidget(stwidget, 1) + toplayout.addWidget(stwidget, 1)     if self.command == 'revert':   ## no backup checkbox   chk = QCheckBox(_('Do not save backup files (*.orig)'))   self.chk = chk - layout.addWidget(chk) + toplayout.addWidget(chk)     self.statusbar = cmdui.ThgStatusBar(self) - self.statusbar.setSizeGripEnabled(False)   stwidget.showMessage.connect(self.statusbar.showMessage)     self.cmd = cmd = cmdui.Runner(True, self) @@ -94,15 +96,10 @@
  bb.rejected.connect(self.reject)   bb.button(BB.Ok).setDefault(True)   bb.button(BB.Ok).setText(LABELS[command][1]) - layout.addWidget(bb) + toplayout.addWidget(bb)   self.bb = bb   - hbox = QHBoxLayout() - hbox.setMargin(0) - hbox.setContentsMargins(*(0,)*4) - hbox.addWidget(self.statusbar) - hbox.addWidget(self.bb) - layout.addLayout(hbox) + layout.addWidget(self.statusbar)     s = QSettings()   stwidget.loadSettings(s, 'quickop')