CConsole Class Reference

#include <CConsole.h>

List of all members.

Signals

void LogStatusChange (int, bool)

Public Member Functions

 CConsole (QWidget *parent=0)
 ~CConsole ()
void SetLogStatus (int what, bool tf)
void Log (QString &text, int id)
void Log (const char *text, int id)
void Log (int nmb, int id)
void Log (float nmb, int id)
void Log (double nmb, int id)
void Log (QVariant &log, int id)

Protected Member Functions

void showEvent (QShowEvent *event)
void hideEvent (QHideEvent *event)

Private Slots

void on_qualitySlider_valueChanged (int)
void on_logAllCheckbox_clicked (bool)
void update ()
void on_actionSave_triggered ()
void on_actionClear_triggered ()
void on_actionOpenGL_triggered ()

Private Member Functions

void statusChange (int what, bool tf)

Private Attributes

Ui::CConsoleClass ui
QQueue< QString > logQueue
QMutex logQueueLocker
QThread * pCreateThread
QTimer * pTimer
QIcon iconEnable
QIcon iconDisable
volatile int rowNmb
volatile bool bOpenGlLog
volatile bool bLogAll
volatile int quality
volatile int q
bool consoleIsHidden


Detailed Description

Definition at line 22 of file CConsole.h.


Constructor & Destructor Documentation

CConsole::CConsole ( QWidget *  parent = 0  ) 

CConsole::~CConsole (  ) 

Definition at line 45 of file CConsole.cpp.


Member Function Documentation

void CConsole::hideEvent ( QHideEvent *  event  )  [protected]

Definition at line 142 of file CConsole.cpp.

References bOpenGlLog, consoleIsHidden, LOG_OPENGL, and SetLogStatus().

void CConsole::Log ( QVariant &  log,
int  id 
) [inline]

Definition at line 41 of file CConsole.h.

void CConsole::Log ( double  nmb,
int  id 
) [inline]

Definition at line 40 of file CConsole.h.

References Log().

Referenced by Log().

void CConsole::Log ( float  nmb,
int  id 
) [inline]

Definition at line 39 of file CConsole.h.

References Log().

Referenced by Log().

void CConsole::Log ( int  nmb,
int  id 
) [inline]

Definition at line 38 of file CConsole.h.

References Log().

Referenced by Log().

void CConsole::Log ( const char *  text,
int  id 
) [inline]

Definition at line 37 of file CConsole.h.

References Log().

Referenced by Log().

void CConsole::Log ( QString &  text,
int  id 
)

void CConsole::LogStatusChange ( int  ,
bool   
) [signal]

Referenced by statusChange().

void CConsole::on_actionClear_triggered (  )  [private, slot]

Definition at line 165 of file CConsole.cpp.

References logQueueLocker, and ui.

void CConsole::on_actionOpenGL_triggered (  )  [private, slot]

Definition at line 160 of file CConsole.cpp.

References bOpenGlLog, LOG_OPENGL, SetLogStatus(), and ui.

void CConsole::on_actionSave_triggered (  )  [private, slot]

Definition at line 171 of file CConsole.cpp.

References logQueueLocker.

void CConsole::on_logAllCheckbox_clicked ( bool  checked  )  [private, slot]

Definition at line 177 of file CConsole.cpp.

References bLogAll, and ui.

void CConsole::on_qualitySlider_valueChanged ( int  value  )  [private, slot]

Definition at line 183 of file CConsole.cpp.

References quality.

void CConsole::SetLogStatus ( int  what,
bool  tf 
) [inline]

void CConsole::showEvent ( QShowEvent *  event  )  [protected]

Definition at line 150 of file CConsole.cpp.

References bOpenGlLog, consoleIsHidden, LOG_OPENGL, and SetLogStatus().

void CConsole::statusChange ( int  what,
bool  tf 
) [private]

Definition at line 110 of file CConsole.cpp.

References bOpenGlLog, iconDisable, iconEnable, LOG_OPENGL, LogStatusChange(), pTimer, ui, and update().

Referenced by SetLogStatus().

void CConsole::update (  )  [private, slot]

Definition at line 127 of file CConsole.cpp.

References logQueue, logQueueLocker, and ui.

Referenced by CConsole(), and statusChange().


Member Data Documentation

volatile bool CConsole::bLogAll [private]

Definition at line 86 of file CConsole.h.

Referenced by CConsole(), Log(), on_logAllCheckbox_clicked(), and SetLogStatus().

volatile bool CConsole::bOpenGlLog [private]

bool CConsole::consoleIsHidden [private]

Definition at line 89 of file CConsole.h.

Referenced by CConsole(), hideEvent(), Log(), SetLogStatus(), and showEvent().

QIcon CConsole::iconDisable [private]

Definition at line 81 of file CConsole.h.

Referenced by CConsole(), and statusChange().

QIcon CConsole::iconEnable [private]

Definition at line 80 of file CConsole.h.

Referenced by CConsole(), and statusChange().

QQueue<QString> CConsole::logQueue [private]

Definition at line 73 of file CConsole.h.

Referenced by Log(), and update().

QMutex CConsole::logQueueLocker [private]

Definition at line 74 of file CConsole.h.

Referenced by Log(), on_actionClear_triggered(), on_actionSave_triggered(), and update().

QThread* CConsole::pCreateThread [private]

Definition at line 76 of file CConsole.h.

Referenced by CConsole(), Log(), and SetLogStatus().

QTimer* CConsole::pTimer [private]

Definition at line 78 of file CConsole.h.

Referenced by CConsole(), and statusChange().

volatile int CConsole::q [private]

Definition at line 87 of file CConsole.h.

Referenced by CConsole(), and Log().

volatile int CConsole::quality [private]

Definition at line 87 of file CConsole.h.

Referenced by CConsole(), Log(), and on_qualitySlider_valueChanged().

volatile int CConsole::rowNmb [private]

Definition at line 83 of file CConsole.h.

Referenced by CConsole(), and Log().

Ui::CConsoleClass CConsole::ui [private]


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

Generated on Wed Dec 10 03:22:18 2008 for VStudio by  doxygen 1.5.7.1