code: def get_action(self, parent, undo_stack: QUndoStack, sel_range, protocol, view: int):
          
          self.command = ZeroHideAction(protocol, self.following_zeros, view, self.zero_hide_offsets)
          action = QAction(self.command.text(), parent)
          action.triggered.connect(self.action_triggered)
          self.undo_stack = undo_stack
          return action
docs: :type parent: QTableView
          :type undo_stack: QUndoStack