Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTextEdit and predictive input mode, part 2
vasylp last edited by
This post continues the discussion, started in "my previous post":http://developer.qt.nokia.com/forums/viewthread/1309
I've found some other issues, regarding this problem. To be concrete, I wrote some test code, and you could download the sources and binaries from "here":http://bit.ly/c5xPdc
This test shows the fullscreen QTextEdit widget, where you can type any sort of text and the 'Show' softkey. This softkey shows the message box with the text, from the editor widget. The code is simple, and doesn't set up any widget's properties.
Now, ensure that T9 is on and try to do with this application the following:
Write A Sentence Where Each Word Starts From Capital Letter (I can't do this)
Start the new sentence from the lowercase letter (Ensure you've typed dot and space before)
Start the first word in the editor from the uppercase letter.
Write a single word, without the trailing spaces and press 'Show' button (It shows me nothing, only the second press on 'Show' shows me the word).
This code was tested on Nokia 5800 XpressMusic and N8 against Qt 4.6.3 library. And I also couldn't find any opened bugs related to this issue.
And here is the code:
class T9Test : public QMainWindow
T9Test(QWidget* parent = 0);
textField_ = new QTextEdit;
QAction* show = new QAction("Show", this);
connect(show, SIGNAL(triggered()), this, SLOT(showText()));
QMessageBox::information(this, "Text", textField_->toPlainText());
int main (int argc, char** argv)
QApplication app(argc, argv);
Fuzzbender last edited by
For auto-capitalization there seems to be some indication that there will be new input hints for it in Qt4.8.0: