ACF $AcfVersion:0$
Public Types | Protected Member Functions | List of all members
iloggui::CTextLogGuiComp Class Reference

Text-based log viewer with rich formatting. More...

#include <CTextLogGuiComp.h>

Inheritance diagram for iloggui::CTextLogGuiComp:
iqtgui::TDesignerGuiObserverCompBase< Ui::CTextLogGuiComp, ilog::IMessageContainer > ibase::TModelObserverCompBaseWrap< ObserverComponent >

Public Types

typedef iqtgui::TDesignerGuiObserverCompBase< Ui::CTextLogGuiComp, ilog::IMessageContainerBaseClass
 
- Public Types inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
typedef ObserverComponent BaseClass
 

Protected Member Functions

virtual void UpdateGui (const istd::IChangeable::ChangeSet &changeSet) override
 
virtual void OnGuiCreated () override
 
virtual void OnGuiRetranslate () override
 
- Protected Member Functions inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
virtual void OnComponentCreated () override
 
virtual void OnComponentDestroyed () override
 

Detailed Description

Text-based log viewer with rich formatting.

CTextLogGuiComp provides a read-only, rich-text display of log messages using QTextEdit. It observes a message container and updates its display automatically when messages are added.

The component displays messages in a formatted table with icons, timestamps, sources, and message text. It provides filtering controls for severity, source, and message content.

This component is simpler than CLogGuiComp and is best suited for read-only log displays where advanced features like export and commands aren't needed.

For detailed documentation including configuration and usage examples, see the iloggui library documentation.

Quick Example
// Create log container
// Create text log viewer
// Configure to observe container
// In .acc: Model -> logContainer
// Get widget for display
QWidget* widget = textLog->GetWidget();
layout->addWidget(widget);
// Messages added to logContainer appear automatically
Complete logging component with message storage and container interface.
Definition CLogComp.h:86
Text-based log viewer with rich formatting.
Shared ownership smart pointer for interface types.
See also
iloggui - Logging GUI Components, ilog::IMessageContainer, iqtgui::TDesignerGuiObserverCompBase

Definition at line 60 of file CTextLogGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 68 of file CTextLogGuiComp.h.

Member Function Documentation

◆ OnGuiCreated()

virtual void iloggui::CTextLogGuiComp::OnGuiCreated ( )
overrideprotectedvirtual

◆ OnGuiRetranslate()

virtual void iloggui::CTextLogGuiComp::OnGuiRetranslate ( )
overrideprotectedvirtual

◆ UpdateGui()

virtual void iloggui::CTextLogGuiComp::UpdateGui ( const istd::IChangeable::ChangeSet changeSet)
overrideprotectedvirtual

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