Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

cmykfw.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 CMYKFARBEN_H
00008 #define CMYKFARBEN_H
00009 
00010 #include <QDialog>
00011 class QHBoxLayout;
00012 class QVBoxLayout;
00013 class QGridLayout;
00014 class QLabel;
00015 class QFrame;
00016 class QLineEdit;
00017 class QCheckBox;
00018 class QPushButton;
00019 class QStackedWidget;
00020 class QSlider;
00021 class QPixmap;
00022 class QListWidgetItem;
00023 
00024 #include "colorsetmanager.h"
00025 #include "sccolor.h"
00026 #include "scribusapi.h"
00027 
00028 class ScColor;
00029 class ScribusDoc;
00030 class ScrSpinBox;
00031 class ScComboBox;
00032 class ColorListBox;
00033 class ColorChart;
00034 
00035 class SCRIBUS_API CMYKChoose : public QDialog
00036 {
00037     Q_OBJECT
00038 
00039 public:
00040     CMYKChoose( QWidget* parent, ScribusDoc* doc, ScColor orig, QString name, ColorList *Colors, QStringList Cust, bool newCol );
00041     ~CMYKChoose() {};
00042     QLabel* TextLabel1;
00043     QLineEdit* Farbname;
00044     QLabel* TextLabel3;
00045     ScComboBox* ComboBox1;
00046     QCheckBox* Separations;
00047 //  QCheckBox* Regist;
00048     ScComboBox* Swatches;
00049     QLabel* TextLabel5_2;
00050     QLabel* OldC;
00051     QLabel* TextLabel5;
00052     QLabel* NewC;
00053     QPushButton* Cancel;
00054     QPushButton* Cancel_2;
00055     QFrame* Frame4;
00056     QStackedWidget* TabStack;
00057     QFrame* Frame5;
00058     QFrame* Frame5a;
00059     ColorListBox* ColorSwatch;
00060     ColorChart* ColorMap;
00061     QLabel* CyanP;
00062     QLabel* CyanT;
00063     QSlider* CyanSL;
00064     ScrSpinBox* CyanSp;
00065     QLabel* MagentaP;
00066     QLabel* MagentaT;
00067     QSlider* MagentaSL;
00068     ScrSpinBox* MagentaSp;
00069     QLabel* YellowP;
00070     QLabel* YellowT;
00071     QSlider* YellowSL;
00072     ScrSpinBox* YellowSp;
00073     QLabel* BlackP;
00074     QLabel* BlackT;
00075     QSlider* BlackSL;
00076     ScrSpinBox* BlackSp;
00077     QPixmap imageA;
00078     QPixmap imageN;
00079     QPixmap alertIcon;
00080     ScColor Farbe;
00081     bool CMYKmode;
00082     bool Wsave;
00083     bool dynamic;
00084     bool isNew;
00085     bool isRegistration;
00086     int BlackComp;
00087     ColorList *EColors;
00088     ColorList CurrSwatch;
00089     QStringList CColSet;
00090     QString Fnam;
00091 
00092 public slots:
00093     void slotRightClick();
00094     void setValSLiders(double value);
00095     void SetValueS(int val);
00096     void ToggleSL();
00097     QPixmap SliderPix(int farbe);
00098     QPixmap SliderBlack();
00099     void SelSwatch(int n);
00100     void setSpot();
00101 //  void setRegist();
00102     void SelModel(const QString& mod);
00103     void setColor();
00104     void setColor2(int h, int s, bool ende);
00105     void SelFromSwatch(QListWidgetItem* c);
00106     void setValues();
00107     void Verlassen();
00108 
00109 protected:
00110     QHBoxLayout* CMYKFarbenLayout;
00111     QVBoxLayout* Layout23;
00112     QGridLayout* Layout2;
00113     QGridLayout* Layout2x;
00114     QHBoxLayout* Layout21;
00115     QVBoxLayout* Frame4Layout;
00116     QHBoxLayout* Frame5Layout;
00117     QHBoxLayout* Frame5aLayout;
00118     QVBoxLayout* Layout1_2;
00119     QVBoxLayout* Layout1_2_2;
00120     QVBoxLayout* Layout1_2_3;
00121     QVBoxLayout* Layout1_2_4;
00122     
00123     ColorSetManager csm;
00124     int customSetStartIndex;
00125     ScribusDoc* m_doc;
00126 };
00127 
00128 #endif // CMYKFARBEN_H
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.