diff options
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h index 15155692e..27cfa62d8 100644 --- a/qt-ui/profile/divecartesianaxis.h +++ b/qt-ui/profile/divecartesianaxis.h @@ -16,6 +16,9 @@ class DiveCartesianAxis : public QObject, public QGraphicsLineItem { Q_PROPERTY(QPointF pos WRITE setPos READ pos) Q_PROPERTY(qreal x WRITE setX READ x) Q_PROPERTY(qreal y WRITE setY READ y) +private: + bool printMode; + QPen gridPen(); public: enum Orientation { TopToBottom, @@ -25,6 +28,7 @@ public: }; DiveCartesianAxis(); virtual ~DiveCartesianAxis(); + void setPrintMode(bool mode); void setMinimum(double minimum); void setMaximum(double maximum); void setTickInterval(double interval); |