def createButtons(self):
        self.buttonLayout = QtGui.QHBoxLayout()
        self.buttonLayout.setMargin(5)
        self.saveButton = QtGui.QPushButton('&Save', self)
        self.saveButton.setFixedWidth(100)
        self.saveButton.setEnabled(False)
        self.buttonLayout.addWidget(self.saveButton)
        self.resetButton = QtGui.QPushButton('&Reset', self)
        self.resetButton.setFixedWidth(100)
        self.resetButton.setEnabled(False)
        self.buttonLayout.addWidget(self.resetButton)
        self.layout().addLayout(self.buttonLayout)
        self.connect(self.saveButton, QtCore.SIGNAL('clicked(bool)'),
                     self.saveTriggered)
        self.connect(self.resetButton, QtCore.SIGNAL('clicked(bool)'),
                     self.resetTriggered)
Test index page api/messaging/streams
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/modules/tuple_configuration.py/PortTableConfigurationWidget.createButtons--crossover with--dataset/ETHPy150Open treeio/treeio/treeio/messaging/api/tests.py/MessagingApiTest.test_get_streams