diff options
Diffstat (limited to 'qt-ui/profile/divecartesianaxis.h')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/qt-ui/profile/divecartesianaxis.h b/qt-ui/profile/divecartesianaxis.h index 7c528b4a4..58468f209 100644 --- a/qt-ui/profile/divecartesianaxis.h +++ b/qt-ui/profile/divecartesianaxis.h @@ -97,27 +97,4 @@ private: DivePlotDataModel *model; }; -// This is a try. Maybe the CartesianPlane should have the X and Y -// axis and handle things internally? -class DiveCartesianPlane :public QObject, public QGraphicsRectItem{ - Q_OBJECT - Q_PROPERTY(QLineF verticalLine READ verticalLine WRITE setVerticalLine) - Q_PROPERTY(QLineF horizontalLine READ horizontalLine WRITE setHorizontalLine) -public: - void setLeftAxis(DiveCartesianAxis *axis); - void setBottomAxis(DiveCartesianAxis *axis); - void setHorizontalLine(QLineF line); - void setVerticalLine(QLineF line); - QLineF horizontalLine() const; - QLineF verticalLine() const; -public slots: - void setup(); -private: - DiveCartesianAxis *leftAxis; - DiveCartesianAxis *bottomAxis; - QList<DiveLineItem*> verticalLines; - QList<DiveLineItem*> horizontalLines; - qreal verticalSize; - qreal horizontalSize; -}; #endif // DIVECARTESIANAXIS_H |