qt - Temporarily disable QCompleter? -


i have qlineedit plus qlistview widget,

  1. when qlistview visible, completer should disabled.
  2. otherwise completer enabled.

but appears there's no enable/disable interface qcompleter. should then?

removing completer qlineedit disable it, can later set again enable it. remove it, call qlineedit::setcompleter(qcompleter*) null pointer. use same member function set/restore again later.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -