mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop: make dive site list an independent widget
This used to be one of the tab-widgets, which was illogical and caused confusion. Notably, erroneously clicking on the tab header led to a reset of the dive selection. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
b5889f0f3c
commit
17033d0d83
10 changed files with 94 additions and 65 deletions
|
@ -28,6 +28,7 @@ class QSortFilterProxyModel;
|
|||
class DiveTripModel;
|
||||
class QItemSelection;
|
||||
class DiveListView;
|
||||
class DiveSiteListView;
|
||||
class MainTab;
|
||||
class MapWidget;
|
||||
class QWebView;
|
||||
|
@ -59,6 +60,7 @@ public:
|
|||
EditDiveSite,
|
||||
FilterDive,
|
||||
Statistics,
|
||||
DiveSites,
|
||||
MapMaximized,
|
||||
ProfileMaximized,
|
||||
ListMaximized,
|
||||
|
@ -79,6 +81,7 @@ public:
|
|||
std::unique_ptr<MainTab> mainTab;
|
||||
std::unique_ptr<PlannerWidgets> plannerWidgets;
|
||||
std::unique_ptr<StatsWidget> statistics;
|
||||
std::unique_ptr<DiveSiteListView> diveSites;
|
||||
std::unique_ptr<DiveListView> diveList;
|
||||
std::unique_ptr<ProfileWidget> profile;
|
||||
std::unique_ptr<MapWidget> mapWidget;
|
||||
|
@ -112,6 +115,7 @@ slots:
|
|||
void on_actionViewProfile_triggered();
|
||||
void on_actionViewInfo_triggered();
|
||||
void on_actionViewMap_triggered();
|
||||
void on_actionViewDiveSites_triggered();
|
||||
void on_actionViewAll_triggered();
|
||||
void on_actionPreviousDC_triggered();
|
||||
void on_actionNextDC_triggered();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue