Commit e8a7accf authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

only alarm view shows handler error entries

parent 43fdee67
......@@ -32,7 +32,7 @@ AlarmTreeWidget::AlarmTreeWidget(QWidget *parent) : QTreeWidget(parent)
// setSortingEnabled(true);
header()->setSectionResizeMode( QHeaderView::ResizeToContents);
_filter_enabled = false;
m_type = AlarmType;
setMouseTracking(true);
connect(this, SIGNAL(itemEntered(QTreeWidgetItem*,int)), this, SLOT(slotItemEntered(QTreeWidgetItem*,int)));
}
......@@ -104,6 +104,10 @@ void AlarmTreeWidget::applyFilter(AlarmFilter f)
}
void AlarmTreeWidget::setType(AlarmTreeWidget::Type t) {
m_type = t;
}
void AlarmTreeWidget::removeFilter()
{
QList<QTreeWidgetItem *> items;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment