Tidying
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
<spacer name="vertical-spacer">
|
<spacer name="vertical-spacer">
|
||||||
<property name="sizeHint">
|
<property name="sizeHint">
|
||||||
<size>
|
<size>
|
||||||
<height>20</height>
|
<height>15</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeType">
|
<property name="sizeType">
|
||||||
|
|||||||
@@ -197,7 +197,9 @@ namespace Bloom::Widgets
|
|||||||
this,
|
this,
|
||||||
[this] (TopLevelGroupItem* item) {
|
[this] (TopLevelGroupItem* item) {
|
||||||
this->topLevelGroup.reset(item);
|
this->topLevelGroup.reset(item);
|
||||||
this->topLevelGroup->setPosition(QPoint(ByteAddressContainer::WIDTH + this->margins.left(), this->margins.top()));
|
this->topLevelGroup->setPosition(
|
||||||
|
QPoint(ByteAddressContainer::WIDTH + this->margins.left(), this->margins.top())
|
||||||
|
);
|
||||||
this->flattenedItems = this->topLevelGroup->flattenedItems();
|
this->flattenedItems = this->topLevelGroup->flattenedItems();
|
||||||
emit this->ready();
|
emit this->ready();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
#include "src/Insight/InsightWorker/InsightWorker.hpp"
|
#include "src/Insight/InsightWorker/InsightWorker.hpp"
|
||||||
|
|
||||||
#include "src/Services/PathService.hpp"
|
#include "src/Services/PathService.hpp"
|
||||||
#include "src/Helpers/EnumToStringMappings.hpp"
|
|
||||||
#include "src/Exceptions/Exception.hpp"
|
#include "src/Exceptions/Exception.hpp"
|
||||||
#include "src/Logger/Logger.hpp"
|
#include "src/Logger/Logger.hpp"
|
||||||
|
|
||||||
@@ -367,7 +366,7 @@ namespace Bloom::Widgets
|
|||||||
"Restore snapshot",
|
"Restore snapshot",
|
||||||
"This operation will overwrite the entire address range of the target's "
|
"This operation will overwrite the entire address range of the target's "
|
||||||
+ QString(this->memoryDescriptor.type == Targets::TargetMemoryType::EEPROM ? "EEPROM" : "RAM")
|
+ QString(this->memoryDescriptor.type == Targets::TargetMemoryType::EEPROM ? "EEPROM" : "RAM")
|
||||||
+ " with the contents of the selected snapshot.<br/><br/>Do you wish to proceed?",
|
+ " with the contents of the selected snapshot.<br/><br/>Are you sure you want to proceed?",
|
||||||
"Proceed",
|
"Proceed",
|
||||||
std::nullopt,
|
std::nullopt,
|
||||||
this
|
this
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ namespace Bloom::Widgets
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set ideal window size
|
// Set ideal window size
|
||||||
this->setFixedSize(1200, 850);
|
this->setFixedSize(1205, 850);
|
||||||
this->setMinimumSize(700, 600);
|
this->setMinimumSize(700, 600);
|
||||||
this->setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
|
this->setMaximumSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX);
|
||||||
|
|
||||||
@@ -215,7 +215,7 @@ namespace Bloom::Widgets
|
|||||||
"This operation will write " + QString::number(sortedByteItemsByAddress.size())
|
"This operation will write " + QString::number(sortedByteItemsByAddress.size())
|
||||||
+ " byte(s) to the target's "
|
+ " byte(s) to the target's "
|
||||||
+ QString(this->memoryDescriptor.type == Targets::TargetMemoryType::EEPROM ? "EEPROM" : "RAM")
|
+ QString(this->memoryDescriptor.type == Targets::TargetMemoryType::EEPROM ? "EEPROM" : "RAM")
|
||||||
+ ".<br/><br/>Do you wish to proceed?",
|
+ ".<br/><br/>Are you sure you want to proceed?",
|
||||||
"Proceed",
|
"Proceed",
|
||||||
std::nullopt,
|
std::nullopt,
|
||||||
this
|
this
|
||||||
|
|||||||
Reference in New Issue
Block a user