qtui: Refactor FilterInput usage