Developer Documentation
|
Implementation of the logger Widget. More...
#include <OpenFlipper/widgets/loggerWidget/loggerWidget.hh>
Public Member Functions | |
LoggerWidget (QWidget *parent=0) | |
void | append (const QString &_text, Logtype _type) |
Append a new logmessage to log viewer. More... | |
Public Attributes | |
QAction * | openMeshFilterAction_ |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *_event) |
Grab key events. More... | |
void | contextMenuEvent (QContextMenuEvent *event) |
Show context menu. More... | |
void | showEvent (QShowEvent *event) |
Called when the widget is shown. More... | |
Private Slots | |
void | updateList () |
update the list if a button was pressed | |
void | copySelected () |
copy Selected rows to clipboard | |
void | slotScrollUpdate () |
Called when we want to scroll to the bottom. | |
void | slotFilterMenu () |
Called when filter button is pressed. | |
Implementation of the logger Widget.
This class adds some special features to the textedit for the log window
Definition at line 70 of file loggerWidget.hh.
void LoggerWidget::append | ( | const QString & | _text, |
Logtype | _type | ||
) |
Append a new logmessage to log viewer.
Display log message of given logtype
Definition at line 191 of file loggerWidget.cc.
|
protected |
Show context menu.
show context menu
This function shows the context menu
Definition at line 329 of file loggerWidget.cc.
|
protected |
Grab key events.
handle keyPressEvents
This function grabs all key events and passes them back to the core to handle them correctly
Definition at line 314 of file loggerWidget.cc.
|
protected |
Called when the widget is shown.
Function scrolls to bottom if the object gets visible
Definition at line 307 of file loggerWidget.cc.