LibEngsas
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ELogObjectPrivate Class Reference

Logging Object used internal by ELogObject. More...

#include <elogobjectprivate.h>

+ Inheritance diagram for ELogObjectPrivate:
+ Collaboration diagram for ELogObjectPrivate:

Public Member Functions

 ELogObjectPrivate (QObject *parent=NULL)
 
 ~ELogObjectPrivate ()
 
void init (QString filePath)
 
void setup (EObject *object)
 
void setup (EWidget *object)
 
- Public Member Functions inherited from EObject
 EObject (QObject *parent=0)
 
virtual ~EObject ()
 
void connectByPass (QObject *object)
 

Private Slots

void addMessage (QtMsgType type, const QString msg)
 
void setInformation (QString msg)
 
void setWarning (QString msg)
 
void setError (QString msg)
 

Private Member Functions

void appendMessage (QString msg, QColor color)
 
void setupLogWidget ()
 

Private Attributes

QMutex mutex
 
QTextEdit * logEdit
 
QFile logFile
 

Additional Inherited Members

- Public Slots inherited from EObject
virtual void reloadSettings ()
 Used to reload the settings. More...
 
- Signals inherited from EObject
void error (const QString &message)
 
void warning (const QString &message)
 
void information (const QString &message)
 
void reloadEnableActions ()
 Request reloading of enabled actions in EMainWindow. More...
 
void addMenu (QMenu *newMenu, const QString &parent, QString before=QString())
 
void addAction (QAction *newAction, const QString &parent, QString before=QString())
 
void addToolBar (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea)
 
void addNewDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area)
 
void setCentralWidget (QWidget *centralWidget)
 
void showSettings ()
 
void showHelp (const QString &page)
 
void showStatusWidget (QWidget *widget)
 
void reloadSettingsRequest ()
 Indicates, that a reload of the settings is needed. More...
 
void doReloadSettings ()
 Emitted to bring the reload request back to the farest child. More...
 
- Static Public Member Functions inherited from EObject
static void connectByPass (QObject *parent, QObject *child)
 
- Protected Slots inherited from EObject
virtual void errorByPass (const QString &message)
 
virtual void warningByPass (const QString &message)
 
virtual void informationByPass (const QString &message)
 
virtual void reloadEnableActionsByPass ()
 
virtual void addMenuByPass (QMenu *newMenu, const QString &parent, QString before=QString())
 
virtual void addActionByPass (QAction *newAction, const QString &parent, QString before=QString())
 
virtual void addToolBarByPass (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea)
 
virtual void addNewDockWidgetByPass (QDockWidget *widget, const Qt::DockWidgetArea &area)
 
virtual void setCentralWidgetByPass (QWidget *centralWidget)
 
virtual void showSettingsByPass ()
 
virtual void showHelpByPass (const QString &page)
 
virtual void showStatusWidgetByPass (QWidget *widget)
 
virtual void reloadSettingsRequestByPass ()
 
- Protected Member Functions inherited from EObject
void addManagedDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area, QString actionLabel=QString(), QString actionParent=QString())
 Adds an dock widget via addNewDockWidget() and adds widget to the list of managed dock widgets. More...
 

Detailed Description

Logging Object used internal by ELogObject.

Constructor & Destructor Documentation

ELogObjectPrivate::ELogObjectPrivate ( QObject *  parent = NULL)
ELogObjectPrivate::~ELogObjectPrivate ( )

Member Function Documentation

void ELogObjectPrivate::addMessage ( QtMsgType  type,
const QString  msg 
)
privateslot
Todo:
use content to specify line and file of message source.
void ELogObjectPrivate::appendMessage ( QString  msg,
QColor  color 
)
private

+ Here is the caller graph for this function:

void ELogObjectPrivate::init ( QString  filePath)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ELogObjectPrivate::setError ( QString  msg)
privateslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ELogObjectPrivate::setInformation ( QString  msg)
privateslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ELogObjectPrivate::setup ( EObject object)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ELogObjectPrivate::setup ( EWidget object)

+ Here is the call graph for this function:

void ELogObjectPrivate::setupLogWidget ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ELogObjectPrivate::setWarning ( QString  msg)
privateslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

QTextEdit* ELogObjectPrivate::logEdit
private
QFile ELogObjectPrivate::logFile
private
QMutex ELogObjectPrivate::mutex
private

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