Source: scribus/fontprefs.h
|
|
|
|
#ifndef FONTPREFS_H
#define FONTPREFS_H
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "scribusdoc.h"
class FontPrefs : public QDialog
{
Q_OBJECT
public:
FontPrefs( QWidget* parent, SCFonts &flist, bool Hdoc, preV *prefs, QString PPath );
~FontPrefs() {};
void ReadPath();
void RebuildDialog();
QTabWidget* TabWidget;
QWidget* tab1;
QWidget* tab;
QWidget* tab3;
QListBox* PathList;
QTable* Table1;
QTable* Table3;
QHeader *Header;
QHeader *Header2;
QPushButton* PushButton1;
QPushButton* PushButton1_2;
QPushButton* DelB;
QPushButton* ChangeB;
QPushButton* AddB;
QPushButton* RemoveB;
QPtrList FlagsPS;
QPtrList FlagsUse;
QPtrList FlagsSub;
QPtrList FlagsRepl;
preV *Prefs;
QMap RList;
QStringList UsedFonts;
QStringList ExtraFonts;
QString HomeP;
QString CurrentPath;
bool DocAvail;
public slots:
void ReplaceSel(int r, int c);
void UpdateFliste();
void DelEntry();
void SelectPath(QListBoxItem *c);
void AddPath();
void ChangePath();
void DelPath();
signals:
void ReReadPrefs();
protected:
QVBoxLayout* FontPrefsLayout;
QVBoxLayout* tab1Layout;
QVBoxLayout* tabLayout;
QHBoxLayout* Layout2;
QHBoxLayout* Layout2a;
QHBoxLayout* tab3Layout;
QVBoxLayout* LayoutR;
};
#endif // FONTPREFS_H
Generated by: paul on ahnews.music.salford.ac.uk on Tue Oct 21 16:33:32 2003, using kdoc 2.0a54. |