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

List:       kde-devel
Subject:    Re: Best widget for tailing log data?
From:       Robin Atwood <robin () binro ! org>
Date:       2009-12-30 13:24:55
Message-ID: 200912302024.55513.robin () binro ! org
[Download RAW message or body]

On Wednesday 30 December 2009, Kevin Krammer wrote:
> On Monday, 2009-12-28, Robin Atwood wrote:
> > What do people think is the best widget for "tailing" logging output from
> > a process? I looked at the numerous QText* widgets and QTextEdit seems a
> > good bet. But what is best, using a QTextCursor to add lines to the end
> > of the text and remove lines from the top, or keeping the log lines in an
> > eternal stack (via QStringList) and updating the widget en masse? The
> > amount of output will not normally be very large.
> 
> In case you are running the process locally, couldn't you just use an
>  embedded Konsole widget?

In principle, yes, but I have two output streams and I want to do some 
preprocessing before the lines are displayed. 

Cheers
-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------








 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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