mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added the current gas used on the planner
Added the current gas used on the planner, now it's a matter of choosing the new gas, that will be done in the next commit.e Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
b36dfc7c4f
commit
9dde9b3d4c
2 changed files with 34 additions and 2 deletions
|
|
@ -28,7 +28,6 @@ public:
|
|||
int mm;
|
||||
protected:
|
||||
void mousePressEvent(QGraphicsSceneMouseEvent* event);
|
||||
|
||||
};
|
||||
|
||||
class Ruler : public QGraphicsLineItem{
|
||||
|
|
@ -97,6 +96,12 @@ private:
|
|||
/* This is the user-entered handles. */
|
||||
QList<DiveHandler *> handles;
|
||||
|
||||
/* this is the user-entered gases.
|
||||
This must be a button, so the
|
||||
user cna click to choose a new gas.
|
||||
*/
|
||||
QList<Button*> gases;
|
||||
|
||||
/* those are the lines that follows the mouse. */
|
||||
QGraphicsLineItem *verticalLine;
|
||||
QGraphicsLineItem *horizontalLine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue