[Qt-interest] How can I get X:Y position of some words from QPlainTextEditor?

Юрий Гордиенко hordi at ukr.net
Tue Dec 30 17:20:07 CET 2008


Hi    I need get X:Y position of some words from QPlainTexEditor (I should make some marks onto ScrollBar for visual navigate).    I was find the function:    QRectF QTextControlPrivate::rectForPosition(int position) const    and was migrate it to my QPlainTexEditor-class but it doesn't works. Anybody please help me... Where I mistaked?    
    Thanks    
--    
    Iurii Gordiienko  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081230/bbf758e1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1009 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20081230/bbf758e1/attachment.obj 


More information about the Qt-interest-old mailing list