Shows the correct color for the CylinderPressure

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Plotting temperature text.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Plotting depth text.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Plotting cylinder pressure text.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Plotting deco text.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Plot pp Text

This patch plots the PP text, but when I plotted I realized
that the gc.pi.mapp is being calculated wrong, probably
something went wrong on the calculations - it's comming
zered always. So, only one line & text is plotted.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Plot the vertical ruler on the left of the profile.

Plot the numbers on the left of the profile.
It seems that everythign is being plotted -
But I can see that there are coordinate-errors on the
code. ( the GTK one plots some curves below of the
dive, but the Qt one is overlapping - probably the
way that I'm using the gc information)

Need to investigate a bit.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Use a Default pen to make the configuration easier.

Created a default pen that has 'cosmetic' enabled,
A cosmetic line doesn't change it's width no matter
what zoom level we apply.

Also , changed everything that used a line to have
that as default pen instead.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Removed unused code that I'm sure it's safe to delete.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
The Zoom is working just like the GTK Version.

This code enables Zoom in / Out with the Wheel,
and it also enables panning by moving the mouse around.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>