CMYKChoose Class Reference
#include <cmykfw.h>

Public Slots | |
| void | slotRightClick () |
| void | setValSLiders (double value) |
| void | SetValueS (int val) |
| void | ToggleSL () |
| QPixmap | SliderPix (int farbe) |
| QPixmap | SliderBlack () |
| void | SelSwatch (int n) |
| void | setSpot () |
| void | SelModel (const QString &mod) |
| void | setColor () |
| void | setColor2 (int h, int s, bool ende) |
| void | SelFromSwatch (QListWidgetItem *c) |
| void | setValues () |
| void | Verlassen () |
Public Member Functions | |
| CMYKChoose (QWidget *parent, ScribusDoc *doc, ScColor orig, QString name, ColorList *Colors, QStringList Cust, bool newCol) | |
| ~CMYKChoose () | |
Public Attributes | |
| QLabel * | TextLabel1 |
| QLineEdit * | Farbname |
| QLabel * | TextLabel3 |
| ScComboBox * | ComboBox1 |
| QCheckBox * | Separations |
| ScComboBox * | Swatches |
| QLabel * | TextLabel5_2 |
| QLabel * | OldC |
| QLabel * | TextLabel5 |
| QLabel * | NewC |
| QPushButton * | Cancel |
| QPushButton * | Cancel_2 |
| QFrame * | Frame4 |
| QStackedWidget * | TabStack |
| QFrame * | Frame5 |
| QFrame * | Frame5a |
| ColorListBox * | ColorSwatch |
| ColorChart * | ColorMap |
| QLabel * | CyanP |
| QLabel * | CyanT |
| QSlider * | CyanSL |
| ScrSpinBox * | CyanSp |
| QLabel * | MagentaP |
| QLabel * | MagentaT |
| QSlider * | MagentaSL |
| ScrSpinBox * | MagentaSp |
| QLabel * | YellowP |
| QLabel * | YellowT |
| QSlider * | YellowSL |
| ScrSpinBox * | YellowSp |
| QLabel * | BlackP |
| QLabel * | BlackT |
| QSlider * | BlackSL |
| ScrSpinBox * | BlackSp |
| QPixmap | imageA |
| QPixmap | imageN |
| QPixmap | alertIcon |
| ScColor | Farbe |
| bool | CMYKmode |
| bool | Wsave |
| bool | dynamic |
| bool | isNew |
| bool | isRegistration |
| int | BlackComp |
| ColorList * | EColors |
| ColorList | CurrSwatch |
| QStringList | CColSet |
| QString | Fnam |
Protected Attributes | |
| QHBoxLayout * | CMYKFarbenLayout |
| QVBoxLayout * | Layout23 |
| QGridLayout * | Layout2 |
| QGridLayout * | Layout2x |
| QHBoxLayout * | Layout21 |
| QVBoxLayout * | Frame4Layout |
| QHBoxLayout * | Frame5Layout |
| QHBoxLayout * | Frame5aLayout |
| QVBoxLayout * | Layout1_2 |
| QVBoxLayout * | Layout1_2_2 |
| QVBoxLayout * | Layout1_2_3 |
| QVBoxLayout * | Layout1_2_4 |
| ColorSetManager | csm |
| int | customSetStartIndex |
| ScribusDoc * | m_doc |
Detailed Description
Definition at line 35 of file cmykfw.h.
Constructor & Destructor Documentation
| CMYKChoose::CMYKChoose | ( | QWidget * | parent, | |
| ScribusDoc * | doc, | |||
| ScColor | orig, | |||
| QString | name, | |||
| ColorList * | Colors, | |||
| QStringList | Cust, | |||
| bool | newCol | |||
| ) |
Definition at line 48 of file cmykfw.cpp.
References alertIcon, RGBColor::b, BlackComp, BlackP, BlackSL, BlackSp, BlackT, CMYKColor::c, Cancel, Cancel_2, CColSet, CMYKFarbenLayout, CMYKmode, ColorMap, colorModelCMYK, ColorSwatch, ComboBox1, csm, CurrSwatch, customSetStartIndex, CyanP, CyanSL, CyanSp, CyanT, ColorChart::drawPalette(), dynamic, EColors, Farbe, Farbname, ColorSetManager::findPaletteLocations(), ColorSetManager::findPalettes(), Fnam, Frame4, Frame4Layout, Frame5, Frame5a, Frame5aLayout, Frame5Layout, RGBColor::g, ScPaths::getApplicationDataDir(), ScColorEngine::getCMYKValues(), ScColor::getColorModel(), ScColorEngine::getDisplayColor(), ScColorEngine::getRGBColor(), ScColorEngine::getRGBValues(), imageA, imageN, isNew, ScColorEngine::isOutOfGamut(), isRegistration, ScColor::isRegistrationColor(), ScColor::isSpotColor(), CMYKColor::k, Layout1_2, Layout1_2_2, Layout1_2_3, Layout1_2_4, Layout2, Layout21, Layout23, Layout2x, loadIcon(), CMYKColor::m, m_doc, MagentaP, MagentaSL, MagentaSp, MagentaT, NewC, OldC, paintAlert(), ColorSetManager::paletteNames(), RGBColor::r, SelFromSwatch(), SelModel(), SelSwatch(), Separations, setColor(), setColor2(), ColorChart::setMark(), setSpot(), setValSLiders(), SetValueS(), SliderBlack(), SliderPix(), slotRightClick(), Swatches, TabStack, TextLabel1, TextLabel3, TextLabel5, TextLabel5_2, tr(), CommonStrings::tr_Cancel, CommonStrings::tr_OK, Verlassen(), Wsave, CMYKColor::y, YellowP, YellowSL, YellowSp, and YellowT.
Member Function Documentation
| void CMYKChoose::slotRightClick | ( | ) | [slot] |
Definition at line 432 of file cmykfw.cpp.
References dynamic, ToggleSL(), and tr().
Referenced by CMYKChoose().
| void CMYKChoose::setValSLiders | ( | double | value | ) | [slot] |
Definition at line 419 of file cmykfw.cpp.
References BlackSL, BlackSp, CyanSL, CyanSp, MagentaSL, MagentaSp, YellowSL, and YellowSp.
Referenced by CMYKChoose(), SelModel(), and SetValueS().
| void CMYKChoose::SetValueS | ( | int | val | ) | [slot] |
Definition at line 446 of file cmykfw.cpp.
References BlackSL, BlackSp, CyanSL, CyanSp, MagentaSL, MagentaSp, setColor(), setValSLiders(), YellowSL, and YellowSp.
Referenced by CMYKChoose(), and SelModel().
| void CMYKChoose::ToggleSL | ( | ) | [slot] |
Definition at line 467 of file cmykfw.cpp.
References BlackP, CMYKmode, CyanP, dynamic, MagentaP, SliderBlack(), SliderPix(), and YellowP.
Referenced by slotRightClick().
| QPixmap CMYKChoose::SliderPix | ( | int | farbe | ) | [slot] |
Definition at line 477 of file cmykfw.cpp.
References CMYKmode, dynamic, Farbe, ScColorEngine::getCMYKValues(), ScColorEngine::getDisplayColorGC(), ScColorEngine::getRGBValues(), RGBColor::getValues(), CMYKColor::getValues(), m_doc, and p.
Referenced by CMYKChoose(), SelModel(), setColor(), setValues(), and ToggleSL().
| QPixmap CMYKChoose::SliderBlack | ( | ) | [slot] |
Definition at line 569 of file cmykfw.cpp.
References dynamic, Farbe, ScColorEngine::getCMYKValues(), ScColorEngine::getDisplayColorGC(), CMYKColor::getValues(), m_doc, and p.
Referenced by CMYKChoose(), SelModel(), setColor(), setValues(), and ToggleSL().
| void CMYKChoose::SelSwatch | ( | int | n | ) | [slot] |
Definition at line 593 of file cmykfw.cpp.
References ColorSwatch, csm, CurrSwatch, customSetStartIndex, ScColor::fromQColor(), ScPaths::getApplicationDataDir(), ColorListBox::insertFancyPixmapItems(), ScPaths::instance(), ScPaths::libDir(), loadRawText(), CommonStrings::None, ColorSetManager::paletteFileFromName(), ScColor::setColor(), ScColor::setColorRGB(), ScColor::setNamedColor(), ScColor::setRegistrationColor(), ScColor::setSpotColor(), Swatches, and TabStack.
Referenced by CMYKChoose().
| void CMYKChoose::setSpot | ( | ) | [slot] |
Definition at line 736 of file cmykfw.cpp.
References ComboBox1, SelModel(), Separations, and tr().
Referenced by CMYKChoose().
| void CMYKChoose::SelModel | ( | const QString & | mod | ) | [slot] |
Definition at line 747 of file cmykfw.cpp.
References alertIcon, BlackP, BlackSL, BlackSp, BlackT, CMYKmode, colorModelCMYK, colorModelRGB, ScColorEngine::convertToModel(), CyanP, CyanSL, CyanSp, CyanT, Farbe, ScColorEngine::getDisplayColor(), imageN, ScColorEngine::isOutOfGamut(), Layout2x, m_doc, MagentaP, MagentaSL, MagentaSp, MagentaT, NewC, OldC, paintAlert(), setColor(), setValSLiders(), setValues(), SetValueS(), SliderBlack(), SliderPix(), tr(), Wsave, YellowP, YellowSL, YellowSp, and YellowT.
Referenced by CMYKChoose(), SelFromSwatch(), and setSpot().
| void CMYKChoose::setColor | ( | ) | [slot] |
Definition at line 882 of file cmykfw.cpp.
References alertIcon, BlackComp, BlackP, BlackSp, CMYKmode, ColorMap, CyanP, CyanSL, CyanSp, ColorChart::drawPalette(), dynamic, Farbe, ScColorEngine::getDisplayColor(), ScColorEngine::getRGBColor(), imageN, ScColorEngine::isOutOfGamut(), m_doc, MagentaP, MagentaSL, MagentaSp, NewC, paintAlert(), ScColor::setColor(), ScColor::setColorRGB(), ColorChart::setMark(), SliderBlack(), SliderPix(), Wsave, YellowP, YellowSL, and YellowSp.
Referenced by CMYKChoose(), SelModel(), and SetValueS().
| void CMYKChoose::setColor2 | ( | int | h, | |
| int | s, | |||
| bool | ende | |||
| ) | [slot] |
Definition at line 950 of file cmykfw.cpp.
References alertIcon, BlackComp, CMYKColor::c, CMYKmode, Farbe, ScColor::fromQColor(), ScColorEngine::getCMYKValues(), ScColorEngine::getDisplayColor(), imageN, ScColorEngine::isOutOfGamut(), CMYKColor::k, CMYKColor::m, m_doc, NewC, paintAlert(), ScColor::setColor(), setValues(), and CMYKColor::y.
Referenced by CMYKChoose().
| void CMYKChoose::SelFromSwatch | ( | QListWidgetItem * | c | ) | [slot] |
Definition at line 972 of file cmykfw.cpp.
References alertIcon, colorModelCMYK, ComboBox1, ScColorEngine::convertToModel(), CurrSwatch, Farbe, ScColor::getColorModel(), ScColorEngine::getDisplayColor(), imageN, ScColorEngine::isOutOfGamut(), isRegistration, ScColor::isSpotColor(), m_doc, NewC, paintAlert(), SelModel(), Separations, setValues(), and tr().
Referenced by CMYKChoose().
| void CMYKChoose::setValues | ( | ) | [slot] |
Definition at line 1005 of file cmykfw.cpp.
References BlackComp, BlackP, BlackSL, BlackSp, CMYKmode, CyanP, CyanSL, CyanSp, dynamic, Farbe, ScColorEngine::getCMYKValues(), ScColorEngine::getRGBColor(), ScColorEngine::getRGBValues(), RGBColor::getValues(), CMYKColor::getValues(), m_doc, MagentaP, MagentaSL, MagentaSp, SliderBlack(), SliderPix(), YellowP, YellowSL, and YellowSp.
Referenced by SelFromSwatch(), SelModel(), and setColor2().
| void CMYKChoose::Verlassen | ( | ) | [slot] |
Definition at line 1053 of file cmykfw.cpp.
References EColors, Farbname, Fnam, isNew, CommonStrings::None, tr(), CommonStrings::tr_NoneColor, CommonStrings::tr_OK, and CommonStrings::trWarning.
Referenced by CMYKChoose().
Member Data Documentation
| QLabel* CMYKChoose::TextLabel1 |
| QLineEdit* CMYKChoose::Farbname |
Definition at line 43 of file cmykfw.h.
Referenced by CMYKChoose(), ColorManager::editColor(), ColorManager::newColor(), and Verlassen().
| QLabel* CMYKChoose::TextLabel3 |
| QCheckBox* CMYKChoose::Separations |
Definition at line 46 of file cmykfw.h.
Referenced by CMYKChoose(), ColorManager::editColor(), ColorManager::newColor(), SelFromSwatch(), and setSpot().
| QLabel* CMYKChoose::TextLabel5_2 |
| QLabel* CMYKChoose::OldC |
| QLabel* CMYKChoose::TextLabel5 |
| QLabel* CMYKChoose::NewC |
Definition at line 52 of file cmykfw.h.
Referenced by CMYKChoose(), SelFromSwatch(), SelModel(), setColor(), and setColor2().
| QPushButton* CMYKChoose::Cancel |
| QPushButton* CMYKChoose::Cancel_2 |
| QFrame* CMYKChoose::Frame4 |
| QStackedWidget* CMYKChoose::TabStack |
| QFrame* CMYKChoose::Frame5 |
| QFrame* CMYKChoose::Frame5a |
| QLabel* CMYKChoose::CyanP |
Definition at line 61 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValues(), and ToggleSL().
| QLabel* CMYKChoose::CyanT |
| QSlider* CMYKChoose::CyanSL |
Definition at line 63 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValSLiders(), setValues(), and SetValueS().
Definition at line 64 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValSLiders(), setValues(), and SetValueS().
| QLabel* CMYKChoose::MagentaP |
Definition at line 65 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValues(), and ToggleSL().
| QLabel* CMYKChoose::MagentaT |
| QSlider* CMYKChoose::MagentaSL |
Definition at line 67 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValSLiders(), setValues(), and SetValueS().
Definition at line 68 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValSLiders(), setValues(), and SetValueS().
| QLabel* CMYKChoose::YellowP |
Definition at line 69 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValues(), and ToggleSL().
| QLabel* CMYKChoose::YellowT |
| QSlider* CMYKChoose::YellowSL |
Definition at line 71 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValSLiders(), setValues(), and SetValueS().
Definition at line 72 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValSLiders(), setValues(), and SetValueS().
| QLabel* CMYKChoose::BlackP |
Definition at line 73 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValues(), and ToggleSL().
| QLabel* CMYKChoose::BlackT |
| QSlider* CMYKChoose::BlackSL |
Definition at line 75 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setValSLiders(), setValues(), and SetValueS().
Definition at line 76 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setValSLiders(), setValues(), and SetValueS().
| QPixmap CMYKChoose::imageA |
| QPixmap CMYKChoose::imageN |
Definition at line 78 of file cmykfw.h.
Referenced by CMYKChoose(), SelFromSwatch(), SelModel(), setColor(), and setColor2().
| QPixmap CMYKChoose::alertIcon |
Definition at line 79 of file cmykfw.h.
Referenced by CMYKChoose(), SelFromSwatch(), SelModel(), setColor(), and setColor2().
Definition at line 80 of file cmykfw.h.
Referenced by CMYKChoose(), ColorManager::editColor(), ColorManager::newColor(), SelFromSwatch(), SelModel(), setColor(), setColor2(), setValues(), SliderBlack(), and SliderPix().
| bool CMYKChoose::CMYKmode |
Definition at line 81 of file cmykfw.h.
Referenced by CMYKChoose(), SelModel(), setColor(), setColor2(), setValues(), SliderPix(), and ToggleSL().
| bool CMYKChoose::Wsave |
| bool CMYKChoose::dynamic |
Definition at line 83 of file cmykfw.h.
Referenced by CMYKChoose(), setColor(), setValues(), SliderBlack(), SliderPix(), slotRightClick(), and ToggleSL().
| bool CMYKChoose::isNew |
Definition at line 86 of file cmykfw.h.
Referenced by CMYKChoose(), setColor(), setColor2(), and setValues().
Definition at line 88 of file cmykfw.h.
Referenced by CMYKChoose(), SelFromSwatch(), and SelSwatch().
| QStringList CMYKChoose::CColSet |
| QString CMYKChoose::Fnam |
QHBoxLayout* CMYKChoose::CMYKFarbenLayout [protected] |
QVBoxLayout* CMYKChoose::Layout23 [protected] |
QGridLayout* CMYKChoose::Layout2 [protected] |
QGridLayout* CMYKChoose::Layout2x [protected] |
QHBoxLayout* CMYKChoose::Layout21 [protected] |
QVBoxLayout* CMYKChoose::Frame4Layout [protected] |
QHBoxLayout* CMYKChoose::Frame5Layout [protected] |
QHBoxLayout* CMYKChoose::Frame5aLayout [protected] |
QVBoxLayout* CMYKChoose::Layout1_2 [protected] |
QVBoxLayout* CMYKChoose::Layout1_2_2 [protected] |
| QVBoxLayout* CMYKChoose: |
