#include <ArmarXGui/gui-plugins/LoggingPlugin/ArmarXLogViewer/LogTableModel.h>
|
int | addEntries (const std::vector< LogMessage > &entryList, const QString &filterStr) |
|
bool | addEntry (const LogMessage &entry, int *entriesAdded=NULL) |
|
|
void | addFilter (const std::string &columnName, const std::string &filter) |
|
int | clearData () |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
int | getColumn (const std::string &columnName) const |
|
QString | getCurrentSearchStr () |
|
const std::vector< std::pair< std::string, std::string > > & | getFilters () const |
|
const LogMessage & | getLogEntry (size_t row) const |
|
MessageType | getMaxNewLogLevelType () |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
|
bool | insertRows (int row, int count, const QModelIndex &parent) override |
|
| LogTableModel (QObject *parent=0) |
|
bool | msgContainsString (const LogMessage &logMsg, QString searchStr) const |
|
void | reapplyAllFilters () |
|
void | resetFilters () |
|
bool | rowContainsSameContent (int row, const LogMessage &logMsg) const |
|
bool | rowContainsString (int row, const QString &searchStr) const |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
|
void | search (const QString &searchStr) |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) override |
|
void | updateView () |
|
Definition at line 38 of file LogTableModel.h.
◆ UserRoles
◆ LogTableModel()
◆ addEntries
int addEntries |
( |
const std::vector< LogMessage > & |
entryList, |
|
|
const QString & |
filterStr |
|
) |
| |
|
slot |
◆ addEntry
bool addEntry |
( |
const LogMessage & |
entry, |
|
|
int * |
entriesAdded = NULL |
|
) |
| |
|
slot |
◆ addFilter()
void addFilter |
( |
const std::string & |
columnName, |
|
|
const std::string & |
filter |
|
) |
| |
◆ applyFilter() [1/2]
bool applyFilter |
( |
std::pair< std::string, std::string > |
filter, |
|
|
const LogMessage & |
logMsg |
|
) |
| |
|
protected |
◆ applyFilter() [2/2]
bool applyFilter |
( |
std::string |
filter, |
|
|
int |
row, |
|
|
int |
column |
|
) |
| |
|
protected |
◆ applyFilters() [1/2]
bool applyFilters |
( |
const LogMessage & |
logMsg | ) |
|
|
protected |
◆ applyFilters() [2/2]
bool applyFilters |
( |
int |
row | ) |
|
|
protected |
◆ clearData()
◆ columnCount()
int columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ data()
QVariant data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ flags()
Qt::ItemFlags flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ getColumn()
int getColumn |
( |
const std::string & |
columnName | ) |
const |
◆ getCurrentSearchStr()
QString getCurrentSearchStr |
( |
| ) |
|
|
inline |
◆ getFilters()
const std::vector<std::pair<std::string, std::string> >& getFilters |
( |
| ) |
const |
|
inline |
◆ getLogEntry()
const LogMessage & getLogEntry |
( |
size_t |
row | ) |
const |
◆ getMaxNewLogLevelType()
MessageType getMaxNewLogLevelType |
( |
| ) |
|
|
inline |
◆ headerData()
QVariant headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ insertRows()
bool insertRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent |
|
) |
| |
|
override |
◆ msgContainsString()
bool msgContainsString |
( |
const LogMessage & |
logMsg, |
|
|
QString |
searchStr |
|
) |
| const |
◆ reapplyAllFilters()
void reapplyAllFilters |
( |
| ) |
|
◆ resetFilters()
◆ rowContainsSameContent()
bool rowContainsSameContent |
( |
int |
row, |
|
|
const LogMessage & |
logMsg |
|
) |
| const |
◆ rowContainsString()
bool rowContainsString |
( |
int |
row, |
|
|
const QString & |
searchStr |
|
) |
| const |
◆ rowCount()
int rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ search()
void search |
( |
const QString & |
searchStr | ) |
|
◆ setData()
bool setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
|
override |
◆ updateView()
The documentation for this class was generated from the following files: