PeriDyno 1.2.1
Loading...
Searching...
No Matches
dyno::PLogWidget Class Reference

#include <PLogWidget.h>

Inheritance diagram for dyno::PLogWidget:
Collaboration diagram for dyno::PLogWidget:

Public Slots

void onPrintMessage (const Log::Message &m)
 
void onClear (void)
 
void onClearAll (void)
 

Public Member Functions

QSize sizeHint () const override
 
int sizeHintForColumn (int column) const override
 
void toggleLogging ()
 

Static Public Member Functions

static PLogWidget * instance ()
 
static void RecieveLogMessage (const Log::Message &m)
 
static void setOutput (std::string filename)
 

Protected Member Functions

void contextMenuEvent (QContextMenuEvent *pContextMenuEvent)
 
QIcon getIcon (const QString &name)
 

Private Member Functions

 PLogWidget (QWidget *pParent=NULL)
 

Private Attributes

bool mEnableLogging = false
 

Static Private Attributes

static std::atomic< PLogWidget * > gInstance
 
static std::mutex gMutex
 

Detailed Description

Definition at line 24 of file PLogWidget.h.

Constructor & Destructor Documentation

◆ PLogWidget()

dyno::PLogWidget::PLogWidget ( QWidget * pParent = NULL)
private

Definition at line 116 of file PLogWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ contextMenuEvent()

void dyno::PLogWidget::contextMenuEvent ( QContextMenuEvent * pContextMenuEvent)
protected

Definition at line 212 of file PLogWidget.cpp.

Here is the call graph for this function:

◆ getIcon()

QIcon dyno::PLogWidget::getIcon ( const QString & name)
protected

Definition at line 221 of file PLogWidget.cpp.

Here is the caller graph for this function:

◆ instance()

PLogWidget * dyno::PLogWidget::instance ( )
static

Definition at line 101 of file PLogWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onClear

void dyno::PLogWidget::onClear ( void )
slot

Definition at line 193 of file PLogWidget.cpp.

◆ onClearAll

void dyno::PLogWidget::onClearAll ( void )
slot

Definition at line 201 of file PLogWidget.cpp.

Here is the caller graph for this function:

◆ onPrintMessage

void dyno::PLogWidget::onPrintMessage ( const Log::Message & m)
slot

Definition at line 155 of file PLogWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RecieveLogMessage()

void dyno::PLogWidget::RecieveLogMessage ( const Log::Message & m)
static

Definition at line 207 of file PLogWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setOutput()

void dyno::PLogWidget::setOutput ( std::string filename)
static

Definition at line 145 of file PLogWidget.cpp.

Here is the call graph for this function:

◆ sizeHint()

QSize dyno::PLogWidget::sizeHint ( ) const
override

Definition at line 226 of file PLogWidget.cpp.

◆ sizeHintForColumn()

int dyno::PLogWidget::sizeHintForColumn ( int column) const
override

Definition at line 231 of file PLogWidget.cpp.

◆ toggleLogging()

void dyno::PLogWidget::toggleLogging ( )

Definition at line 150 of file PLogWidget.cpp.

Member Data Documentation

◆ gInstance

std::atomic< PLogWidget * > dyno::PLogWidget::gInstance
staticprivate

Definition at line 52 of file PLogWidget.h.

◆ gMutex

std::mutex dyno::PLogWidget::gMutex
staticprivate

Definition at line 53 of file PLogWidget.h.

◆ mEnableLogging

bool dyno::PLogWidget::mEnableLogging = false
private

Definition at line 55 of file PLogWidget.h.


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