MNE-CPP
beta 1.0
|
The InformationWindow class provides a dockable InformationWindow window. More...
#include <informationwindow.h>
Public Member Functions | |
InformationWindow (QWidget *parent=0) | |
~InformationWindow () | |
void | writeToLog (const QString &logMsg, LogKind lgknd, LogLevel lglvl) |
void | setLogLevel (LogLevel lvl) |
The InformationWindow class provides a dockable InformationWindow window.
DECLARE CLASS InformationWindow
Definition at line 75 of file informationwindow.h.
InformationWindow::InformationWindow | ( | QWidget * | parent = 0 | ) |
Constructs a InformationWindow dialog which is a child of parent.
[in] | parent | pointer to parent widget; If parent is 0, the new InformationWindow becomes a window. If parent is another widget, InformationWindow becomes a child window inside parent. InformationWindow is deleted when its parent is deleted. |
Definition at line 58 of file informationwindow.cpp.
InformationWindow::~InformationWindow | ( | ) |
Destroys the InformationWindow. All InformationWindow's children are deleted first. The application exits if InformationWindow is the main widget.
Definition at line 70 of file informationwindow.cpp.
void InformationWindow::setLogLevel | ( | LogLevel | lvl | ) |
Sets the log level
[in] | lvl | message level; Message is displayed depending on its level. |
Definition at line 100 of file informationwindow.cpp.
void InformationWindow::writeToLog | ( | const QString & | logMsg, |
LogKind | lgknd, | ||
LogLevel | lglvl | ||
) |
Writes to MainWindow log.
[in] | logMsg | message |
[in] | lgknd | message kind; Message is formated depending on its kind. |
[in] | lglvl | message level; Message is displayed depending on its level. |
Definition at line 78 of file informationwindow.cpp.