CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::SimpleLogMessageDisplayWidget Class Reference

#include <cxConsoleWidget.h>

Inheritance diagram for cx::SimpleLogMessageDisplayWidget:
cx::LogMessageDisplayWidget

Public Member Functions

 SimpleLogMessageDisplayWidget (QWidget *parent=NULL)
 
virtual ~SimpleLogMessageDisplayWidget ()
 
virtual void clear ()
 
virtual void add (const Message &message)
 
virtual void normalize ()
 
virtual QString getType () const
 
virtual void setScrollToBottom (bool on)
 
virtual void showHeader (bool on)
 
void format (const Message &message)
 formats the text to suit the message level More...
 
QString getCompactMessage (Message message)
 
- Public Member Functions inherited from cx::LogMessageDisplayWidget
 LogMessageDisplayWidget (QWidget *parent)
 
virtual ~LogMessageDisplayWidget ()
 

Public Attributes

QTextBrowser * mBrowser
 

Additional Inherited Members

- Protected Member Functions inherited from cx::LogMessageDisplayWidget
void createTextCharFormats ()
 sets up the formating rules for the message levels More...
 
- Protected Attributes inherited from cx::LogMessageDisplayWidget
std::map< MESSAGE_LEVEL, QTextCharFormat > mFormat
 

Detailed Description

Definition at line 72 of file cxConsoleWidget.h.

Constructor & Destructor Documentation

cx::SimpleLogMessageDisplayWidget::SimpleLogMessageDisplayWidget ( QWidget *  parent = NULL)

-----------------------------------------------------—


Definition at line 233 of file cxConsoleWidget.cpp.

virtual cx::SimpleLogMessageDisplayWidget::~SimpleLogMessageDisplayWidget ( )
inlinevirtual

Definition at line 76 of file cxConsoleWidget.h.

Member Function Documentation

void cx::SimpleLogMessageDisplayWidget::add ( const Message message)
virtual

Implements cx::LogMessageDisplayWidget.

Definition at line 258 of file cxConsoleWidget.cpp.

void cx::SimpleLogMessageDisplayWidget::clear ( )
virtual

Implements cx::LogMessageDisplayWidget.

Definition at line 247 of file cxConsoleWidget.cpp.

void cx::SimpleLogMessageDisplayWidget::format ( const Message message)

formats the text to suit the message level

Definition at line 292 of file cxConsoleWidget.cpp.

QString cx::SimpleLogMessageDisplayWidget::getCompactMessage ( Message  message)

Definition at line 279 of file cxConsoleWidget.cpp.

virtual QString cx::SimpleLogMessageDisplayWidget::getType ( ) const
inlinevirtual

Implements cx::LogMessageDisplayWidget.

Definition at line 80 of file cxConsoleWidget.h.

void cx::SimpleLogMessageDisplayWidget::normalize ( )
virtual

Implements cx::LogMessageDisplayWidget.

Definition at line 253 of file cxConsoleWidget.cpp.

void cx::SimpleLogMessageDisplayWidget::setScrollToBottom ( bool  on)
virtual

Implements cx::LogMessageDisplayWidget.

Definition at line 267 of file cxConsoleWidget.cpp.

virtual void cx::SimpleLogMessageDisplayWidget::showHeader ( bool  on)
inlinevirtual

Implements cx::LogMessageDisplayWidget.

Definition at line 82 of file cxConsoleWidget.h.

Member Data Documentation

QTextBrowser* cx::SimpleLogMessageDisplayWidget::mBrowser

Definition at line 84 of file cxConsoleWidget.h.


The documentation for this class was generated from the following files: