mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make the tissues be preferences-aware.
This patch adds a new class DiveCalculatedTissue that's preferences aware. It knows when to show or hide itself. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f8a4f8de81
commit
cde9bc0de9
4 changed files with 22 additions and 2 deletions
|
@ -36,6 +36,7 @@ struct plot_info;
|
|||
struct DiveGasPressureItem;
|
||||
struct DiveCalculatedCeiling;
|
||||
struct DiveReportedCeiling;
|
||||
struct DiveCalculatedTissue;
|
||||
|
||||
class ProfileWidget2 : public QGraphicsView {
|
||||
Q_OBJECT
|
||||
|
@ -88,7 +89,7 @@ private:
|
|||
QList<DiveEventItem*> eventItems;
|
||||
DiveTextItem *diveComputerText;
|
||||
DiveCalculatedCeiling *diveCeiling;
|
||||
QList<DiveCalculatedCeiling*> allTissues;
|
||||
QList<DiveCalculatedTissue*> allTissues;
|
||||
DiveReportedCeiling *reportedCeiling;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue