Subversion Repositories Scribus


Rev 14447 | Rev 15021 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

For general Scribus (>=1.3.2) copyright and licensing information please refer
to the COPYING file provided with the program. Following this notice may exist
a copyright and/or license notice that predates the release of Scribus 1.3.2
for which a new license (GPL+exception) is in place.


#include <QListWidgetItem>
#include <QPushButton>

#include "ui_prefs_fontsbase.h"
#include "prefs_pane.h"
#include "scribusapi.h"

class ScribusDoc;
class ScComboBox;

class SCRIBUS_API Prefs_Fonts : public Prefs_Pane, Ui::Prefs_Fonts

                Prefs_Fonts(QWidget* parent=0);
                virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
                virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;

        public slots:
                void languageChange();
                void ReplaceSel(int r, int c);
                void updateFontList(struct ApplicationPrefs *prefsData);
                void DelEntry();
                void SelectPath(QListWidgetItem *c);
                void AddPath();
                void ChangePath();
                void DelPath();

                void readPaths();
                void writePaths();

                QMap<QString,QString> RList;
                QList<ScComboBox*> FlagsRepl;
                //! List of font names of allowed fonts for substitutions
                QStringList UsedFonts;
                QString CurrentPath;
                ScribusDoc* m_doc;

#endif // PREFS_FONTS_H