The Queensland government will hold a parliamentary inquiry into grocery prices at the big supermarket chains.