mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: render profile on desktop via QtQuick
This breaks all dynamic features, including animations, zooming tooltips, planner-handles, etc. They will have to be converted one-by-one to QtQuick, which will be a major pain, as the ProfileView is destroyed by Qt6 on reparenting. This means that the view cannot store any persistent state. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7eecc85464
commit
75886dd4d6
25 changed files with 322 additions and 76 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "qt-models/maplocationmodel.h"
|
||||
#endif
|
||||
|
||||
#include "profile-widget/profileview.h"
|
||||
#include "stats/statsview.h"
|
||||
#include "core/devicedetails.h"
|
||||
#include "core/errorhelper.h"
|
||||
|
@ -229,5 +230,6 @@ static void register_qml_types(QQmlEngine *engine)
|
|||
register_qml_type<MapWidgetHelper>("MapWidgetHelper");
|
||||
register_qml_type<MapLocationModel>("MapLocationModel");
|
||||
#endif
|
||||
register_qml_type<ProfileView>("ProfileView");
|
||||
register_qml_type<StatsView>("StatsView");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue