Add groupboxes to MemoryTab widgets
MODIFY
src/memorytab.cpp
src/memorytab.cpp
@@ -26,8 +26,8 @@ MemoryTab::MemoryTab(QToolBar* toolbar, QWidget* parent) : RipesTab(toolbar, par
m_ui->memoryMapView->horizontalHeader()->setSectionResizeMode(MemoryMapModel::Name, QHeaderView::ResizeToContents);
m_ui->memoryMapView->horizontalHeader()->setSectionResizeMode(MemoryMapModel::AddressRange, QHeaderView::Stretch);
m_ui->memoryMapView->horizontalHeader()->setSectionResizeMode(MemoryMapModel::Size, QHeaderView::ResizeToContents);
- m_ui->splitter->setStretchFactor(0, 1);
- m_ui->splitter->setStretchFactor(1, 2);
+ m_ui->splitter->setStretchFactor(0, 2);
+ m_ui->splitter->setStretchFactor(1, 1);
connect(ProcessorHandler::get(), &ProcessorHandler::procStateChangedNonRun,
[=] { m_ui->memoryViewerWidget->updateView(); });

MODIFY
src/memorytab.ui
src/memorytab.ui
<property name="windowTitle">
<string>Form</string>
</property>
- <layout class="QGridLayout" name="gridLayout">
+ <layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QSplitter" name="splitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
+ <widget class="QGroupBox" name="groupBox_2">
+ <property name="title">
+ <string>Memory viewer</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item row="0" column="0">
<widget class="MemoryViewerWidget" name="memoryViewerWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
</sizepolicy>
</property>
</widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QGroupBox" name="groupBox">
+ <property name="title">
+ <string>Memory map</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item row="0" column="0">
<widget class="QTableView" name="memoryMapView">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<bool>true</bool>
</attribute>
</widget>
+ </item>
+ </layout>
+ </widget>
</widget>
</item>
</layout>

Add groupboxes to MemoryTab widgets