mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: convert the "ruler item" to qt-quick
Code is mostly based on the "tooltip item". The dragging code was slightly reworked to be more logical. A "disk item" was added for the handles. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b167e130a4
commit
ea0085fef6
14 changed files with 313 additions and 228 deletions
|
|
@ -182,7 +182,8 @@ SOURCES += subsurface-mobile-main.cpp \
|
|||
profile-widget/tooltipitem.cpp \
|
||||
profile-widget/divelineitem.cpp \
|
||||
profile-widget/divetextitem.cpp \
|
||||
profile-widget/profileview.cpp
|
||||
profile-widget/profileview.cpp \
|
||||
profile-widget/ruleritem.cpp
|
||||
|
||||
HEADERS += \
|
||||
commands/command_base.h \
|
||||
|
|
@ -345,7 +346,9 @@ HEADERS += \
|
|||
profile-widget/divelineitem.h \
|
||||
profile-widget/divepixmapcache.h \
|
||||
profile-widget/divetextitem.h \
|
||||
profile-widget/profileview.h
|
||||
profile-widget/profileview.h \
|
||||
profile-widget/ruleritem.h \
|
||||
profile-widget/profiletranslations.h
|
||||
|
||||
RESOURCES += mobile-widgets/qml/mobile-resources.qrc \
|
||||
mobile-widgets/3rdparty/icons.qrc \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue