profile: remove profile widget code from mainwindow

Create a new class that encapsulates the profile-widget UI.

This is called ProfileWidget, which might be confusing since
the actual display is called ProfileWidget2. However, the
plan is to rename the latter to ProfileView. After all, it
is also used to print and to show the profile on mobile.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-04-12 23:34:28 +02:00 committed by Dirk Hohndel
parent 6b615ccb4b
commit 13d4f595cb
7 changed files with 443 additions and 365 deletions

View file

@ -35,6 +35,7 @@ set (SUBSURFACE_UI
plannerDetails.ui
plannerSettings.ui
printoptions.ui
profilewidget.ui
renumber.ui
searchbar.ui
setpoint.ui
@ -99,6 +100,8 @@ set(SUBSURFACE_INTERFACE
modeldelegates.h
notificationwidget.cpp
notificationwidget.h
profilewidget.cpp
profilewidget.h
qtwaitingspinner.cpp
qtwaitingspinner.h
simplewidgets.cpp