scpreview.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef SCPREVIEW_H
00008 #define SCPREVIEW_H
00009
00010 #include "scribusapi.h"
00011 #include "scribusstructs.h"
00012
00013 #include <QPixmap>
00014 #include <QList>
00015
00016 class QString;
00017 class ScColor;
00018 class PrefsManager;
00019 class QDomDocument;
00020
00021 class SCRIBUS_API ScPreview
00022 {
00023 public:
00024 ScPreview();
00025 ~ScPreview() {};
00026 QPixmap createPreview(QString data);
00027 void SetQColor(QColor *tmp, const QString& farbe, double shad);
00028 void DrawZeichenS(ScPainter *p, double xco, double yco, QString ch, QString ZFo, bool Reverse, int Style, int mode, double Siz);
00029 QMap<QString,ScColor> Farben;
00030 QMap<QString,multiLine> MLineStyles;
00031 QList<uint> Segments;
00032 protected:
00033 PrefsManager* prefsManager;
00034 };
00035 #endif
00036