CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 93 of file cxConsoleWidget.h.

Constructor & Destructor Documentation

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

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


Definition at line 257 of file cxConsoleWidget.cpp.

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

Definition at line 97 of file cxConsoleWidget.h.

Member Function Documentation

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

Implements cx::LogMessageDisplayWidget.

Definition at line 282 of file cxConsoleWidget.cpp.

void cx::SimpleLogMessageDisplayWidget::clear ( )
virtual

Implements cx::LogMessageDisplayWidget.

Definition at line 271 of file cxConsoleWidget.cpp.

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

formats the text to suit the message level

Definition at line 316 of file cxConsoleWidget.cpp.

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

Definition at line 303 of file cxConsoleWidget.cpp.

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

Implements cx::LogMessageDisplayWidget.

Definition at line 101 of file cxConsoleWidget.h.

void cx::SimpleLogMessageDisplayWidget::normalize ( )
virtual

Implements cx::LogMessageDisplayWidget.

Definition at line 277 of file cxConsoleWidget.cpp.

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

Implements cx::LogMessageDisplayWidget.

Definition at line 291 of file cxConsoleWidget.cpp.

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

Implements cx::LogMessageDisplayWidget.

Definition at line 103 of file cxConsoleWidget.h.

Member Data Documentation

QTextBrowser* cx::SimpleLogMessageDisplayWidget::mBrowser

Definition at line 105 of file cxConsoleWidget.h.


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