#include <logView.h>
Inheritance diagram for VIEW::LogView:
Public Slots | |
virtual void | showGuestContextMenu (const QPoint &) |
bool | eventFilter (QObject *, QEvent *) |
Event filter logstream. | |
Public Member Functions | |
LogView (QWidget *parent=0, const char *name=0) throw () | |
Default Constructor. | |
LogView (const LogView &view) throw () | |
Copy constructor. | |
virtual | ~LogView () throw () |
Destructor. | |
virtual void | initializeWidget (MainControl &main_control) throw () |
Setup the menu entry in "Edit->Clear Logs". | |
virtual void | finalizeWidget (MainControl &main_control) throw () |
Remove menu entries. | |
void | logString (const String &text) |
Protected Member Functions | |
void | logNotify () |
Overridden notify call. |
The class LogView records all messages sent to the Log object and displays them as a text history. The class is derived from NotificationTarget<LogStreamNotifier> that provides the connection to the Log object. The class QTextEdit from the qt - library is responsible for the visualization of the text history. Use the class LogView as a widget. There are no initializations necessary. Just create this widget as a child widget of your application and it will record and show all messages sent to the Log object. The LogView supports URLs, that are included into the LogStream. The links must only be one line long. If such a link is clicked, it's document is shown in the HelpViewer. This can be used to show the corresponding section in the BALLView documentation for an occuring problem.
|
Default Constructor. The contructor connects the own stringstream with the Log object. If a string is written into Log this will be notified and the string will be displayed by this logView.
|
|
Copy constructor. Only for Python Interface The text of view will be copied into this logView. |
|
Destructor. Calls clear. |
|
Remove menu entries.
Reimplemented from VIEW::ModularWidget. |
|
Setup the menu entry in "Edit->Clear Logs".
Reimplemented from VIEW::DockWidget. |
|
Overridden notify call. Will be called by Log whenever a string is written to it. That string will then be displayed.
|