#include <ArmarXGui/gui-plugins/LoggingPlugin/ArmarXLogViewer/LogTable.h>
Definition at line 56 of file LogTable.h.
◆ LogTable()
◆ ~LogTable()
◆ addLabelRequested
| void addLabelRequested |
( |
LogSeq | seq | ) |
|
|
signal |
Emitted from the context menu to pin the given line (assign a label).
◆ applyRowHeights()
| void applyRowHeights |
( |
int | start, |
|
|
int | end ) |
|
protected |
Give rows [start, end] the height their message needs.
Only ever called while this table is visible: every setRowHeight() invalidates and immediately rebuilds QHeaderView's start-position cache, which is O(rows) per call, and a hidden table is never painted.
Definition at line 352 of file LogTable.cpp.
◆ checkAutoScroll [1/2]
| bool checkAutoScroll |
( |
const QModelIndex & | parent, |
|
|
int | start, |
|
|
int | end ) |
|
slot |
◆ checkAutoScroll [2/2]
| bool checkAutoScroll |
( |
int | dummy = 0 | ) |
|
|
slot |
◆ doubleClickOnCell
| void doubleClickOnCell |
( |
const QModelIndex & | index | ) |
|
|
slot |
◆ fillSearchResults()
| void fillSearchResults |
( |
| ) |
|
◆ getCurrentLiveFilter()
| QString getCurrentLiveFilter |
( |
| ) |
const |
◆ getLiveFilterStr()
| QString getLiveFilterStr |
( |
| ) |
|
|
inline |
◆ getMaxNewLogLevelType()
| MessageType getMaxNewLogLevelType |
( |
| ) |
|
|
inline |
◆ getModel()
◆ getNewMessageCount()
| int getNewMessageCount |
( |
| ) |
|
|
inline |
◆ hideEvent()
| void hideEvent |
( |
QHideEvent * | | ) |
|
|
overrideprotected |
◆ itemsAdded
| void itemsAdded |
( |
QModelIndex | leftTop, |
|
|
QModelIndex | bottomRight ) |
|
slot |
◆ liveFilter()
| void liveFilter |
( |
const QString & | search, |
|
|
int | startRow = 0 ) |
◆ liveFilterRow()
| void liveFilterRow |
( |
const QString & | filterStr, |
|
|
int | row ) |
◆ liveSearch()
| bool liveSearch |
( |
const QString & | search | ) |
|
◆ notifyNewMessages()
| void notifyNewMessages |
( |
int | count, |
|
|
MessageType | maxLevel ) |
Account for messages this filter accepted while it was hidden.
A hidden table's model builds no rows, so its rowsInserted is never called and the new-message badge has to be fed from the ingestion path instead.
Definition at line 152 of file LogTable.cpp.
◆ removeLabelRequested
| void removeLabelRequested |
( |
LogSeq | seq | ) |
|
|
signal |
Emitted from the context menu to remove the pin on the given line.
◆ resetLiveFilter()
◆ resetLiveSearch()
◆ resetNewMessageCount()
| void resetNewMessageCount |
( |
| ) |
|
|
inline |
Clear the new-message badge (count and highest severity seen).
Called when this table is shown, when every row is removed, and explicitly by the viewer's clear actions. The last of those matters: a filter that is not currently materialised holds no rows, so clearing it emits no row-removal signal and the badge would otherwise keep its stale count and colour.
Definition at line 86 of file LogTable.h.
◆ rowsAboutToBeRemoved
| void rowsAboutToBeRemoved |
( |
const QModelIndex & | parent, |
|
|
int | start, |
|
|
int | end ) |
|
overrideslot |
◆ rowsInserted
| void rowsInserted |
( |
const QModelIndex & | parent, |
|
|
int | start, |
|
|
int | end ) |
|
overrideslot |
◆ selectNextSearchResult
| bool selectNextSearchResult |
( |
bool | backwards = true, |
|
|
bool | keepSelectionIfPossible = false ) |
|
slot |
◆ showContextMenu
| void showContextMenu |
( |
const QPoint & | pos | ) |
|
|
slot |
Build the right-click menu ("Add label" / "Remove label") for the row under pos.
Definition at line 120 of file LogTable.cpp.
◆ showEvent()
| void showEvent |
( |
QShowEvent * | event | ) |
|
|
overrideprotected |
◆ LogSearch
◆ autoscrollActive
◆ currentLiveFilter
| QString currentLiveFilter |
|
protected |
◆ fileOpener
◆ lastLiveFilter
◆ maxNewLogLevelType
| MessageType maxNewLogLevelType |
|
protected |
◆ newMessageCount
◆ selectedSearchIndex
The documentation for this class was generated from the following files:
- ArmarXGui/gui-plugins/LoggingPlugin/ArmarXLogViewer/LogTable.h
- ArmarXGui/gui-plugins/LoggingPlugin/ArmarXLogViewer/LogTable.cpp