[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] How to implement a synchronous two-column edit widget?
From:       Ruan WenBO <drizt.ruan () gmail ! com>
Date:       2009-08-26 3:00:30
Message-ID: b1d7589a0908252000n5a6015f0r25a5fc565a3ca02 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
I want to implement a two-column widget, the data will be viewed in
different form in two column, when the user scroll updown or select some
text in one of the widgets, the other one will scroll or select two. It just
like to add a line number column to a textEdit widget. I know QsciScintilla
has some function like this, but I want to show more than just line number.

I have tried some solutions , but none is perfect.I have read that
Q3TextEdit has a inherited signal "contentsMoving" maybe a good solution,
but I can't add this widget in Qt Designer. Can I use this widgets? Or can
you give any more ideas?



sincerely


drizt.ruan

[Attachment #5 (text/html)]

Hi,<br>I want to implement a two-column widget, the data will be viewed
in different form in two column, when the user scroll updown or select
some text in one of the widgets, the other one will scroll or select
two. It just like to add a line number column to a textEdit widget. I
know QsciScintilla has some function like this, but I want to show more
than just line number.<br>
<br>I have tried some solutions , but none is perfect.I have read that
Q3TextEdit has a inherited signal &quot;contentsMoving&quot; maybe a good
solution, but I can&#39;t add this widget in Qt Designer. Can I use this
widgets? Or can you give any more ideas?<br>
<br><br><br>sincerely<br><br><br>drizt.ruan<span style="border-collapse: separate; \
color: rgb(0, 0, 0); font-family: Arial; font-size: 14px; font-style: normal; \
font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: \
normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px;"><span style="font-size: 28px; font-weight: bold; text-align: center;"><a \
name="12353010a508cb54_//apple_ref/cpp/cl//Q3TextEdit"></a></span></span>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic