mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
05974d17c9
commit
d9ac716162
2 changed files with 20 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue