Back to index

scribus-ng  1.3.4.dfsg+svn20071115
missing.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 MISSINGFONT_H
00008 #define MISSINGFONT_H
00009 
00010 #include <qdialog.h>
00011 class QLabel;
00012 class QHBoxLayout;
00013 class QGridLayout;
00014 class QPushButton;
00015 class FontCombo;
00016 class ScribusDoc;
00017 #include "scribusapi.h"
00018 #include "scribusstructs.h"
00019 
00020 class SCRIBUS_API MissingFont : public QDialog
00021 {
00022     Q_OBJECT
00023 
00024 public:
00025     MissingFont( QWidget* parent, QString fon, ScribusDoc* doc);
00026     ~MissingFont() {};
00027        
00028        const QString getReplacementFont();
00029 
00030 public slots:
00031     virtual void newFont(const QString& replacement);
00032 
00033 protected:
00034     QHBoxLayout* missingFontLayout;
00035     QGridLayout* missingFontGridLayout;
00036     QPushButton* okButton;
00037     QLabel* insteadLabel;
00038     QLabel* pixmapLabel;
00039     FontCombo* replaceFontCombo;
00040     QLabel* notInstalledLabel;
00041     QLabel* useLabel;
00042     QString replacementFont;
00043 };
00044 
00045 #endif // MISSINGFONT_H