First draft of tool button icons for highlighting stack memory and focused memory regions

This commit is contained in:
Nav
2021-11-07 20:32:32 +00:00
parent f59cb08346
commit 0151ae9eff
8 changed files with 634 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ HexViewerWidget::HexViewerWidget(
this->refreshButton = this->container->findChild<QToolButton*>("refresh-memory-btn");
this->toolBar->setContentsMargins(0, 0, 0, 0);
this->toolBar->layout()->setContentsMargins(5, 0, 5, 0);
this->toolBar->layout()->setContentsMargins(5, 0, 5, 1);
this->bottomBar->setContentsMargins(0, 0, 0, 0);
this->bottomBar->layout()->setContentsMargins(5, 0, 5, 0);

View File

@@ -42,6 +42,38 @@
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="separator"/>
</item>
<item>
<widget class="SvgToolButton" name="highlight-stack-memory-btn">
<property name="svgFilePath">
<string>:/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-stack-memory.svg</string>
</property>
<property name="disabledSvgFilePath">
<string>:/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-stack-memory-disabled.svg</string>
</property>
<property name="toolTip">
<string>Highlight Stack Memory</string>
</property>
</widget>
</item>
<item>
<widget class="SvgToolButton" name="highlight-focused-memory-btn">
<property name="svgFilePath">
<string>:/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-focused-memory.svg</string>
</property>
<property name="disabledSvgFilePath">
<string>:/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-focused-memory-disabled.svg</string>
</property>
<property name="toolTip">
<string>Highlight Focused Regions</string>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="separator"/>
</item>
<item alignment="Qt::AlignTop">
<spacer name="horizontal-spacer">
<property name="orientation">