gSAFE  1.3.8
Classes | Macros | Functions
dconsole

Classes

class  HConsolePanel
 
class  HDConsoleCommandHolder
 
class  HDebugConsole
 

Macros

#define DCONSOLE_TYPE_CMD   4
 
#define DCONSOLE_TYPE_MESSAGE   1
 
#define DCONSOLE_TYPE_QTDEBUG   5
 
#define DCONSOLE_TYPE_RESULT   3
 
#define DCONSOLE_TYPE_SQL   2
 
#define DCONSOLE_TYPE_TEXT   0
 

Functions

void clear_dconsole_commands ()
 
void dconsole (void)
 
void dconsole_close (void)
 
void dconsole_popup (QString t, QString txt)
 
void dconsoleMessageHandler (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 
void register_dconsole_command (QString command, HDConsoleCommandHolder *interpreter, QString descr="")
 
void sdebug (QString s)
 
void sqldebug (QString s)
 
void unregister_dconsole_command (QString command)
 

Detailed Description

Function Documentation

void clear_dconsole_commands ( )

Delete all command from HDebugConsole

Definition at line 113 of file dconsole.cpp.

void dconsole ( void  )

Starts/Popup the HDebugConsole. If the console already run this function does nothing.

See Also
HDebugConsole

Definition at line 59 of file dconsole.cpp.

void dconsole_close ( void  )

Closes the DebugConsole If the console already closed this function does nothing.

See Also
HDebugConsole

Definition at line 70 of file dconsole.cpp.

void dconsole_popup ( QString  t,
QString  txt 
)

Popups a warning message

See Also
HDebugConsole

Definition at line 82 of file dconsole.cpp.

void register_dconsole_command ( QString  command,
HDConsoleCommandHolder interpreter,
QString  descr = "" 
)

Register a new command in HDebugConsole

Definition at line 95 of file dconsole.cpp.

void sdebug ( QString  s)

Puts a debug/info text as normal text. If there is no started HDebugConsole this function does nothing.

See Also
HDebugConsole

Definition at line 48 of file dconsole.cpp.

void sqldebug ( QString  s)

Puts a debug/info text as sql text. If there is no started HDebugConsole this function does nothing.

See Also
HDebugConsole

Definition at line 36 of file dconsole.cpp.

void unregister_dconsole_command ( QString  command)

Unregister a command from HDebugConsole

Definition at line 104 of file dconsole.cpp.