16 #include "ui_bankschannelwidgetform.h"
23 "This channel simply shows the banks list, provided by the VP1BanksSystem.",
24 "Thomas.Kittelmann@cern.ch"),
36 this, SLOT(
entriesChanged(
const QStringList&,
const QStringList&,
const QStringList&)) );
44 Ui::BanksChannelWidgetForm ui;
48 m_tableWidget->setHorizontalHeaderLabels((QStringList()<<
"Type"<<
"Key"));
50 m_tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
58 if (entry_key.count()!=entry_type.count()||entry_key.count()!=entry_id.count()) {
59 message(
"Error: Received data has wrong format!");
70 for (
int irow = 0; irow<entry_key.count();++irow) {
71 QTableWidgetItem * item0 =
new QTableWidgetItem(entry_type.at(irow));
72 QTableWidgetItem * item1 =
new QTableWidgetItem(entry_key.at(irow));
73 item0->setToolTip(
"Class ID "+entry_id.at(irow));