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

hidden microsecs column. Removed Count column. Checks

parent b011caee
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include <quwatcher.h> #include <quwatcher.h>
#include <qustringlist.h> #include <qustringlist.h>
#include <qustring.h> #include <qustring.h>
#include <QHeaderView>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QStandardItem> #include <QStandardItem>
#include <QJsonDocument> #include <QJsonDocument>
...@@ -21,6 +22,7 @@ AlarmInfoW::AlarmInfoW(QWidget *parent, CumbiaPool *cu_pool, const CuControlsFac ...@@ -21,6 +22,7 @@ AlarmInfoW::AlarmInfoW(QWidget *parent, CumbiaPool *cu_pool, const CuControlsFac
setModel(m); setModel(m);
setMouseTracking(true); // for hand cursor over urls setMouseTracking(true); // for hand cursor over urls
setAlternatingRowColors(true); setAlternatingRowColors(true);
header()->setSectionResizeMode(QHeaderView::ResizeToContents);
connect(this, SIGNAL(clicked(QModelIndex)), this, SLOT(onItemClicked(QModelIndex))); connect(this, SIGNAL(clicked(QModelIndex)), this, SLOT(onItemClicked(QModelIndex)));
connect(this, SIGNAL(entered(QModelIndex)), this, SLOT(onItemEntered(QModelIndex))); connect(this, SIGNAL(entered(QModelIndex)), this, SLOT(onItemEntered(QModelIndex)));
} }
......
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