def METHOD_NAME(self):
    # new toolbar added to window
    toolbar = QToolBar(self.w)
    self.w.addToolBar(Qt.LeftToolBarArea, toolbar)
    # containers
    w = QWidget()
    w.setContentsMargins(0,0,0,0)
    hbox = QHBoxLayout(w)
    hbox.setContentsMargins(0,0,0,0)
    # for button name
    le = QLineEdit()
    le.setText(self.h.comp.getprefix())
    # HAL button to display state
    button = PushButton()
    button.setProperty('indicator_option',True)
    button._halpin_option = False
    button.hal_init('button')
    button.setMaximumWidth(30)
    hbox.addWidget(button)
    hbox.addWidget(le)
    # menu for controls
    menu = QMenu()
    menu.setMinimumWidth(259)
    # Check option checkbutton
    actionCheck = QAction('Set Checkable',menu)
    actionCheck.setCheckable(True)
    actionCheck.triggered.connect(lambda w, b=(actionCheck,button): self.actionTriggered('Checkable',b))
    menu.addAction(actionCheck)
    # color option launch button
    actionColor = QAction('Set Indicator Color',menu)
    actionColor.triggered.connect(lambda w, b=(actionColor,button): self.actionTriggered('Color',b))
    menu.addAction(actionColor)
    # remember signal watched, line edit widget, button widget and last state
    self.buttonDict[button] = [None,le,None,button,False]
    # button to pop menu
    btn = QPushButton('Opt')
    btn.setMaximumWidth(50)
    btn.setMenu(menu)
    hbox.addWidget(btn)
    # combo box for HAL pin selection
    cb = HALSelectionBox()
    cb.setShowTypes([cb.PINS,cb.SIGNALS])
    cb.setPinTypes([cb.HAL_BIT])
    cb.setSignalTypes([cb.HAL_BIT], driven = [False,True])
    cb.hal_init()
    cb.selectionUpdated.connect(lambda w: self.signalSelected(w,button))
    # wrap combobox so as to add it to menu
    action = QWidgetAction(menu)
    action.setDefaultWidget(cb)
    #menu.addAction(action)
    # HalMeter option launch button
    actionHalMeter = QAction('Load HalMeter',menu)
    actionHalMeter.triggered.connect(lambda w, b=(actionHalMeter,button): self.actionTriggered('HalMeter',b))
    menu.addAction(actionHalMeter)
    # Led option launch button
    actionLed = QAction('Load Test Led',menu)
    actionLed.triggered.connect(lambda w, b=(actionLed,button): self.actionTriggered('Led',b))
    menu.addAction(actionLed)
    # button to add another button toolbar
    actionAdd = QAction('Add Button',menu)
    actionAdd.triggered.connect(lambda b: self.actionTriggered('Add', None))
    menu.addAction(actionAdd)
    toolbar.addWidget(w)