def setupOptionsMenu(self, menuBar):
    optionsMenu = menuBar.addMenu('Options')
    settingsAction = QAction(QIcon('res\\settings.png'), 'Settings', optionsMenu)
    settingsAction.setStatusTip('Settings')
    settingsAction.triggered.connect(self.showSettings)
    optionsMenu.addAction(settingsAction)
def setupOptionsMenu(self, menuBar):
    optionsMenu = menuBar.addMenu('Options')
    settingsAction = QAction(QIcon('res\\settings.png'), 'Settings', optionsMenu)
    settingsAction.setStatusTip('Settings')
    settingsAction.triggered.connect(self.showSettings)
    optionsMenu.addAction(settingsAction)