mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
Summary: Whitespace, rename method and hide unused variables display field
This commit is contained in:
parent
2f83194a5e
commit
9f54d74c7f
@ -68,6 +68,7 @@ RimSummaryCurveFilter::RimSummaryCurveFilter()
|
||||
m_selectedVariableDisplayField.xmlCapability()->setIOWritable(false);
|
||||
m_selectedVariableDisplayField.xmlCapability()->setIOReadable(false);
|
||||
m_selectedVariableDisplayField.uiCapability()->setUiReadOnly(true);
|
||||
m_selectedVariableDisplayField.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_summaryFilter, "VarListFilter", "Filter", "", "", "");
|
||||
m_summaryFilter.uiCapability()->setUiChildrenHidden(true);
|
||||
@ -228,7 +229,7 @@ void RimSummaryCurveFilter::setParentQwtPlot(QwtPlot* plot)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryCurveFilter::detachQwtCurve()
|
||||
void RimSummaryCurveFilter::detachQwtCurves()
|
||||
{
|
||||
for(RimSummaryCurve* curve : m_curves)
|
||||
{
|
||||
|
@ -50,9 +50,9 @@ public:
|
||||
RimSummaryCurveFilter();
|
||||
virtual ~RimSummaryCurveFilter();
|
||||
|
||||
void loadDataAndUpdate();
|
||||
void setParentQwtPlot(QwtPlot* plot);
|
||||
void detachQwtCurve();
|
||||
void loadDataAndUpdate();
|
||||
void setParentQwtPlot(QwtPlot* plot);
|
||||
void detachQwtCurves();
|
||||
|
||||
private:
|
||||
RifReaderEclipseSummary* summaryReader();
|
||||
@ -69,15 +69,15 @@ private:
|
||||
|
||||
// Fields
|
||||
caf::PdmPtrField<RimSummaryCase*> m_selectedSummaryCase;
|
||||
caf::PdmChildArrayField<RimSummaryCurve*> m_curves;
|
||||
caf::PdmChildArrayField<RimSummaryCurve*> m_curves;
|
||||
|
||||
caf::PdmField<QString> m_selectedVariableDisplayField;
|
||||
|
||||
// Filter fields
|
||||
caf::PdmChildField<RimSummaryFilter*> m_summaryFilter;
|
||||
caf::PdmField<std::vector<RifEclipseSummaryAddress> > m_uiFilterResultMultiSelection;
|
||||
caf::PdmField<std::vector<RifEclipseSummaryAddress> >
|
||||
m_uiFilterResultMultiSelection;
|
||||
|
||||
caf::PdmField<bool> m_applyButtonField;
|
||||
|
||||
};
|
||||
|
||||
|
@ -232,7 +232,7 @@ void RimSummaryPlot::detachAllCurves()
|
||||
{
|
||||
for(RimSummaryCurveFilter* curveFilter: m_curveFilters)
|
||||
{
|
||||
curveFilter->detachQwtCurve();
|
||||
curveFilter->detachQwtCurves();
|
||||
}
|
||||
|
||||
for(RimSummaryCurve* curve : m_curves)
|
||||
|
Loading…
Reference in New Issue
Block a user