[Interest] QCompleter and keys beginning with @

helferthomas at free.fr helferthomas at free.fr
Tue Jan 26 18:10:42 CET 2016


Hi,

I am using the QTextExit class with QCompleter.

I have a domain specific languages whose keywords begins with @. I can't get QCompleter to work with such keywords.

More precisely, if I use the following code:

this->c = new QCompleter(QStringList() << "test" << "@Test",&t);

I get completion for 'test' but not for '@Test'. Is this a limitation of QCompleter ? Is there a workaround ?

Thank for your attention,

Regards,
Helfer Thomas



More information about the Interest mailing list