nicer looking counters

This commit is contained in:
Max-Wilhelm Bruker 2011-01-21 21:20:24 +01:00
parent f6849ff02b
commit 2e90a85999
17 changed files with 3054 additions and 13 deletions

View file

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