kjsembed
color.cpp File Reference
#include "color.h"
#include <QtCore/QDebug>
#include <QtGui/QColor>
Include dependency graph for color.cpp:

Go to the source code of this file.
Functions | |
value | setAlpha (KJSEmbed::extractInt(exec, args, 0)) |
END_VARIANT_METHOD value | setBlue (KJSEmbed::extractInt(exec, args, 0)) |
END_VARIANT_METHOD value | setCmyk (KJSEmbed::extractInt(exec, args, 0), KJSEmbed::extractInt(exec, args, 1), KJSEmbed::extractInt(exec, args, 2), KJSEmbed::extractInt(exec, args, 3), KJSEmbed::extractInt(exec, args, 4, 255)) |
END_VARIANT_METHOD value | setGreen (KJSEmbed::extractInt(exec, args, 0)) |
END_VARIANT_METHOD value | setHsv (KJSEmbed::extractInt(exec, args, 0), KJSEmbed::extractInt(exec, args, 1), KJSEmbed::extractInt(exec, args, 2), KJSEmbed::extractInt(exec, args, 3, 255)) |
END_VARIANT_METHOD value | setNamedColor (KJSEmbed::extractQString(exec, args, 0)) |
END_VARIANT_METHOD value | setRed (KJSEmbed::extractInt(exec, args, 0)) |
END_VARIANT_METHOD value | setRgb (KJSEmbed::extractInt(exec, args, 0), KJSEmbed::extractInt(exec, args, 1), KJSEmbed::extractInt(exec, args, 2), KJSEmbed::extractInt(exec, args, 3, 255)) |
END_VARIANT_METHOD | START_METHOD_LUT (Color) |
Variables | |
END_VARIANT_METHOD QColor | darkColor = value.dark( KJSEmbed::extractInt( exec, args, 0, 200)) |
END_VARIANT_METHOD QColor | otherColor = value.convertTo( (QColor::Spec)KJSEmbed::extractInt( exec, args, 0)) |
END_VARIANT_METHOD | result = KJSEmbed::createInt( exec, value.blue() ) |
Function Documentation
END_VARIANT_METHOD value setAlpha | ( | KJSEmbed:: | extractInt(exec, args, 0) | ) |
END_VARIANT_METHOD value setBlue | ( | KJSEmbed:: | extractInt(exec, args, 0) | ) |
END_VARIANT_METHOD value setCmyk | ( | KJSEmbed:: | extractInt(exec, args, 0), | |
KJSEmbed:: | extractInt(exec, args, 1), | |||
KJSEmbed:: | extractInt(exec, args, 2), | |||
KJSEmbed:: | extractInt(exec, args, 3), | |||
KJSEmbed:: | extractInt(exec, args, 4, 255) | |||
) |
END_VARIANT_METHOD value setGreen | ( | KJSEmbed:: | extractInt(exec, args, 0) | ) |
END_VARIANT_METHOD value setHsv | ( | KJSEmbed:: | extractInt(exec, args, 0), | |
KJSEmbed:: | extractInt(exec, args, 1), | |||
KJSEmbed:: | extractInt(exec, args, 2), | |||
KJSEmbed:: | extractInt(exec, args, 3, 255) | |||
) |
END_VARIANT_METHOD value setNamedColor | ( | KJSEmbed:: | extractQString(exec, args, 0) | ) |
END_VARIANT_METHOD value setRed | ( | KJSEmbed:: | extractInt(exec, args, 0) | ) |
END_VARIANT_METHOD value setRgb | ( | KJSEmbed:: | extractInt(exec, args, 0), | |
KJSEmbed:: | extractInt(exec, args, 1), | |||
KJSEmbed:: | extractInt(exec, args, 2), | |||
KJSEmbed:: | extractInt(exec, args, 3, 255) | |||
) |
Variable Documentation
END_VARIANT_METHOD QColor otherColor = value.convertTo( (QColor::Spec)KJSEmbed::extractInt( exec, args, 0)) |
END_OBJECT_METHOD result = KJSEmbed::createInt( exec, value.blue() ) |