Thanks that's exactly what I was looking for.
I know setOption() and I'm using it to get (not by mistake but on purpose) Qt dialogs.
Doc about selectFile() didn't specify that this will populate lineedit so I skipped that function... eh.