mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Show ICD events data in infobox
If a gas switch violates our ICD criteria, show this in the info box. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
c866b82f35
commit
7b508e41cd
3 changed files with 12 additions and 6 deletions
|
@ -13,7 +13,7 @@ class DiveEventItem : public DivePixmapItem {
|
|||
public:
|
||||
DiveEventItem(QObject *parent = 0);
|
||||
virtual ~DiveEventItem();
|
||||
void setEvent(struct event *ev);
|
||||
void setEvent(struct event *ev, struct gasmix *lastgasmix);
|
||||
struct event *getEvent();
|
||||
void eventVisibilityChanged(const QString &eventName, bool visible);
|
||||
void setVerticalAxis(DiveCartesianAxis *axis);
|
||||
|
@ -25,7 +25,7 @@ slots:
|
|||
void recalculatePos(bool instant = false);
|
||||
|
||||
private:
|
||||
void setupToolTipString();
|
||||
void setupToolTipString(struct gasmix *lastgasmix);
|
||||
void setupPixmap();
|
||||
DiveCartesianAxis *vAxis;
|
||||
DiveCartesianAxis *hAxis;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue