Restored lh side bar and added an rh and bottom bar, in the memory inspection pane
This commit is contained in:
@@ -288,7 +288,22 @@ QScrollBar::sub-line:vertical {
|
|||||||
border-bottom: 1px solid #41423f;
|
border-bottom: 1px solid #41423f;
|
||||||
}
|
}
|
||||||
|
|
||||||
#target-memory-inspection-pane #top-bar QToolButton {
|
#target-memory-inspection-pane #bottom-bar {
|
||||||
|
border-top: 1px solid #41423f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#target-memory-inspection-pane #lh-side-bar {
|
||||||
|
border-right: 1px solid #41423f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#target-memory-inspection-pane #rh-side-bar {
|
||||||
|
border-left: 1px solid #41423f;
|
||||||
|
}
|
||||||
|
|
||||||
|
#target-memory-inspection-pane #top-bar QToolButton,
|
||||||
|
#target-memory-inspection-pane #bottom-bar QToolButton,
|
||||||
|
#target-memory-inspection-pane #lh-side-bar QToolButton,
|
||||||
|
#target-memory-inspection-pane #rh-side-bar QToolButton {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -296,7 +311,10 @@ QScrollBar::sub-line:vertical {
|
|||||||
qproperty-buttonHeight: 20;
|
qproperty-buttonHeight: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
#target-memory-inspection-pane #top-bar QToolButton:hover {
|
#target-memory-inspection-pane #top-bar QToolButton:hover,
|
||||||
|
#target-memory-inspection-pane #bottom-bar QToolButton:hover,
|
||||||
|
#target-memory-inspection-pane #lh-side-bar QToolButton:hover,
|
||||||
|
#target-memory-inspection-pane #rh-side-bar QToolButton:hover {
|
||||||
background-color: #454541;
|
background-color: #454541;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
@@ -306,7 +324,8 @@ QScrollBar::sub-line:vertical {
|
|||||||
qproperty-buttonHeight: 21;
|
qproperty-buttonHeight: 21;
|
||||||
}
|
}
|
||||||
|
|
||||||
#target-memory-inspection-pane #top-bar #separator {
|
#target-memory-inspection-pane #top-bar #separator,
|
||||||
|
#target-memory-inspection-pane #bottom-bar #separator {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-right: 1px solid #41423f;
|
border-right: 1px solid #41423f;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ namespace Bloom::Widgets
|
|||||||
// Quick sanity check to ensure the validity of persisted settings.
|
// Quick sanity check to ensure the validity of persisted settings.
|
||||||
this->sanitiseSettings();
|
this->sanitiseSettings();
|
||||||
|
|
||||||
auto* containerLayout = this->container->findChild<QVBoxLayout*>("container-layout");
|
auto* containerLayout = this->container->findChild<QHBoxLayout*>("container-sub-layout");
|
||||||
this->manageMemoryRegionsButton = this->container->findChild<SvgToolButton*>("manage-memory-regions-btn");
|
this->manageMemoryRegionsButton = this->container->findChild<SvgToolButton*>("manage-memory-regions-btn");
|
||||||
|
|
||||||
this->refreshButton = this->container->findChild<SvgToolButton*>("refresh-memory-btn");
|
this->refreshButton = this->container->findChild<SvgToolButton*>("refresh-memory-btn");
|
||||||
@@ -85,7 +85,7 @@ namespace Bloom::Widgets
|
|||||||
);
|
);
|
||||||
this->hexViewerWidget->setDisabled(true);
|
this->hexViewerWidget->setDisabled(true);
|
||||||
|
|
||||||
containerLayout->addWidget(this->hexViewerWidget);
|
containerLayout->insertWidget(1, this->hexViewerWidget);
|
||||||
|
|
||||||
this->setRefreshOnTargetStopEnabled(this->settings.refreshOnTargetStop);
|
this->setRefreshOnTargetStopEnabled(this->settings.refreshOnTargetStop);
|
||||||
this->setRefreshOnActivationEnabled(this->settings.refreshOnActivation);
|
this->setRefreshOnActivationEnabled(this->settings.refreshOnActivation);
|
||||||
|
|||||||
@@ -82,9 +82,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<widget class="QFrame" name="separator"/>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="SvgToolButton" name="refresh-memory-btn">
|
<widget class="SvgToolButton" name="refresh-memory-btn">
|
||||||
<property name="svgFilePath">
|
<property name="svgFilePath">
|
||||||
@@ -175,6 +172,145 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="container-sub-layout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="margin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item alignment="Qt::AlignLeft">
|
||||||
|
<widget class="QWidget" name="lh-side-bar">
|
||||||
|
<property name="minimumWidth">
|
||||||
|
<number>30</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximumWidth">
|
||||||
|
<number>30</number>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding"/>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="lh-side-bar-layout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
|
<property name="margin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<spacer name="vertical-spacer">
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<height>3</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<!-- Button items here -->
|
||||||
|
<item>
|
||||||
|
<spacer name="vertical-spacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item alignment="Qt::AlignLeft">
|
||||||
|
<widget class="QWidget" name="rh-side-bar">
|
||||||
|
<property name="minimumWidth">
|
||||||
|
<number>30</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximumWidth">
|
||||||
|
<number>30</number>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Expanding"/>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="rh-side-bar-layout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
|
<property name="margin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<spacer name="vertical-spacer">
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<height>3</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<!-- Button items here -->
|
||||||
|
<item>
|
||||||
|
<spacer name="vertical-spacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QWidget" name="bottom-bar">
|
||||||
|
<property name="minimumHeight">
|
||||||
|
<number>28</number>
|
||||||
|
</property>
|
||||||
|
<property name="maximumHeight">
|
||||||
|
<number>28</number>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"/>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout">
|
||||||
|
<property name="spacing">
|
||||||
|
<number>3</number>
|
||||||
|
</property>
|
||||||
|
<property name="margin">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontal-spacer">
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>5</width>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Fixed</enum>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<!-- Button items here -->
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontal-spacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontal-spacer">
|
||||||
|
<property name="sizeHint">
|
||||||
|
<size>
|
||||||
|
<width>5</width>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Fixed</enum>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
Reference in New Issue
Block a user