1
0
Fork 0

hide overview widget now, set appropriate splitter sizes

This commit is contained in:
torusrxxx 2020-07-12 23:37:38 +08:00 committed by Duncan Ogilvie
parent e046b86901
commit a72cfd710f
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,8 @@ TraceWidget::TraceWidget(QWidget* parent) :
ui->mTopLeftLowerFrameLayout->addWidget(mInfo);
int height = (mInfo->getRowHeight() + 1) * 4;
ui->mTopLeftLowerFrame->setMinimumHeight(height + 2);
ui->mTopHSplitter->setSizes(QList<int>({1000, 1}));
ui->mTopLeftVSplitter->setSizes(QList<int>({1000, 1}));
mInfo->addColumnAt(0, "", true);
mInfo->setShowHeader(false);
@ -61,6 +63,7 @@ TraceWidget::TraceWidget(QWidget* parent) :
mOverview->setCellContent(1, 0, "world");
mOverview->setCellContent(2, 0, "00000000");
mOverview->setCellContent(3, 0, "here we will list all control flow transfers");
mOverview->hide();
}
TraceWidget::~TraceWidget()