|
| LogListModel (QWidget *parent) |
|
| ~LogListModel () |
|
void | addPendingItems () |
|
void | clear () |
|
std::vector< LogListItem > | getSelectedItems () |
|
bool | hasSelectedItems () |
|
virtual void | LogMessage (size_t sessionId, BNLogLevel level, const std::string &msg, const std::string &loggerName="", size_t tid=0) override |
|
virtual BNLogLevel | GetLogLevel () override |
|
virtual QModelIndex | index (int row, int col, const QModelIndex &parent) const override |
|
virtual QModelIndex | parent (const QModelIndex &i) const override |
|
virtual bool | hasChildren (const QModelIndex &parent) const override |
|
virtual int | rowCount (const QModelIndex &parent) const override |
|
virtual int | columnCount (const QModelIndex &parent) const override |
|
virtual QVariant | data (const QModelIndex &i, int role) const override |
|
virtual bool | setData (const QModelIndex &i, const QVariant &value, int role) override |
|
void | setDisplaySessionId (bool value) |
|
void | setDisplayThreadId (bool value) |
|
void | setDisplayLoggerName (bool value) |
|
void | setDisplayLogLevel (bool value) |
|
void | setMinLogLevel (BNLogLevel level) |
|
void | setMaxLogLength (size_t length) |
|
size_t | getSessionId () const |
|
bool | getDisplaySessionId () const |
|
bool | getDisplayThreadId () const |
|
bool | getDisplayLoggerName () const |
|
bool | getDisplayLogLevel () const |
|
virtual | ~LogListener () |
|
virtual void | LogMessage (size_t session, BNLogLevel level, const std::string &msg, const std::string &logger_name="", size_t tid=0)=0 |
|
virtual void | CloseLog () |
|
virtual BNLogLevel | GetLogLevel () |
|
|
static constexpr int | Level = Qt::UserRole + 1 |
|
static constexpr int | Logger = Qt::UserRole + 2 |
|
static constexpr int | ThreadId = Qt::UserRole + 3 |
|
static constexpr int | Message = Qt::UserRole + 4 |
|
static constexpr int | Session = Qt::UserRole + 5 |
|
static constexpr int | FormattedMessage = Qt::UserRole + 6 |
|
◆ LogListModel()
LogListModel::LogListModel |
( |
QWidget * |
parent | ) |
|
◆ ~LogListModel()
LogListModel::~LogListModel |
( |
| ) |
|
◆ addPendingItems()
void LogListModel::addPendingItems |
( |
| ) |
|
◆ clear()
void LogListModel::clear |
( |
| ) |
|
◆ columnCount()
virtual int LogListModel::columnCount |
( |
const QModelIndex & |
parent | ) |
const |
|
overridevirtual |
◆ data()
virtual QVariant LogListModel::data |
( |
const QModelIndex & |
i, |
|
|
int |
role |
|
) |
| const |
|
overridevirtual |
◆ getDisplayLoggerName()
bool LogListModel::getDisplayLoggerName |
( |
| ) |
const |
|
inline |
◆ getDisplayLogLevel()
bool LogListModel::getDisplayLogLevel |
( |
| ) |
const |
|
inline |
◆ getDisplaySessionId()
bool LogListModel::getDisplaySessionId |
( |
| ) |
const |
|
inline |
◆ getDisplayThreadId()
bool LogListModel::getDisplayThreadId |
( |
| ) |
const |
|
inline |
◆ GetLogLevel()
◆ getSelectedItems()
std::vector< LogListItem > LogListModel::getSelectedItems |
( |
| ) |
|
◆ getSessionId()
size_t LogListModel::getSessionId |
( |
| ) |
const |
|
inline |
◆ hasChildren()
virtual bool LogListModel::hasChildren |
( |
const QModelIndex & |
parent | ) |
const |
|
overridevirtual |
◆ hasSelectedItems()
bool LogListModel::hasSelectedItems |
( |
| ) |
|
◆ index()
virtual QModelIndex LogListModel::index |
( |
int |
row, |
|
|
int |
col, |
|
|
const QModelIndex & |
parent |
|
) |
| const |
|
overridevirtual |
◆ LogMessage()
virtual void LogListModel::LogMessage |
( |
size_t |
sessionId, |
|
|
BNLogLevel |
level, |
|
|
const std::string & |
msg, |
|
|
const std::string & |
loggerName = "" , |
|
|
size_t |
tid = 0 |
|
) |
| |
|
overridevirtual |
◆ notifySessionChanged
void LogListModel::notifySessionChanged |
( |
size_t |
sessionId | ) |
|
|
slot |
◆ parent()
virtual QModelIndex LogListModel::parent |
( |
const QModelIndex & |
i | ) |
const |
|
overridevirtual |
◆ rowCount()
virtual int LogListModel::rowCount |
( |
const QModelIndex & |
parent | ) |
const |
|
overridevirtual |
◆ setData()
virtual bool LogListModel::setData |
( |
const QModelIndex & |
i, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
overridevirtual |
◆ setDisplayLoggerName()
void LogListModel::setDisplayLoggerName |
( |
bool |
value | ) |
|
◆ setDisplayLogLevel()
void LogListModel::setDisplayLogLevel |
( |
bool |
value | ) |
|
◆ setDisplaySessionId()
void LogListModel::setDisplaySessionId |
( |
bool |
value | ) |
|
◆ setDisplayThreadId()
void LogListModel::setDisplayThreadId |
( |
bool |
value | ) |
|
◆ setMaxLogLength()
void LogListModel::setMaxLogLength |
( |
size_t |
length | ) |
|
◆ setMinLogLevel()
void LogListModel::setMinLogLevel |
( |
BNLogLevel |
level | ) |
|
◆ settingsUpdated
void LogListModel::settingsUpdated |
( |
| ) |
|
|
signal |
◆ FormattedMessage
constexpr int LogListModel::FormattedMessage = Qt::UserRole + 6 |
|
staticconstexpr |
◆ Level
constexpr int LogListModel::Level = Qt::UserRole + 1 |
|
staticconstexpr |
◆ Logger
constexpr int LogListModel::Logger = Qt::UserRole + 2 |
|
staticconstexpr |
◆ Message
constexpr int LogListModel::Message = Qt::UserRole + 4 |
|
staticconstexpr |
◆ Session
constexpr int LogListModel::Session = Qt::UserRole + 5 |
|
staticconstexpr |
◆ ThreadId
constexpr int LogListModel::ThreadId = Qt::UserRole + 3 |
|
staticconstexpr |
The documentation for this class was generated from the following file: