diff options
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index 088e33f8c..b837376d3 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -44,12 +44,6 @@ struct AbstractProfilePolygonItem; class ProfileWidget2 : public QGraphicsView { Q_OBJECT - void fixBackgroundPos(); - void scrollViewTo(const QPoint& pos); - void setupSceneAndFlags(); - void setupItemSizes(); - void addItemsToScene(); - void setupItemOnScene(); public: enum State{ EMPTY, PROFILE, EDIT, ADD, PLAN, INVALID }; enum Items{BACKGROUND, PROFILE_Y_AXIS, GAS_Y_AXIS, TIME_AXIS, DEPTH_CONTROLLER, TIME_CONTROLLER, COLUMNS}; @@ -69,6 +63,13 @@ protected: signals: void startProfileState(); void startEmptyState(); +private: /*methods*/ + void fixBackgroundPos(); + void scrollViewTo(const QPoint& pos); + void setupSceneAndFlags(); + void setupItemSizes(); + void addItemsToScene(); + void setupItemOnScene(); private: DivePlotDataModel *dataModel; State currentState; @@ -83,8 +84,6 @@ private: PartialGasPressureAxis *gasYAxis; TemperatureAxis *temperatureAxis; TimeAxis *timeAxis; - DiveRectItem *depthController; - DiveRectItem *timeController; DiveProfileItem *diveProfileItem; DiveCartesianPlane *cartesianPlane; DiveTemperatureItem *temperatureItem; |