Qt Code:
  1. pb.setValue(pb.maximum());
To copy to clipboard, switch view to plain text mode