Add input state to Qt, as required