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

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -