def on_tabs_menu_action_triggered(self, action: QAction):
        '''
        On tabs menu action triggered

        Parameters
        ----------
        action : QAction
        '''
        index = action.data()
        self.d.tab_bar.set_current_index(index)
        self.tab_bar_clicked.emit(index)
Ejemplo n.º 2
0
 def __triggered(self, action: QtWidgets.QAction) -> None:
     ly = action.data()
     dlg = LayerAlignmentDialog(self._window, self._window.project, ly)
     dlg.exec_()