Subversion Repositories Scribus

Rev

Rev 2969 | Rev 3057 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 paul 1
/****************************************************************************
2
** Form interface generated from reading ui file 'CMY.ui'
3
**
4
** Created: Thu Sep 6 22:13:03 2001
5
**      by:  The User Interface Compiler (uic)
6
**
7
** WARNING! All changes made in this file will be lost!
8
****************************************************************************/
9
#ifndef CMYKFARBEN_H
10
#define CMYKFARBEN_H
11
 
12
#include <qdialog.h>
13
#include <qpixmap.h>
14
#include <qcolor.h>
15
#include <qcheckbox.h>
16
#include <qcombobox.h>
17
#include <qframe.h>
18
#include <qlabel.h>
19
#include <qpushbutton.h>
20
#include <qslider.h>
21
#include <qlayout.h>
22
#include <qtooltip.h>
259 Franz 23
#include <qlineedit.h>
279 Franz 24
#include <qwidgetstack.h>
25
#include <qlistbox.h>
686 cbradney 26
 
3041 fschmid 27
class ScColor;
2969 craig 28
#include "scribusapi.h"
3 paul 29
#include "colorchart.h"
216 Franz 30
#include "mspinbox.h"
838 cbradney 31
#include "scribusstructs.h"
3 paul 32
 
2969 craig 33
class SCRIBUS_API CMYKChoose : public QDialog
216 Franz 34
{
35
        Q_OBJECT
3 paul 36
 
37
public:
2886 fschmid 38
        CMYKChoose( QWidget* parent, ScColor orig, QString name, ColorList *Colors, QStringList Cust );
216 Franz 39
        ~CMYKChoose() {};
168 Franz 40
        virtual void mouseReleaseEvent(QMouseEvent *m);
41
        QColor CMYK2RGB(int c, int m, int y, int k);
216 Franz 42
        QLabel* TextLabel1;
259 Franz 43
        QLineEdit* Farbname;
216 Franz 44
        QLabel* TextLabel3;
45
        QComboBox* ComboBox1;
46
        QCheckBox* Separations;
279 Franz 47
        QComboBox* Swatches;
216 Franz 48
        QLabel* TextLabel5_2;
49
        QLabel* OldC;
50
        QLabel* TextLabel5;
51
        QLabel* NewC;
52
        QPushButton* Cancel;
53
        QPushButton* Cancel_2;
54
        QFrame* Frame4;
279 Franz 55
        QWidgetStack* TabStack;
216 Franz 56
        QFrame* Frame5;
279 Franz 57
        QFrame* Frame5a;
58
        QListBox* ColorSwatch;
216 Franz 59
        ColorChart* ColorMap;
60
        QLabel* CyanP;
61
        QLabel* CyanT;
62
        QSlider* CyanSL;
63
        MSpinBox* CyanSp;
64
        QLabel* MagentaP;
65
        QLabel* MagentaT;
66
        QSlider* MagentaSL;
67
        MSpinBox* MagentaSp;
68
        QLabel* YellowP;
69
        QLabel* YellowT;
70
        QSlider* YellowSL;
71
        MSpinBox* YellowSp;
72
        QLabel* BlackP;
73
        QLabel* BlackT;
74
        QSlider* BlackSL;
75
        MSpinBox* BlackSp;
76
        QPixmap imageA;
77
        QPixmap imageN;
3041 fschmid 78
        QPixmap alertIcon;
2886 fschmid 79
        ScColor Farbe;
216 Franz 80
        bool CMYKmode;
168 Franz 81
        bool Wsave;
216 Franz 82
        bool dynamic;
83
        int BlackComp;
1065 cbradney 84
        ColorList *EColors;
85
        ColorList CurrSwatch;
279 Franz 86
        QStringList CColSet;
344 Franz 87
        QString Fnam;
168 Franz 88
 
3 paul 89
public slots:
216 Franz 90
        void SetValueS(int val);
168 Franz 91
        void ToggleSL();
92
        QPixmap SliderPix(int farbe);
93
        QPixmap SliderBlack();
279 Franz 94
        void SelSwatch(int n);
168 Franz 95
        void SelModel(const QString& mod);
216 Franz 96
        void setColor();
97
        void setColor2(int h, int s, bool ende);
279 Franz 98
        void SelFromSwatch( int c);
216 Franz 99
        void setValues();
259 Franz 100
        void Verlassen();
3 paul 101
 
102
protected:
216 Franz 103
        QHBoxLayout* CMYKFarbenLayout;
104
        QVBoxLayout* Layout23;
105
        QGridLayout* Layout2;
287 Franz 106
        QGridLayout* Layout2x;
216 Franz 107
        QHBoxLayout* Layout21;
108
        QVBoxLayout* Frame4Layout;
109
        QHBoxLayout* Frame5Layout;
279 Franz 110
        QHBoxLayout* Frame5aLayout;
216 Franz 111
        QVBoxLayout* Layout1_2;
112
        QVBoxLayout* Layout1_2_2;
113
        QVBoxLayout* Layout1_2_3;
114
        QVBoxLayout* Layout1_2_4;
3 paul 115
};
116
 
117
#endif // CMYKFARBEN_H