Handling programming mode enabled/disabled events in Insight
This commit is contained in:
@@ -213,6 +213,20 @@ namespace Bloom
|
||||
this,
|
||||
&InsightWindow::onTargetProgramCounterUpdate
|
||||
);
|
||||
|
||||
QObject::connect(
|
||||
&(this->insightWorker),
|
||||
&InsightWorker::programmingModeEnabled,
|
||||
this,
|
||||
&InsightWindow::onProgrammingModeEnabled
|
||||
);
|
||||
|
||||
QObject::connect(
|
||||
&(this->insightWorker),
|
||||
&InsightWorker::programmingModeDisabled,
|
||||
this,
|
||||
&InsightWindow::onProgrammingModeDisabled
|
||||
);
|
||||
}
|
||||
|
||||
void InsightWindow::init(TargetDescriptor targetDescriptor) {
|
||||
@@ -863,6 +877,15 @@ namespace Bloom
|
||||
this->adjustMinimumSize();
|
||||
}
|
||||
|
||||
void InsightWindow::onProgrammingModeEnabled() {
|
||||
this->targetStatusLabel->setText("Programming Mode Enabled");
|
||||
this->programCounterValueLabel->setText("-");
|
||||
}
|
||||
|
||||
void InsightWindow::onProgrammingModeDisabled() {
|
||||
this->onTargetStateUpdate(this->targetState);
|
||||
}
|
||||
|
||||
void InsightWindow::recordInsightSettings() {
|
||||
auto& projectSettings = this->insightProjectSettings;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user