(#440) Minimum height and width of plot set to 0

This commit is contained in:
Magne Sjaastad 2015-09-17 12:30:24 +02:00
parent 08adcd5df7
commit 490a823fb0
2 changed files with 18 additions and 0 deletions

View File

@ -256,3 +256,19 @@ void RiuWellLogTracePlot::selectClosestCurve(const QPoint& pos)
}
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QSize RiuWellLogTracePlot::sizeHint() const
{
return QSize(0, 0);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QSize RiuWellLogTracePlot::minimumSizeHint() const
{
return QSize(0, 0);
}

View File

@ -46,6 +46,8 @@ public:
protected:
virtual bool eventFilter(QObject* watched, QEvent* event);
virtual void focusInEvent(QFocusEvent* event);
virtual QSize sizeHint() const;
virtual QSize minimumSizeHint() const;
private:
void setDefaults();