(browser)
Add the button to the browser menu "edit".
Add the button to the browser menu "edit".
Add the button to the browser menu edit .
def setupMenu(browser):
    """
    Add the button to the browser menu "edit".
    """
    a = browser.form.menuEdit.addAction('Batch-Remove Field Formatting')
    a.setShortcut(QKeySequence("Ctrl+Alt+Shift+R"))
    a.triggered.connect(lambda _, b=browser: onClearFormatting(b))
def setupMenu ( browser ) : a = browser . form . menuEdit . addAction ( 'Batch-Remove Field Formatting' ) a . setShortcut ( QKeySequence ( "Ctrl+Alt+Shift+R" ) ) a . triggered . connect ( lambda _ , b = browser : onClearFormatting ( b ) )