QT: input slots now show if they are optional