mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: introduce a ProfileScene stub
This simply subclasses QGraphicsScene and is used as a drop-in replacement. The plan is to step-by-step move rendering functions there until the non-interactive code can only use the scene and doesn't have to use the QGraphicsView. This will hopefully remove quite some conditional code. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5a34bdccb5
commit
15342232ca
6 changed files with 34 additions and 1 deletions
|
@ -170,6 +170,7 @@ SOURCES += subsurface-mobile-main.cpp \
|
|||
profile-widget/diveeventitem.cpp \
|
||||
profile-widget/diveprofileitem.cpp \
|
||||
profile-widget/profilewidget2.cpp \
|
||||
profile-widget/profilescene.cpp \
|
||||
profile-widget/ruleritem.cpp \
|
||||
profile-widget/animationfunctions.cpp \
|
||||
profile-widget/divepixmapitem.cpp \
|
||||
|
@ -325,6 +326,7 @@ HEADERS += \
|
|||
profile-widget/qmlprofile.h \
|
||||
profile-widget/diveprofileitem.h \
|
||||
profile-widget/profilewidget2.h \
|
||||
profile-widget/profilescene.h \
|
||||
profile-widget/ruleritem.h \
|
||||
profile-widget/diveeventitem.h \
|
||||
profile-widget/divetooltipitem.h \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue