#include <Libs/Widgets/ctkErrorLogModel.h>
|
| QScopedPointer< ctkErrorLogModelPrivate > | d_ptr |
| |
Definition at line 39 of file ctkErrorLogModel.h.
| Enumerator |
|---|
| TimeColumn |
|
| ThreadIdColumn |
|
| LogLevelColumn |
|
| OriginColumn |
|
| DescriptionColumn |
|
| MaxColumn |
|
Definition at line 55 of file ctkErrorLogModel.h.
| ctkErrorLogModel::ctkErrorLogModel |
( |
QObject * |
parentObject = 0 | ) |
|
|
explicit |
| virtual ctkErrorLogModel::~ctkErrorLogModel |
( |
| ) |
|
|
virtual |
| bool ctkErrorLogModel::asynchronousLogging |
( |
| ) |
const |
| void ctkErrorLogModel::clear |
( |
| ) |
|
|
slot |
Remove all log entries from model.
| void ctkErrorLogModel::disableAllMsgHandler |
( |
| ) |
|
| void ctkErrorLogModel::enableAllMsgHandler |
( |
| ) |
|
| bool ctkErrorLogModel::fileLoggingEnabled |
( |
| ) |
const |
| QString ctkErrorLogModel::fileLoggingPattern |
( |
| ) |
const |
| QString ctkErrorLogModel::filePath |
( |
| ) |
const |
| void ctkErrorLogModel::filterEntry |
( |
const ctkErrorLogLevel::LogLevels & |
logLevel = ctkErrorLogLevel::Unknown, |
|
|
bool |
disableFilter = false |
|
) |
| |
| Q_INVOKABLE int ctkErrorLogModel::logEntryCount |
( |
| ) |
const |
Return current number of log entries.
- See also
- clear()
Return log entry information associated with row and column.
| Q_INVOKABLE QString ctkErrorLogModel::logEntryDescription |
( |
int |
row | ) |
const |
| bool ctkErrorLogModel::logEntryGrouping |
( |
| ) |
const |
| ctkErrorLogLevel::LogLevels ctkErrorLogModel::logLevelFilter |
( |
| ) |
const |
| void ctkErrorLogModel::logLevelFilterChanged |
( |
| ) |
|
|
signal |
| bool ctkErrorLogModel::msgHandlerEnabled |
( |
const QString & |
handlerName | ) |
const |
Return True if the handler identified by handlerName is enabled.
| QStringList ctkErrorLogModel::msgHandlerEnabled |
( |
| ) |
const |
Return names of the enabled message handlers.
| QStringList ctkErrorLogModel::msgHandlerNames |
( |
| ) |
const |
| int ctkErrorLogModel::numberOfFilesToKeep |
( |
| ) |
const |
Register a message handler.
| void ctkErrorLogModel::setAllMsgHandlerEnabled |
( |
bool |
enabled | ) |
|
| void ctkErrorLogModel::setAsynchronousLogging |
( |
bool |
value | ) |
|
| void ctkErrorLogModel::setFileLoggingEnabled |
( |
bool |
value | ) |
|
| void ctkErrorLogModel::setFileLoggingPattern |
( |
const QString & |
value | ) |
|
| void ctkErrorLogModel::setFilePath |
( |
const QString & |
filePath | ) |
|
| void ctkErrorLogModel::setLogEntryGrouping |
( |
bool |
value | ) |
|
| void ctkErrorLogModel::setMsgHandlerEnabled |
( |
const QString & |
handlerName, |
|
|
bool |
enabled |
|
) |
| |
Enable a specific handler given its name.
| void ctkErrorLogModel::setMsgHandlerEnabled |
( |
const QStringList & |
handlerNames | ) |
|
Enable handler identified by their names.
| void ctkErrorLogModel::setNumberOfFilesToKeep |
( |
int |
value | ) |
|
| void ctkErrorLogModel::setTerminalOutputs |
( |
const ctkErrorLogTerminalOutput::TerminalOutputs & |
terminalOutput | ) |
|
| ctkErrorLogTerminalOutput::TerminalOutputs ctkErrorLogModel::terminalOutputs |
( |
| ) |
const |
Return if messages are both printed into the terminal and added to ctkErrorLogModel.
- Note
- If TerminalOutput::None is returned, message will only be added to the model.
| QScopedPointer<ctkErrorLogModelPrivate> ctkErrorLogModel::d_ptr |
|
protected |
| bool ctkErrorLogModel::asynchronousLogging |
|
readwrite |
| bool ctkErrorLogModel::fileLoggingEnabled |
|
readwrite |
| QString ctkErrorLogModel::fileLoggingPattern |
|
readwrite |
| QString ctkErrorLogModel::filePath |
|
readwrite |
| bool ctkErrorLogModel::logEntryGrouping |
|
readwrite |
| int ctkErrorLogModel::numberOfFilesToKeep |
|
readwrite |
| ctkErrorLogTerminalOutput::TerminalOutputs ctkErrorLogModel::terminalOutputs |
|
readwrite |
The documentation for this class was generated from the following file: