Replace CREATE_PP_GAS macro by member function in profilewidget2.cpp

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-01-10 17:28:24 +01:00 committed by Lubomir I. Ivanov
parent 05974d17c9
commit d9ac716162
2 changed files with 20 additions and 15 deletions

View file

@ -17,6 +17,7 @@
#include "profile-widget/divelineitem.h"
#include "profile-widget/diveprofileitem.h"
#include "core/display.h"
#include "core/color.h"
class RulerItem2;
struct dive;
@ -161,7 +162,8 @@ private: /*methods*/
void disconnectTemporaryConnections();
struct plot_data *getEntryFromPos(QPointF pos);
void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)());
void createPPGas(PartialPressureGasItem *item, int verticalColumn, color_indice_t color, color_indice_t colorAlert,
double *thresholdSettingsMin, double *thresholdSettingsMax);
private:
DivePlotDataModel *dataModel;
int zoomLevel;