Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, December 2006
behavior of QTextEdit


Message 1 in thread

Hi all, i'm here because i've broken my mind alredy :))

Preface.
I want to produce a kind of text terminal emulator to comunicate with my  
server system.
So i decide to use the QTextEdit (actually, derivative of QTextEdit) for  
input/output
field.

Some problems i met:
1. i actuallly do _not_ want scroll my text content and want have "cycle  
text area"
    instead. I easy won over the horisontal scrollbar with  
setLineWrapMode() and
    setLineWrapColumnOrWidth(). But what to do wiht vertical scrolling?  
Searching
    through the web i saw many questions and answers about this subject but  
noone
    wants to deny such scrolling :)
2. using QTextEdit, can i set its properties  so it can accept only 2000  
(80x25)
    symbols and no one more? I think this is tied with previous clause and  
maybe
    QTextEdit is a wrong selection for my purposes?

Thanks for attention and excuse my basic english.

-- 
 [ signature omitted ]