mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4926 Summary Plot : Add "Plot Preview" to plot editor
This commit is contained in:
@@ -107,7 +107,7 @@ void RicSummaryCurveCreatorSplitterUi::recursivelyConfigureAndUpdateTopLevelUiOr
|
||||
QMinimizePanel* curveGroup = getOrCreateCurveTreeGroup();
|
||||
m_lowerLeftLayout->insertWidget( 2, curveGroup, 1 );
|
||||
m_lowerLeftLayout->addStretch( 0 );
|
||||
m_secondRowLayout->insertWidget( 1, getOrCreatePlotWidget() );
|
||||
m_lowerRightLayout->insertWidget( 1, getOrCreatePlotWidget() );
|
||||
|
||||
// Fields at bottom of dialog
|
||||
configureAndUpdateFields( 1, m_bottomFieldLayout, topLevelUiItems, uiConfigName );
|
||||
@@ -138,6 +138,20 @@ QWidget* RicSummaryCurveCreatorSplitterUi::createWidget( QWidget* parent )
|
||||
m_lowerLeftLayout->setContentsMargins( 0, 0, 0, 0 );
|
||||
m_secondRowLayout->addLayout( m_lowerLeftLayout );
|
||||
|
||||
m_lowerRightLayout = new QVBoxLayout;
|
||||
m_lowerRightLayout->setContentsMargins( 0, 0, 0, 0 );
|
||||
m_secondRowLayout->addLayout( m_lowerRightLayout );
|
||||
|
||||
{
|
||||
auto label = new QLabel( "Plot Preview" );
|
||||
label->setAlignment( Qt::AlignCenter );
|
||||
auto font = label->font();
|
||||
font.setPixelSize( 20 );
|
||||
label->setFont( font );
|
||||
|
||||
m_lowerRightLayout->insertWidget( 0, label );
|
||||
}
|
||||
|
||||
m_firstColumnSplitter = new QSplitter( Qt::Vertical );
|
||||
m_firstColumnSplitter->setContentsMargins( 0, 0, 0, 0 );
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ private:
|
||||
QPointer<QHBoxLayout> m_firstRowLayout;
|
||||
QPointer<QHBoxLayout> m_secondRowLayout;
|
||||
QPointer<QVBoxLayout> m_lowerLeftLayout;
|
||||
QPointer<QVBoxLayout> m_lowerRightLayout;
|
||||
|
||||
QPointer<QHBoxLayout> m_bottomFieldLayout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user