From 4b41d5d6d0e4d2e60c609e9f2bb8e94795715401 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 13 Nov 2021 17:00:15 +0000 Subject: [PATCH] Added new tool button to manage focused memory regions --- .../Stylesheets/InsightWindow.qss | 17 ++ .../Images/manage-focused-regions.svg | 146 ++++++++++++++++++ .../UiFiles/TargetMemoryInspectionPane.ui | 47 ++++++ src/resources.qrc | 1 + 4 files changed, 211 insertions(+) create mode 100644 src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/manage-focused-regions.svg diff --git a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss index f36962bf..e3e7e179 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss +++ b/src/Insight/UserInterfaces/InsightWindow/Stylesheets/InsightWindow.qss @@ -347,6 +347,23 @@ QScrollBar::sub-line:vertical { color: #afb1b3; } +#target-memory-inspection-pane #lh-side-bar { + border-right: 1px solid #41423f; +} + +#target-memory-inspection-pane #lh-side-bar QToolButton { + background-color: transparent; + border: none; + padding: 0; + qproperty-buttonWidth: 23; + qproperty-buttonHeight: 21; +} + +#target-memory-inspection-pane #lh-side-bar QToolButton:hover { + background-color: #454541; + border: none; +} + #hex-viewer-container #tool-bar, #hex-viewer-container #search-bar { border-bottom: 1px solid #41423f; diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/manage-focused-regions.svg b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/manage-focused-regions.svg new file mode 100644 index 00000000..c8120ff5 --- /dev/null +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/manage-focused-regions.svg @@ -0,0 +1,146 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/UiFiles/TargetMemoryInspectionPane.ui b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/UiFiles/TargetMemoryInspectionPane.ui index 93a2aa4c..5efd21e2 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/UiFiles/TargetMemoryInspectionPane.ui +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/UiFiles/TargetMemoryInspectionPane.ui @@ -47,6 +47,53 @@ 0 + + + + 30 + + + 30 + + + + + + + 3 + + + 0 + + + + + + 3 + + + + + + + + :/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/manage-focused-regions.svg + + + Manage Focused Memory Regions + + + + + + + Qt::Vertical + + + + + + diff --git a/src/resources.qrc b/src/resources.qrc index b27663c3..419ef59c 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -55,6 +55,7 @@ ./Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-stack-memory-disabled.svg ./Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-focused-memory.svg ./Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-focused-memory-disabled.svg + ./Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/manage-focused-regions.svg ./Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-hovered-rows-columns.svg ./Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/Images/highlight-hovered-rows-columns-disabled.svg