def METHOD_NAME(self, BusViewerWindow):
    BusViewerWindow.setWindowTitle(QCoreApplication.translate("BusViewerWindow", u"MainWindow", None))
    self.actiondraw.setText(QCoreApplication.translate("BusViewerWindow", u"draw", None))
    self.actionExpand_nodes.setText(QCoreApplication.translate("BusViewerWindow", u"Expand nodes", None))
    self.actionScrink_nodes.setText(QCoreApplication.translate("BusViewerWindow", u"Scrink nodes", None))
    self.actionAdjust_to_window_size.setText(QCoreApplication.translate("BusViewerWindow", u"Adjust to window size", None))