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