converted phases toolbar to graphics item

This commit is contained in:
Max-Wilhelm Bruker 2011-02-12 21:09:33 +01:00
parent 20194617bc
commit 78e5068e39
24 changed files with 274 additions and 159 deletions

View file

@ -4,6 +4,14 @@
#include <QPixmap>
#include <QMap>
class PhasePixmapGenerator {
private:
static QMap<QString, QPixmap> pmCache;
public:
static QPixmap generatePixmap(int size, QString name);
static void clear() { pmCache.clear(); }
};
class CounterPixmapGenerator {
private:
static QMap<QString, QPixmap> pmCache;