On Monday, November 29, 2010, Thomas wrote: > @input_number.nativeWidget().setCompletedItems(matches, true)
nativeWidget() is not supported, no. the reason for this is to keep the bindings small (better runtime performance (particularly startup) and easier to learn) and to ensure we could be satisfied with the general safety of the bindings (untrusted code, etc.) > Do you have any suggestions on how to achieve autocompletion for LineEdits? we'd have to add support to the javascript bindings for this to work. KCompletionBase (which is where KLineEdit gets this support from) has a handful of methods that are relevant and potentially useful in these situations. so, it is possible. would have to wait for 4.7 at this point though :( to be clear: are you wanting the UI to show all matching items in a list beneath the line edit, or are you wanting it to just complete the "best" match in-line? -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel