This class represents a dockable console for DGVMainVTK class. More...
#include <DGVConsole.h>
Public Slots | |
| void | toFinalEntry () |
| Selects the final entry. | |
Signals | |
| void | consoleChanged () |
| Signal used when messages are printed in console. | |
Public Member Functions | |
| DGVConsole (QWidget *parent=0) | |
| Standard constructor. | |
| virtual | ~DGVConsole () |
| Standard destrutor. | |
| void | printError (QString error) |
| Outputs the error message in the console in red. | |
| void | printWarning (QString warning) |
| Outputs the warning message in the console in blue. | |
| void | printInfo (QString info) |
| Outputs the info message in the console in black. | |
| void | printMessage (QString msg) |
| Outputs the message in the console in green. | |
Protected Member Functions | |
| void | createConnections () |
| Creates the internal connections for the console. | |
Protected Attributes | |
| QListWidget * | listDisplay |
| Output widget. | |
This class represents a dockable console for DGVMainVTK class.
Console display and handling class that controls DGV error, info and warning outputs. It allows the output of various levels of messages using colours on a QListWidget.
Definition at line 39 of file DGVConsole.h.
| DGVConsole::DGVConsole | ( | QWidget * | parent = 0 |
) |
Standard constructor.
Definition at line 24 of file DGVConsole.cpp.
| DGVConsole::~DGVConsole | ( | ) | [virtual] |
Standard destrutor.
Definition at line 33 of file DGVConsole.cpp.
| void DGVConsole::consoleChanged | ( | ) | [signal] |
Signal used when messages are printed in console.
Definition at line 86 of file moc_DGVConsole.cpp.
| void DGVConsole::createConnections | ( | ) | [protected] |
Creates the internal connections for the console.
Definition at line 93 of file DGVConsole.cpp.
| void DGVConsole::printError | ( | QString | error | ) |
Outputs the error message in the console in red.
< Process Qt Events
Definition at line 38 of file DGVConsole.cpp.
| void DGVConsole::printInfo | ( | QString | info | ) |
Outputs the info message in the console in black.
< Process Qt Events
Definition at line 66 of file DGVConsole.cpp.
| void DGVConsole::printMessage | ( | QString | msg | ) |
Outputs the message in the console in green.
< Process Qt Events
Definition at line 74 of file DGVConsole.cpp.
| void DGVConsole::printWarning | ( | QString | warning | ) |
Outputs the warning message in the console in blue.
< Process Qt Events
Definition at line 52 of file DGVConsole.cpp.
| DGVConsole::toFinalEntry | ( | ) | [inline, slot] |
Selects the final entry.
Definition at line 81 of file DGVConsole.h.
QListWidget* DGVConsole::listDisplay [protected] |
Output widget.
Definition at line 92 of file DGVConsole.h.
1.7.1