[Qt-interest] How to get/set line spacing for a QTextEdit?
danny
tornadory at 163.com
Fri Dec 3 04:20:56 CET 2010
Hi ,
Thanks a lot. It's just the thing I need, and I hope it could be accepted as soon as possible, and now I will try to add it by your codes.
--
Best Regards,
At 2010-12-03 04:14:45,"Joshua Grauman" <jnfo-c at grauman.com> wrote:
>Danny,
>
>I've implemented this feature and sent the patch to Qt. I believe it is
>currently being tested to be integrated into Qt. See here:
>http://qt.gitorious.org/qt/qt/merge_requests/2305
>
>I also have a hack to get it to work currently, but you're better off with
>the patch if you can go that route. The hack is here (under
>qtextdocumentlayout):
>http://scrolltag.com/system/files/files/scrolltag_qtlibs.zip
>
>Josh
>
>> Hi Danny,
>>
>> I pretty sure Qt doesn't support line spacing for QTextEdit - at least in 4.
>> 6.0.
>>
>> Search the list archives. IIRC someone asked about this and ended up
>> implementing it themselves!
>>
>> Tony.
>>
>>
>> -----Original Message-----
>> From: qt-interest-bounces at trolltech.com
>> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of danny
>> Sent: Friday, 3 December 2010 00:49
>> To: Qt-interest Interest
>> Subject: [Qt-interest] How to get/set line spacing for a QTextEdit?
>>
>>
>> Hi all,
>>
>> Could I get/set the line spacing for a QTextEdit??
>>
>> Any one could give me some clues? I want to use QTextEdit(or other ralated)
>> to implement a text editor and it could be set some format such as the line
>> spacing.
>>
>> Thanks in advance.
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101203/3a538b69/attachment.html
More information about the Qt-interest-old
mailing list