Back to index

scribus-ng  1.3.4.dfsg+svn20071115
scpreview.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #ifndef SCPREVIEW_H
00008 #define SCPREVIEW_H
00009 
00010 #include "scribusapi.h"
00011 #include "scribusstructs.h"
00012 
00013 class QString;
00014 class ScColor;
00015 class PrefsManager;
00016 class QDomDocument;
00017 
00018 class SCRIBUS_API ScPreview
00019 {
00020 public:
00021        ScPreview();
00022        ~ScPreview() {};
00023        QPixmap createPreview(QString data);
00024        void SetFarbe(QColor *tmp, const QString& farbe, int shad);
00025        void DrawZeichenS(ScPainter *p, double xco, double yco, QString ch, QString ZFo, bool Reverse, int Style, int mode, int Siz);
00026        QMap<QString,ScColor> Farben;
00027        QMap<QString,multiLine> MLineStyles;
00028        QValueList<uint> Segments;
00029 protected:
00030        PrefsManager* prefsManager;
00031 };
00032 #endif
00033