Subversion Repositories Scribus

Rev

Rev 3 | Rev 216 | 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 <qspinbox.h>
22
#include <qlayout.h>
23
#include <qtooltip.h>
24
#include "cmykcolor.h"
25
#include "colorchart.h"
26
 
27
class CMYKChoose : public QDialog
28
{
29
    Q_OBJECT
30
 
31
public:
32
    CMYKChoose( QWidget* parent, CMYKColor orig, QString name );
33
    ~CMYKChoose() {};
168 Franz 34
        virtual void mouseReleaseEvent(QMouseEvent *m);
35
        QColor CMYK2RGB(int c, int m, int y, int k);
3 paul 36
    QLabel* TextLabel1;
37
    QLabel* Farbname;
38
    QLabel* TextLabel3;
39
    QComboBox* ComboBox1;
40
    QCheckBox* Separations;
41
    QLabel* TextLabel5_2;
42
    QLabel* OldC;
43
    QLabel* TextLabel5;
44
    QLabel* NewC;
45
    QPushButton* Cancel;
46
    QPushButton* Cancel_2;
47
    QFrame* Frame4;
48
    QFrame* Frame5;
49
    ColorChart* ColorMap;
50
    QLabel* CyanP;
51
    QLabel* CyanT;
52
    QSlider* CyanSL;
53
    QSpinBox* CyanSp;
54
    QLabel* MagentaP;
55
    QLabel* MagentaT;
56
    QSlider* MagentaSL;
57
    QSpinBox* MagentaSp;
58
    QLabel* YellowP;
59
    QLabel* YellowT;
60
    QSlider* YellowSL;
61
    QSpinBox* YellowSp;
62
    QLabel* BlackP;
63
    QLabel* BlackT;
64
    QSlider* BlackSL;
65
    QSpinBox* BlackSp;
66
    QPixmap imageA;
67
    QPixmap imageN;
68
    CMYKColor Farbe;
69
    bool CMYKmode;
168 Franz 70
        bool Wsave;
3 paul 71
    bool dynamic;
72
    int BlackComp;
168 Franz 73
 
3 paul 74
public slots:
168 Franz 75
        void ToggleSL();
76
        QPixmap SliderPix(int farbe);
77
        QPixmap SliderBlack();
78
        void SelModel(const QString& mod);
3 paul 79
    void setColor();
80
    void setColor2(int h, int s, bool ende);
81
    void setValues();
82
 
83
protected:
84
    QHBoxLayout* CMYKFarbenLayout;
85
    QVBoxLayout* Layout23;
86
    QGridLayout* Layout2;
87
    QHBoxLayout* Layout21;
88
    QVBoxLayout* Frame4Layout;
89
    QHBoxLayout* Frame5Layout;
90
    QHBoxLayout* Cyan;
91
    QVBoxLayout* Layout1_2;
92
    QHBoxLayout* Magenta;
93
    QVBoxLayout* Layout1_2_2;
94
    QHBoxLayout* Yellow;
95
    QVBoxLayout* Layout1_2_3;
96
    QHBoxLayout* Black;
97
    QVBoxLayout* Layout1_2_4;
98
};
99
 
100
#endif // CMYKFARBEN_H