CustusX  22.04-rc5
An IGT application
cx::LogMessageDisplayWidget Class Referenceabstract

#include <cxConsoleWidget.h>

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

Public Member Functions

 LogMessageDisplayWidget (QWidget *parent)
 
virtual ~LogMessageDisplayWidget ()
 
virtual void clear ()=0
 
virtual void add (const Message &message)=0
 
virtual void normalize ()=0
 
virtual QString getType () const =0
 
virtual void setScrollToBottom (bool on)=0
 
virtual void showHeader (bool on)=0
 

Protected Member Functions

void createTextCharFormats ()
 sets up the formating rules for the message levels More...
 

Protected Attributes

std::map< MESSAGE_LEVEL, QTextCharFormat > mFormat
 

Detailed Description

Definition at line 36 of file cxConsoleWidget.h.

Constructor & Destructor Documentation

cx::LogMessageDisplayWidget::LogMessageDisplayWidget ( QWidget *  parent)

< sets up the formating rules for the message levels

Definition at line 44 of file cxConsoleWidget.cpp.

virtual cx::LogMessageDisplayWidget::~LogMessageDisplayWidget ( )
inlinevirtual

Definition at line 40 of file cxConsoleWidget.h.

Member Function Documentation

virtual void cx::LogMessageDisplayWidget::add ( const Message message)
pure virtual
virtual void cx::LogMessageDisplayWidget::clear ( )
pure virtual
void cx::LogMessageDisplayWidget::createTextCharFormats ( )
protected

sets up the formating rules for the message levels

Definition at line 49 of file cxConsoleWidget.cpp.

virtual QString cx::LogMessageDisplayWidget::getType ( ) const
pure virtual
virtual void cx::LogMessageDisplayWidget::normalize ( )
pure virtual
virtual void cx::LogMessageDisplayWidget::setScrollToBottom ( bool  on)
pure virtual
virtual void cx::LogMessageDisplayWidget::showHeader ( bool  on)
pure virtual

Member Data Documentation

std::map<MESSAGE_LEVEL, QTextCharFormat> cx::LogMessageDisplayWidget::mFormat
protected

Definition at line 49 of file cxConsoleWidget.h.


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