Mini Milestone: Driver loads and connects.

This commit is contained in:
2025-12-18 16:26:51 +01:00
parent b5ed3ff733
commit 2acf280c55
20 changed files with 5407 additions and 59 deletions

View File

@@ -28,6 +28,7 @@
***************************************************************************/
#include <bcmainwindow.h>
#include <bcvaluedelegate.h>
#include <ui_bcmainwindow.h>
BCMainWindow::BCMainWindow(QWidget *parent)
@@ -38,10 +39,18 @@ BCMainWindow::BCMainWindow(QWidget *parent)
auto model = _valueManager.getModel( "Console"_L1 );
if( model)
_valueView->setModel( *model );
_valueView->setItemDelegate( new BCValueDelegate( _valueView) );
connect( _connectButton, &QPushButton::clicked, &_valueManager, &BCValueManager::onToggleConnectionState );
}
BCMainWindow::~BCMainWindow()
{
}
void BCMainWindow::onConnectButtonToggled(bool checked )
{
//_valueManager.setDriverConnectionState( checked );
}