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.croc...@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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest