Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes

DGVConsole Class Reference

This class represents a dockable console for DGVMainVTK class. More...

#include <DGVConsole.h>

List of all members.

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.

Detailed Description

This class represents a dockable console for DGVMainVTK class.

Author:
Shekhar S. Chandra, 2008

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

QListWidget* DGVConsole::listDisplay [protected]

Output widget.

Definition at line 92 of file DGVConsole.h.


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