Parts of Queensland have been smashed by record amounts of rainfall, causing flash flooding.