22 #ifndef GLYPHPREVIEWGENERATOR_H
23 #define GLYPHPREVIEWGENERATOR_H
26 #include <QtGui/QPixmap>
28 #include <tulip/tulipconf.h>
29 #include <tulip/Node.h>
30 #include <tulip/Edge.h>
39 class TLP_QT_SCOPE GlyphRenderer {
41 static GlyphRenderer & getInst();
46 QPixmap render(
unsigned int pluginId);
50 static GlyphRenderer* _instance;
51 std::map<unsigned int,QPixmap> _previews;
59 class TLP_QT_SCOPE EdgeExtremityGlyphRenderer {
62 ~EdgeExtremityGlyphRenderer();
63 static EdgeExtremityGlyphRenderer & getInst();
67 QPixmap render(
unsigned int pluginId);
70 EdgeExtremityGlyphRenderer();
71 static EdgeExtremityGlyphRenderer* _instance;
72 std::map<unsigned int,QPixmap> _previews;
78 #endif // GLYPHPREVIEWGENERATOR_H