2010/6/28 Mats Rauhala <[email protected]>: > 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:[email protected] > > _______________________________________________ > maemo-developers mailing list > [email protected] > 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/ _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
