Resolution-independent trash icon

Also, generate the corresponding pixmap only once, and distribute it to
all models that need it.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Giuseppe Bilotta 2014-10-19 16:15:20 +02:00 committed by Dirk Hohndel
parent 60702f104c
commit dfec501e7a
4 changed files with 44 additions and 5 deletions

View file

@ -89,6 +89,9 @@ private:
QString biggerEntry;
};
/* Retrieve the trash icon pixmap, common to most table models */
const QPixmap &trashIcon();
/* Encapsulation of the Cylinder Model, that presents the
* Current cylinders that are used on a dive. */
class CylindersModel : public CleanerTableModel {