mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added the first Partial Gas Pressure: PN2
This makes the beginning of the partial gas pressures, there's two more. but this code uses a good part of the Model View system, and it's way clearer than the old one. Luckly the other 2 missing items will be even more clear ( the diffs ) to do, because I just need to create a new PartialPressureGasItem and set the properties. <3 Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fd45e646dc
commit
caa45a1539
6 changed files with 94 additions and 4 deletions
|
|
@ -37,6 +37,7 @@ struct DiveGasPressureItem;
|
|||
struct DiveCalculatedCeiling;
|
||||
struct DiveReportedCeiling;
|
||||
struct DiveCalculatedTissue;
|
||||
struct PartialPressureGasItem;
|
||||
|
||||
class ProfileWidget2 : public QGraphicsView {
|
||||
Q_OBJECT
|
||||
|
|
@ -91,6 +92,7 @@ private:
|
|||
DiveCalculatedCeiling *diveCeiling;
|
||||
QList<DiveCalculatedTissue*> allTissues;
|
||||
DiveReportedCeiling *reportedCeiling;
|
||||
PartialPressureGasItem *pn2GasItem;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue