Class LogDatabaseProxyModel
Defined in File log_database_proxy_model.h
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public QAbstractListModel
Class Documentation
-
class LogDatabaseProxyModel : public QAbstractListModel
Public Types
Values:
-
enumerator ExtendedLogRole
-
enumerator ExtendedLogRole
Public Functions
-
explicit LogDatabaseProxyModel(LogDatabase *db)
-
~LogDatabaseProxyModel() override = default
-
void setNodeFilter(const std::set<std::string> &names)
-
void setSeverityFilter(uint8_t severity_mask)
-
void setIncludeFilters(const QStringList &list)
-
void setExcludeFilters(const QStringList &list)
-
void setIncludeRegexpPattern(const QString &pattern)
-
void setExcludeRegexpPattern(const QString &pattern)
-
void setDebugColor(const QColor &debug_color)
-
void setInfoColor(const QColor &info_color)
-
void setWarnColor(const QColor &warn_color)
-
void setErrorColor(const QColor &error_color)
-
void setFatalColor(const QColor &fatal_color)
-
bool isIncludeValid() const
-
bool isExcludeValid() const
-
int getItemIndex(const QString &searchText, int index, int increment)
-
void clearSearchFailure()
-
int rowCount(const QModelIndex &parent) const override
-
QVariant data(const QModelIndex &index, int role) const override
-
void reset()
-
void saveToFile(const QString &filename) const
Public Slots
-
void handleDatabaseCleared()
-
void processNewMessages()
-
void processOldMessages()
-
void minTimeUpdated()
-
void setDisplayTime(bool display)
-
void setAbsoluteTime(bool absolute)
-
void setHumanReadableTime(bool human_readable_time)
-
void setDisplayLogger(bool logger_name)
-
void setDisplayFunction(bool function_name)
-
void setColorizeLogs(bool colorize_logs)
-
void setUseRegularExpressions(bool useRegexps)
Signals
-
void messagesAdded()