[PyQt] Log viewer

Mark Summerfield mark at qtrac.eu
Mon Jan 19 09:41:57 GMT 2009


On 2009-01-16, Frédéric wrote:
> On vendredi 16 janvier 2009, Mark Summerfield wrote:
> > If you have 100K + log lines then a list model + QListView (+ custom
> > delegate if you want fine control over rendering); but anything less and
> > QPlainTextEdit + a simple data class should be fine. (I'm guessing about
> > the 100K of course but you get the point.)
>
> I like this QListView idea :o) This will allow a better control on the
> display, like dynamically hide/show specific levels or so.

Good:-)

> I read your paper about the MVC improvement over Qt default delegate
> implementation; do you explain it in your python/Qt book (I'm about to
> receive it), with python examples?

If you mean my document on generic delegates, yes, I cover that in the
PyQt book in chapter 16.

> I enjoy very much such patterns, and I will certainly comme back to
> you (through the list) for more advices (I'm looking for a generic
> plugins framework)...
>
> Thank you again for you help.

:-)

-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Programming in Python 3" - ISBN 0137129297




More information about the PyQt mailing list