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