#1977 Curve Calculator : Add RiuSummaryCurveDefinition and friends

This commit is contained in:
Magne Sjaastad
2017-10-11 19:48:35 +02:00
parent ae915a7898
commit 4046665044
12 changed files with 1312 additions and 16 deletions

View File

@@ -0,0 +1,56 @@
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2017- Statoil ASA
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#include "RiuSummaryCurveDefSelectionDialog.h"
#include "RiuSummaryCurveDefSelectionWidget.h"
#include <QVBoxLayout>
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiuSummaryCurveDefSelectionDialog::RiuSummaryCurveDefSelectionDialog(QWidget* parent)
: QDialog(parent)
{
m_addrSelWidget = new RiuSummaryCurveDefSelectionWidget(this);
QWidget* addrWidget = m_addrSelWidget->getOrCreateWidget(this);
QVBoxLayout* dummy = new QVBoxLayout(this);
dummy->setContentsMargins(0, 0, 0, 0);
dummy->addWidget(addrWidget);
setWindowTitle("Summary Address Selection");
resize(1200, 800);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiuSummaryCurveDefSelectionDialog::~RiuSummaryCurveDefSelectionDialog()
{
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiuSummaryCurveDefSelection* RiuSummaryCurveDefSelectionDialog::summaryAddressSelection() const
{
return m_addrSelWidget->summaryAddressSelection();
}