Skip to content

Commit

Permalink
Set object name for most top level widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-raturi committed Jul 13, 2016
1 parent 2dae1d0 commit d01b858
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions picard/ui/searchdialog.py
Expand Up @@ -117,16 +117,19 @@ def __init__(self, parent=None):

def setupUi(self):
self.verticalLayout = QtGui.QVBoxLayout(self)
self.verticalLayout.setObjectName(_("verticalLayout"))

self.verticalLayout.setObjectName(_("vertical_layout"))
self.search_box = SearchBox(self)
self.search_box.setObjectName(_("search_box"))
self.verticalLayout.addWidget(self.search_box)
self.center_widget = QtGui.QWidget(self)
self.center_widget.setObjectName(_("center_widget"))
self.center_layout = QtGui.QVBoxLayout(self.center_widget)
self.center_layout.setObjectName(_("center_layout"))
self.center_layout.setMargin(1)
self.center_widget.setLayout(self.center_layout)
self.verticalLayout.addWidget(self.center_widget)
self.buttonBox = QtGui.QDialogButtonBox(self)
self.buttonBox.setObjectName(_("button_box"))
self.load_button = QtGui.QPushButton(_("Load into Picard"))
self.load_button.setEnabled(False)
self.buttonBox.addButton(
Expand Down

0 comments on commit d01b858

Please sign in to comment.