https://bugs.kde.org/show_bug.cgi?id=402922

--- Comment #29 from caulier.gil...@gmail.com ---
Maik,

I fixed all the places to support spell checking in text fields. All uses the
KF5::Sonnet component to provide this feature on QTextEdit and QPlainTextEdit.
New classes are hosted to libs/widgets/text/dtextedit.h|.cpp

One important point is the lack of support of DLineEdit for the spell-checking
with KF5::Sonnet. For this purpose i created a mode to mimic DLineEdit with 2
classes based on DTextEdit and DPlainTextEdit hosted in dtextedit
implementation. But it's not perfect as QValidator and QCompleter are not
supported in these classes.

It still todo : 

1/ the Album Properties dialog and the Title property. This field is based on
QLineEdit+QValidator to limit characters. 
2/ the tags enter text field in Image Properties sidebar view. It's a
AddTagsLineEdit based on QLineEdit+QCompleter. 

1/ Can be easy to do to wrap QPlainTextEdit::textChanged() signal to a slot
where characters will be filtered. It's not an universal solution as to use
QValidator.

2/ I'm not sure if spell-checking + auto-completion will be compatible at
run-time.

What do you think about ?

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to