mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Add skeleton for the instant mean depth line
This class will hold the visible line of the mean depth for the time 'now' Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2839aed8f2
commit
146030f805
3 changed files with 18 additions and 2 deletions
|
@ -925,3 +925,13 @@ void PartialPressureGasItem::setColors(const QColor &normal, const QColor &alert
|
|||
normalColor = normal;
|
||||
alertColor = alert;
|
||||
}
|
||||
|
||||
InstantMeanDepthLine::InstantMeanDepthLine()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void InstantMeanDepthLine::mouseMoved(int time, int depth)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -204,6 +204,14 @@ private:
|
|||
DiveTextItem *rightText;
|
||||
};
|
||||
|
||||
class InstantMeanDepthLine : public MeanDepthLine {
|
||||
Q_OBJECT
|
||||
public:
|
||||
InstantMeanDepthLine();
|
||||
public slots:
|
||||
void mouseMoved(int time, int depth);
|
||||
};
|
||||
|
||||
class PartialPressureGasItem : public AbstractProfilePolygonItem {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
|
|
@ -836,8 +836,6 @@ void ProfileWidget2::mouseMoveEvent(QMouseEvent *event)
|
|||
&& timeAxis->minimum() <= hValue){
|
||||
mouseFollowerVertical->setPos(pos.x(), profileYAxis->line().y1());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
bool ProfileWidget2::eventFilter(QObject *object, QEvent *event)
|
||||
|
|
Loading…
Add table
Reference in a new issue