mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
UI restructure: plotDive: plot current dive by default & use displayed_dive
No longer use the dive structure that is passed in but instead always use the displayed_dive to display things. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cd65c8512d
commit
2a55e55868
4 changed files with 27 additions and 24 deletions
|
|
@ -67,7 +67,7 @@ public:
|
|||
};
|
||||
|
||||
ProfileWidget2(QWidget *parent = 0);
|
||||
void plotDive(struct dive *d);
|
||||
void plotDive(struct dive *d = 0);
|
||||
virtual bool eventFilter(QObject *, QEvent *);
|
||||
void setupItem(AbstractProfilePolygonItem *item, DiveCartesianAxis *hAxis, DiveCartesianAxis *vAxis, DivePlotDataModel *model, int vData, int hData, int zValue);
|
||||
void setPrintMode(bool mode, bool grayscale = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue