diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-04 16:12:43 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-04 19:49:52 -0700 |
commit | 8353d571643c83514012a84cdc904353d2c4972e (patch) | |
tree | d862bb5b805ffae00f075723ce72788837dbb684 /profile.c | |
parent | fcd6903621da975a83bfb6c9a9769221c4203ad9 (diff) | |
download | subsurface-8353d571643c83514012a84cdc904353d2c4972e.tar.gz |
Started the code for the Profile Plotting
This small patch adds a new class - ProfileGraphicsView
it's a QGraphicsView based class that will holds all
graphics-items for the plotting.
The setup is simple, just call ui->ListView->plot( dive ) ( that's
already a ProfileGraphicsView and magic will happen.
Since Im using a QGraphicsView , the size of the canvas doesn't
matter and I'm fixing it at 0,0,100,100. when a resize is done,
the resizeEvent will be called, fitting the scene's rectangle on
the view.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions