Changeset 52eb1f25a6ce…
Parent bb515093a3d2…
by
Changes to one file · Browse files at 52eb1f25a6ce Showing diff from parent bb515093a3d2 Diff from another changeset...
@@ -157,13 +157,9 @@ tb.addWidget(self.targetcheckbox)
tb.addWidget(self.targetcombo)
- bottomlayout = QVBoxLayout()
- bottomlayout.setContentsMargins(5, 5, 5, 5)
- layout.addLayout(bottomlayout)
-
hbox = QHBoxLayout()
hbox.setContentsMargins(0, 0, 0, 0)
- bottomlayout.addLayout(hbox)
+ layout.addLayout(hbox)
self.optionshdrlabel = lbl = QLabel(_('<b>Selected Options:</b>'))
hbox.addWidget(lbl)
self.optionslabel = QLabel()
@@ -173,7 +169,7 @@
hbox = QHBoxLayout()
hbox.setContentsMargins(0, 0, 0, 0)
- bottomlayout.addLayout(hbox)
+ layout.addLayout(hbox)
hbox.addWidget(QLabel(_('<b>Remote Repository:</b>')))
self.urllabel = QLabel()
self.urllabel.setTextInteractionFlags(Qt.TextSelectableByMouse)
@@ -183,7 +179,7 @@
hbox = QHBoxLayout()
hbox.setContentsMargins(0, 0, 0, 0)
- bottomlayout.addLayout(hbox)
+ layout.addLayout(hbox)
self.pathEditToolbar = tbar = QToolBar(_('Path Edit Toolbar'))
tbar.setStyleSheet(qtlib.tbstylesheet)
@@ -271,7 +267,7 @@ pathsbox.addWidget(self.reltv)
hbox.addWidget(pathsframe)
- bottomlayout.addLayout(hbox, 1)
+ self.layout().addLayout(hbox, 1)
self.savebutton.triggered.connect(self.saveclicked)
self.securebutton.triggered.connect(self.secureclicked)
@@ -285,7 +281,7 @@ cmd.output.connect(self.output)
cmd.progress.connect(self.progress)
- bottomlayout.addWidget(cmd)
+ layout.addWidget(cmd)
cmd.setVisible(False)
self.cmd = cmd
|
Loading...