Move WeightModel to qt-models

One more step to make it easyer to port the app to Mobile.

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-28 17:17:09 -03:00 committed by Dirk Hohndel
parent a0f3c9992c
commit d84ffa8fc3
10 changed files with 337 additions and 319 deletions

View file

@ -3,6 +3,10 @@
#include <QAbstractTableModel>
#include <QStringList>
#include <QPixmap>
/* Retrieve the trash icon pixmap, common to most table models */
const QPixmap &trashIcon();
/* When using a QAbstractTableModel, consider using this instead
* of the default implementation, as it's easyer to setup the columns