Image Component Library (ICL)
Classes | Public Member Functions | Static Private Attributes | List of all members
icl::qt::ThreadedUpdatableTextView Class Reference

#include <ThreadedUpdatableTextView.h>

Inheritance diagram for icl::qt::ThreadedUpdatableTextView:

Classes

struct  AddTextEvent
 
struct  ClearTextEvent
 

Public Member Functions

 ThreadedUpdatableTextView (QWidget *parent=0)
 
void appendTextFromOtherThread (const std::string &text)
 
void clearTextFromOtherThread ()
 
virtual bool event (QEvent *event)
 automatically called by Qt's event processing mechanism More...
 

Static Private Attributes

static const QEvent::Type ADD_TEXT =(QEvent::Type)(QEvent::User+1)
 
static const QEvent::Type CLEAR_TEXT =(QEvent::Type)(QEvent::User+2)
 

Constructor & Destructor Documentation

◆ ThreadedUpdatableTextView()

icl::qt::ThreadedUpdatableTextView::ThreadedUpdatableTextView ( QWidget *  parent = 0)
inline

Member Function Documentation

◆ appendTextFromOtherThread()

void icl::qt::ThreadedUpdatableTextView::appendTextFromOtherThread ( const std::string &  text)

◆ clearTextFromOtherThread()

void icl::qt::ThreadedUpdatableTextView::clearTextFromOtherThread ( )

◆ event()

virtual bool icl::qt::ThreadedUpdatableTextView::event ( QEvent *  event)
virtual

automatically called by Qt's event processing mechanism

Member Data Documentation

◆ ADD_TEXT

const QEvent::Type icl::qt::ThreadedUpdatableTextView::ADD_TEXT =(QEvent::Type)(QEvent::User+1)
staticprivate

◆ CLEAR_TEXT

const QEvent::Type icl::qt::ThreadedUpdatableTextView::CLEAR_TEXT =(QEvent::Type)(QEvent::User+2)
staticprivate

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