Move DivePictureModel to qt-models

This class will surely be used on the mobile version, and it was very
tangled inside divepicturewidget.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-05-29 14:42:57 -03:00 committed by Dirk Hohndel
parent 37bd82f623
commit ffc0c8ee99
11 changed files with 181 additions and 156 deletions

View file

@ -20,7 +20,8 @@
#include "qthelper.h"
#include "undocommands.h"
#include "divelistview.h"
#include "models.h"
#include "divepicturemodel.h"
#include "metrics.h"
// # Date Rtg Dpth Dur Tmp Wght Suit Cyl Gas SAC OTU CNS Loc
static int defaultWidth[] = { 70, 140, 90, 50, 50, 50, 50, 70, 50, 50, 70, 50, 50, 500};