qt: fix dialog tab-key navigation bug
This fixes #25923 (closed).
I've also fixed a couple of very trivial issues I spotted in the effects panel construction code whilst investigating this - an incorrect widget parent and two useless duplicate statements.