Driver fixes.
This commit is contained in:
@@ -47,15 +47,6 @@ BCDeviceView::BCDeviceView(QWidget *parent)
|
||||
_itemDelegate = new BCAnimatedDelegate( _valueModel.getValueList(), this);
|
||||
setItemDelegateForColumn( 1, _itemDelegate );
|
||||
|
||||
|
||||
// Signal für Änderungen
|
||||
connect(&_valueModel, &BCValueModel::dataChanged, this, [](const QModelIndex& topLeft, const QModelIndex& bottomRight)
|
||||
{
|
||||
if (topLeft.column() ==1) {
|
||||
int row = topLeft.row();
|
||||
int value = topLeft.data(Qt::DisplayRole).toInt();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -75,7 +66,7 @@ BCDevice::ID BCDeviceView::getDeviceID() const
|
||||
* @brief Gibt eine Referenz auf der ValueList zurück.
|
||||
*/
|
||||
|
||||
const BCValueList& BCDeviceView::getValueListX()
|
||||
const BCValueList& BCDeviceView::getValueList()
|
||||
{
|
||||
return _valueModel.getValueList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user