maximum size of QLineEdit with setMaxLength()
I have a text which i need to fit in a QLineEdit.
The problem is the text is about 6.6 million characters long.
So now i set the max length of the QLineEdit to 10 million Characters like this:
lineEdit_example->setMaxLength(10000000);
But even if i set even larger limits, the text will get cut of at about 1/6th of the text length. So I think there is a upper limit for said function, which is not talked about in the documentation.
Could someone confirm my problem and maybe provide me with an solution/ workaround?
Help is much appreciated :)
Re: maximum size of QLineEdit with setMaxLength()
Hi, with a text that long, wouldn't it be more appropriate to use QTextEdit? 6 Million characters in a QLineEdit seems awfully long to me, without a scrollbar and so on.
Ginsengelf
Re: maximum size of QLineEdit with setMaxLength()
It actually brings up some issues, but the described problem is solved like that. :)
Thanks a lot for the help.