OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Logging Class Reference

#include "Logging.h"

Inheritance diagram for Logging:
otoolkit::Tool

Public Slots

void slotUpdateColumnWidth (void)
 
void runQuickExport (void)
 
void slotConnect (void)
 
void slotAutoConnect (void)
 
void slotImport (void)
 
void slotExport (void)
 
void slotClear (void)
 
void slotClearAll (void)
 
void slotFilterChanged (void)
 
void slotAutoScrollToBottomChanged (void)
 
void slotUpdateCheckboxColors (void)
 
void slotToggleAutoConnect (void)
 
void slotViewCellContent (QTableWidgetItem *_itm)
 
void slotScrollToItem (int _row)
 

Public Member Functions

 Logging ()
 
virtual ~Logging ()
 
virtual QString getToolName (void) const override
 Return the unique tool name The name will be used to create all required menu entries.
 
virtual bool runTool (QMenu *_rootMenu, otoolkit::ToolWidgets &_content) override
 Create the central widget that will be displayed to the user in the main tab view.
 
virtual void restoreToolSettings (QSettings &_settings) override
 
virtual bool prepareToolShutdown (QSettings &_settings) override
 Stop all the logic of this tool.
 
void appendLogMessage (const ot::LogMessage &_msg)
 
void appendLogMessages (const std::list< ot::LogMessage > &_messages)
 
- Public Member Functions inherited from otoolkit::Tool
 Tool ()
 
virtual ~Tool ()
 
virtual QIcon getToolIcon (void) const
 Return the icon that will be used in the tool menu.
 
virtual void toolWasShown (void)
 
virtual void toolWasHidden (void)
 
void setToolIsRunning (bool _isRunning)
 
bool getToolIsRunning (void) const
 
void setToolIsExternal (bool _isExternal)
 
bool getToolIsExternal (void) const
 

Static Public Member Functions

static QString logMessageTypeString (const ot::LogMessage &_msg)
 

Additional Inherited Members

- Protected Member Functions inherited from otoolkit::Tool
ot::WidgetViewcreateCentralWidgetView (QWidget *_widget, const QString &_widgetName) const
 
ot::WidgetViewcreateSideWidgetView (QWidget *_widget, const QString &_widgetName) const
 
ot::WidgetViewcreateToolWidgetView (QWidget *_widget, const QString &_widgetName) const
 

Constructor & Destructor Documentation

◆ Logging()

Logging::Logging ( )

◆ ~Logging()

Logging::~Logging ( )
virtual

Member Function Documentation

◆ appendLogMessage()

void Logging::appendLogMessage ( const ot::LogMessage & _msg)

◆ appendLogMessages()

void Logging::appendLogMessages ( const std::list< ot::LogMessage > & _messages)

◆ getToolName()

QString Logging::getToolName ( void ) const
overridevirtual

Return the unique tool name The name will be used to create all required menu entries.

Implements otoolkit::Tool.

◆ logMessageTypeString()

QString Logging::logMessageTypeString ( const ot::LogMessage & _msg)
static

◆ prepareToolShutdown()

bool Logging::prepareToolShutdown ( QSettings & _settings)
overridevirtual

Stop all the logic of this tool.

Reimplemented from otoolkit::Tool.

◆ restoreToolSettings()

void Logging::restoreToolSettings ( QSettings & _settings)
overridevirtual

Reimplemented from otoolkit::Tool.

◆ runQuickExport

void Logging::runQuickExport ( void )
slot

◆ runTool()

bool Logging::runTool ( QMenu * _rootMenu,
otoolkit::ToolWidgets & _content )
overridevirtual

Create the central widget that will be displayed to the user in the main tab view.

Implements otoolkit::Tool.

◆ slotAutoConnect

void Logging::slotAutoConnect ( void )
slot

◆ slotAutoScrollToBottomChanged

void Logging::slotAutoScrollToBottomChanged ( void )
slot

◆ slotClear

void Logging::slotClear ( void )
slot

◆ slotClearAll

void Logging::slotClearAll ( void )
slot

◆ slotConnect

void Logging::slotConnect ( void )
slot

◆ slotExport

void Logging::slotExport ( void )
slot

◆ slotFilterChanged

void Logging::slotFilterChanged ( void )
slot

◆ slotImport

void Logging::slotImport ( void )
slot

◆ slotScrollToItem

void Logging::slotScrollToItem ( int _row)
slot

◆ slotToggleAutoConnect

void Logging::slotToggleAutoConnect ( void )
slot

◆ slotUpdateCheckboxColors

void Logging::slotUpdateCheckboxColors ( void )
slot

◆ slotUpdateColumnWidth

void Logging::slotUpdateColumnWidth ( void )
slot

◆ slotViewCellContent

void Logging::slotViewCellContent ( QTableWidgetItem * _itm)
slot

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