[maemo-developers] QLineEdit and casing

From: Benoît HERVIER khertan at khertan.net
Date: Wed Jun 30 22:06:14 EEST 2010
2010/6/28 Mats Rauhala <mats.rauhala at gmail.com>:
> I have trouble with uppercase letters with QLineEdit. I'm using
> QLineEdit as an input method for adding items to a list/set. The user
> write an item and presses return which causes the text to be handled and
> the QLineEdit cleared. But if the user wants to add another item, the
> text is no longer title cased. If the QLineEdit loses focus and regains
> it, the casing is nulled and the first line is again title cased. I'd
> like the texts to be always or never title cased for consistency.
>
> As far as I understand the title casing is caused by Maemo input methods,
> but I wasn't able to figure out the keywords for figuring out how to fix
> this.
>
> --
> Mats Rauhala
> sip:MasseR at ekiga.net
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>

Hi,

Personnaly, i just unactive it.

#Example in python
#Remove auto capitalization (self is an QTextEdit)
self.setInputMethodHints(Qt.ImhNoAutoUppercase)

Regards,
-- 
Benoît HERVIER, Khertan Software - http://khertan.net/
More information about the maemo-developers mailing list