[Interest] Spell checking.

Alex Malyushytskyy alexmalvtk at gmail.com
Wed Oct 31 23:54:42 CET 2012


Since combobox is using QLineEdit for editing,
it provides a pointer to it with:
QLineEdit * QComboBox::lineEdit () const

Also you force it to use QLineEdit subclass with setLineEdit()

Alex



On Wed, Oct 31, 2012 at 10:07 AM, Bill Crocker
<william.crocker at analog.com> wrote:
> Hello:
>
> I am adding spell checking to my application.
>
> I have the spell checking engine.
>
> I can see how to use the QSyntaxHighlighter to
> to underline words that are spelled incorrectly
> in a QTextEdit.
>
> I understand that I can configure a QTextEdit
> to behave as a single line widget for use in
> place of a QLineEdit.
>
> But, how do I add spell checking to the single line
> QLineEdit of a QComboBox?
>
> Thanks.
>
> Bill
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list