Tidying
This commit is contained in:
@@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/SvgToolButton.hpp"
|
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/SvgToolButton.hpp"
|
||||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/Label.hpp"
|
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/Label.hpp"
|
||||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/PushButton.hpp"
|
|
||||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/ListView/ListView.hpp"
|
|
||||||
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/TaskProgressIndicator/TaskProgressIndicator.hpp"
|
#include "src/Insight/UserInterfaces/InsightWindow/Widgets/TaskProgressIndicator/TaskProgressIndicator.hpp"
|
||||||
|
|
||||||
#include "src/Targets/TargetMemory.hpp"
|
#include "src/Targets/TargetMemory.hpp"
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ namespace Bloom::Widgets
|
|||||||
auto* programCounterLabel = this->bottomBar->findChild<Label*>("program-counter-label");
|
auto* programCounterLabel = this->bottomBar->findChild<Label*>("program-counter-label");
|
||||||
auto* dateLabel = this->bottomBar->findChild<Label*>("date-label");
|
auto* dateLabel = this->bottomBar->findChild<Label*>("date-label");
|
||||||
|
|
||||||
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->memoryDescriptor.size()) + " Bytes");
|
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->memoryDescriptor.size()) + " bytes");
|
||||||
snapshotIdLabel->setText(this->snapshot.id);
|
snapshotIdLabel->setText(this->snapshot.id);
|
||||||
programCounterLabel->setText(
|
programCounterLabel->setText(
|
||||||
"0x" + QString::number(this->snapshot.programCounter, 16).rightJustified(8, '0').toUpper()
|
"0x" + QString::number(this->snapshot.programCounter, 16).rightJustified(8, '0').toUpper()
|
||||||
|
|||||||
@@ -218,7 +218,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ namespace Bloom::Widgets
|
|||||||
titleLabel->setText(memoryName);
|
titleLabel->setText(memoryName);
|
||||||
|
|
||||||
auto* memoryCapacityLabel = this->container->findChild<Label*>("memory-capacity-label");
|
auto* memoryCapacityLabel = this->container->findChild<Label*>("memory-capacity-label");
|
||||||
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->targetMemoryDescriptor.size()) + " Bytes");
|
memoryCapacityLabel->setText(QLocale(QLocale::English).toString(this->targetMemoryDescriptor.size()) + " bytes");
|
||||||
|
|
||||||
// Quick sanity check to ensure the validity of persisted settings.
|
// Quick sanity check to ensure the validity of persisted settings.
|
||||||
this->sanitiseSettings();
|
this->sanitiseSettings();
|
||||||
|
|||||||
@@ -364,7 +364,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="Label" name="memory-capacity-label">
|
<widget class="Label" name="memory-capacity-label">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Memory Capacity</string>
|
<string>Memory capacity</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"/>
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user