libbbb - usermsg

Home

This library provides a QObject based mechanism for reporting strings of text to the user. The library may be used across thread boundaries.

The system uses a centralised singleton to dispatch messages to three destinations: a Qt signal, a log file and stdout. Each of these three may be enabled or disabled at will.

On the user end, a UsrMsg class instance may be constructed for each message, since the destructor presents (sends to centralised singleton) the message, or an instance may be reused, with show() method clearing the internal buffer and making the instance ready for a new message.

Depedencies:

Related source code documentation: UsrMsg, UsrMsgMng

Home