spalette.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef SPALETTE_H
00025 #define SPALETTE_H
00026
00027 #include <QComboBox>
00028 #include <QLayout>
00029 #include "scribusapi.h"
00030 class ScribusDoc;
00031
00036 class SCRIBUS_API ParaStyleComboBox : public QComboBox
00037 {
00038 Q_OBJECT
00039
00040 public:
00041 ParaStyleComboBox(QWidget* parent);
00042 ~ParaStyleComboBox() {};
00043
00044 ScribusDoc *currentDoc;
00045
00046 public slots:
00047 void setDoc(ScribusDoc *newCurrentDoc);
00048 void setFormat(QString name);
00049 void updateFormatList();
00050 void selFormat(int e);
00051
00052 signals:
00053 void newStyle(const QString&);
00054 void editStyle();
00055 };
00056
00057 class SCRIBUS_API CharStyleComboBox : public QComboBox
00058 {
00059 Q_OBJECT
00060
00061 public:
00062 CharStyleComboBox(QWidget* parent);
00063 ~CharStyleComboBox() {};
00064
00065 ScribusDoc *currentDoc;
00066
00067 public slots:
00068 void setDoc(ScribusDoc *newCurrentDoc);
00069 void setFormat(QString name);
00070 void updateFormatList();
00071 void selFormat(int e);
00072
00073 signals:
00074 void newStyle(const QString&);
00075 void editCharStyle();
00076 };
00077
00078 #endif