27#include <ArmarXCore/interface/core/Log.h>
34#include <QApplication>
35#include <QTableWidget>
41#define ARMARX_LOG_TIMESTR "Time"
42#define ARMARX_LOG_COMPONENTSTR "Component"
43#define ARMARX_LOG_TAGSTR "Tag"
44#define ARMARX_LOG_VERBOSITYSTR "Verbosity"
45#define ARMARX_LOG_MESSAGESTR "Message"
46#define ARMARX_LOG_FILESTR "File"
47#define ARMARX_LOG_FUNCTIONSTR "Function"
48#define ARMARX_LOG_LOGGINGGROUPSTR "Group"
60 void showEvent(QShowEvent* event)
override;
64 explicit LogTable(QWidget* parent = 0);
93 void liveFilter(
const QString& search,
int startRow = 0);
124 void itemsAdded(QModelIndex leftTop, QModelIndex bottomRight);
125 void rowsInserted(
const QModelIndex& parent,
int start,
int end)
override;
The EditorFileOpener class.
A filtered view onto the shared LogStore.
MessageType getMaxNewLogLevelType()
void liveFilter(const QString &search, int startRow=0)
void doubleClickOnCell(const QModelIndex &index)
void showContextMenu(const QPoint &pos)
Build the right-click menu ("Add label" / "Remove label") for the row under pos.
bool selectNextSearchResult(bool backwards=true, bool keepSelectionIfPossible=false)
void showEvent(QShowEvent *event) override
QString currentLiveFilter
void liveFilterRow(const QString &filterStr, int row)
bool liveSearch(const QString &search)
LogTableModel * getModel()
void removeLabelRequested(LogSeq seq)
Emitted from the context menu to remove the pin on the given line.
MessageType maxNewLogLevelType
void hideEvent(QHideEvent *) override
QString getCurrentLiveFilter() const
LogTable(QWidget *parent=0)
bool checkAutoScroll(const QModelIndex &parent, int start, int end)
void applyRowHeights(int start, int end)
Give rows [start, end] the height their message needs.
void itemsAdded(QModelIndex leftTop, QModelIndex bottomRight)
void resetNewMessageCount()
Clear the new-message badge (count and highest severity seen).
void notifyNewMessages(int count, MessageType maxLevel)
Account for messages this filter accepted while it was hidden.
void addLabelRequested(LogSeq seq)
Emitted from the context menu to pin the given line (assign a label).
QString getLiveFilterStr()
EditorFileOpener fileOpener
void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) override
void rowsInserted(const QModelIndex &parent, int start, int end) override
This file offers overloads of toIce() and fromIce() functions for STL container types.
quint64 LogSeq
Identifies a stored log entry for as long as it is retained.