Sei sulla pagina 1di 10

Ring Documentation, Release 1.5.

• void scale(double sx, double sy)


• void setBackground( QBrush brush)
• void setBackgroundMode(Qt::BGMode mode)
• void setBrush(QBrush brush)
• void setBrushOrigin(int x, int y)
• void setClipPath( QPainterPath path, Qt::ClipOperation operation)
• void setClipRect(int x, int y, int width, int height, Qt::ClipOperation operation)
• void setClipRegion( QRegion region, Qt::ClipOperation operation)
• void setClipping(bool enable)
• void setCompositionMode(QPainter::CompositionMode mode)
• void setFont( QFont font)
• void setLayoutDirection(Qt::LayoutDirection direction)
• void setOpacity(qreal opacity)
• void setPen(QPen pen)
• void setRenderHint(QPainter::RenderHint hint, bool on)
• void setTransform( QTransform transform, bool combine)
• void setViewTransformEnabled(bool enable)
• void setViewport(int x, int y, int width, int height)
• void setWindow(int x, int y, int width, int height)
• void setWorldMatrixEnabled(bool enable)
• void setWorldTransform( QTransform matrix, bool combine)
• void shear(double sh, double sv)
• void strokePath( QPainterPath path, QPen pen)
• bool testRenderHint(QPainter::RenderHint hint)
• QTransform transform(void)
• void translate(double dx, double dy)
• bool viewTransformEnabled(void)
• QRect viewport(void)
• QRect window(void)
• bool worldMatrixEnabled(void)
• QTransform worldTransform(void)
• void drawPolygon(QPainter *pObject, Qt::FillRule fillRule )

94.61. QPainter Class 1615


Ring Documentation, Release 1.5.2

94.62 QPainter2 Class

C++ Reference : http://doc.qt.io/qt-5/QPainter2.html


Parameters : QPaintDevice *
Parent Class : QPainter

94.63 QPicture Class

C++ Reference : http://doc.qt.io/qt-5/QPicture.html


Parameters : void
• QRect boundingRect(void)
• const char *data(void)
• bool isNull(void)
• bool load(QString, const char *format) # In RingQt use : bool loadfile(QString, const char *format)
• bool play(QPainter *painter)
• bool save(QString , const char *format)
• void setBoundingRect(QRect)
• int size(void)
• void swap(QPicture)

94.64 QPen Class

C++ Reference : http://doc.qt.io/qt-5/QPen.html


Parameters : void
• QBrush brush(void)
• int capStyle(void)
• QColor color(void)
• double dashOffset(void)
• bool isCosmetic(void)
• bool isSolid(void)
• int joinStyle(void)
• double miterLimit(void)
• void setBrush(QBrush)
• void setCapStyle(Qt::PenCapStyle style)
• void setColor(QColor)
• void setCosmetic(bool cosmetic)
• void setDashOffset(double offset)

94.62. QPainter2 Class 1616


Ring Documentation, Release 1.5.2

• void setJoinStyle(Qt::PenJoinStyle style)


• void setMiterLimit(double limit)
• void setStyle(Qt::PenStyle style)
• void setWidth(int width)
• void setWidthF(double width)
• int style(void)
• void swap(QPen)
• int width(void)
• double widthF(void)

94.65 QColor Class

C++ Reference : http://doc.qt.io/qt-5/QColor.html


Parameters : void
• int alpha(void)
• double alphaF(void)
• int black(void)
• double blackF(void)
• int blue(void)
• double blueF(void)
• QColor convertTo(QColor::Spec colorSpec)
• int cyan(void)
• double cyanF(void)
• QColor darker(int factor)
• void getCmyk(int *c, int *m, int *y, int *k, int *a)
• void getCmykF(qreal *c, qreal *m, qreal *y, qreal *k, qreal *a)
• void getHsl(int *h, int *s, int *l, int *a)
• void getHslF(qreal *h, qreal *s, qreal *l, qreal *a)
• void getHsv(int *h, int *s, int *v, int *a)
• void getHsvF(qreal *h, qreal *s, qreal *v, qreal *a)
• void getRgb(int *r, int *g, int *b, int *a)
• void getRgbF(qreal *r, qreal *g, qreal *b, qreal *a)
• int green(void)
• double greenF(void)
• int hslHue(void)
• double hslHueF(void)

94.65. QColor Class 1617


Ring Documentation, Release 1.5.2

• int hslSaturation(void)
• double hslSaturationF(void)
• int hsvHue(void)
• double hsvHueF(void)
• int hsvSaturation(void)
• double hsvSaturationF(void)
• int hue(void)
• double hueF(void)
• bool isValid(void)
• QColor lighter(int factor)
• int lightness(void)
• double lightnessF(void)
• int magenta(void)
• double magentaF(void)
• QString name(void)
• int red(void)
• double redF(void)
• QRgb rgb(void)
• QRgb rgba(void)
• int saturation(void)
• double saturationF(void)
• void setAlpha(int alpha)
• void setAlphaF(double alpha)
• void setBlue(int blue)
• void setBlueF(double blue)
• void setCmyk(int c, int m, int y, int k, int a)
• void setCmykF(double c, double m, double y, double k, double a)
• void setGreen(int green)
• void setGreenF(double green)
• void setHsl(int h, int s, int l, int a)
• void setHslF(double h, double s, double l, double a)
• void setHsv(int h, int s, int v, int a)
• void setHsvF(double h, double s, double v, double a)
• void setNamedColor(QString)
• void setRed(int red)
• void setRedF(double red)

94.65. QColor Class 1618


Ring Documentation, Release 1.5.2

• void setRgb(int r, int g, int b, int a)


• void setRgbF(double r, double g, double b, double a)
• void setRgba(QRgb rgba)
• int spec(void)
• QColor toCmyk(void)
• QColor toHsl(void)
• QColor toHsv(void)
• QColor toRgb(void)
• int value(void)
• double valueF(void)
• int yellow(void)
• double yellowF(void)
• QStringList colorNames(void)
• QColor fromCmyk(int c, int m, int y, int k, int a)
• QColor fromCmykF(double c, double m, double y, double k, double a)
• QColor fromHsl(int h, int s, int l, int a)
• QColor fromHslF(double h, double s, double l, double a)
• QColor fromHsv(int h, int s, int v, int a)
• QColor fromHsvF(double h, double s, double v, double a)
• QColor fromRgb(int r, int g, int b, int a)
• QColor fromRgbF(double r, double g, double b, double a)
• QColor fromRgba(QRgb rgba)
• bool isValidColor(QString)

94.66 QPrinter Class

C++ Reference : http://doc.qt.io/qt-5/QPrinter.html


Parameters : QPrinter::PrinterMode
• bool abort(void)
• bool collateCopies(void)
• int colorMode(void)
• int copyCount(void)
• QString creator(void)
• QString docName(void)
• int duplex(void)
• bool fontEmbeddingEnabled(void)

94.66. QPrinter Class 1619


Ring Documentation, Release 1.5.2

• int fromPage(void)
• bool fullPage(void)
• bool isValid(void)
• QString outputFileName(void)
• int outputFormat(void)
• QRectF pageRect(QPrinter::Unit unit)
• QRectF paperRect(QPrinter::Unit unit)
• int paperSource(void)
• QPrintEngine *printEngine(void)
• QString printProgram(void)
• int printRange(void)
• QString printerName(void)
• QString printerSelectionOption(void)
• int printerState(void)
• int resolution(void)
• void setCollateCopies(bool collate)
• void setColorMode(QPrinter::ColorMode newColorMode)
• void setCopyCount(int count)
• void setCreator(QString)
• void setDocName(QString)
• void setDuplex(QPrinter::DuplexMode duplex)
• void setFontEmbeddingEnabled(bool enable)
• void setFromTo(int from, int to)
• void setFullPage(bool fp)
• void setOutputFileName(QString)
• void setOutputFormat(QPrinter::OutputFormat format)
• void setPrintProgram(QString)
• void setPrintRange(QPrinter::PrintRange)
• void setPrinterName(QString)
• void setPrinterSelectionOption(QString)
• void setResolution(int dpi)
• bool supportsMultipleCopies(void)
• int toPage(void)
• bool newPage(void)
• QPaintEngine *paintEngine(void)
• void setPageSizeMM(QSizeF)

94.66. QPrinter Class 1620


Ring Documentation, Release 1.5.2

94.67 QFont Class

C++ Reference : http://doc.qt.io/qt-5/QFont.html


Parameters : QString, int, int, bool
• bool bold(void)
• int capitalization(void)
• QString defaultFamily(void)
• bool exactMatch(void)
• QString family(void)
• bool fixedPitch(void)
• bool fromString(QString)
• int hintingPreference(void)
• bool isCopyOf(QFont)
• bool italic(void)
• bool kerning(void)
• QString key(void)
• QString lastResortFamily(void)
• QString lastResortFont(void)
• double letterSpacing(void)
• int letterSpacingType(void)
• bool overline(void)
• int pixelSize(void)
• int pointSize(void)
• double pointSizeF(void)
• bool rawMode(void)
• QString rawName(void)
• QFont resolve(QFont)
• void setBold(bool enable)
• void setCapitalization(QFont::Capitalization caps)
• void setFamily(QString)
• void setFixedPitch(bool enable)
• void setHintingPreference(QFont::HintingPreference hintingPreference)
• void setItalic(bool enable)
• void setKerning(bool enable)
• void setLetterSpacing(QFont::SpacingType type, double spacing)
• void setOverline(bool enable)

94.67. QFont Class 1621


Ring Documentation, Release 1.5.2

• void setPixelSize(int pixelSize)


• void setPointSize(int pointSize)
• void setPointSizeF(double pointSize)
• void setRawMode(bool enable)
• void setRawName(QString)
• void setStretch(int factor)
• void setStrikeOut(bool enable)
• void setStyle(QFont::Style style)
• void setStyleHint(QFont::StyleHint hint, QFont::StyleStrategy strategy)
• void setStyleName(QString)
• void setStyleStrategy(QFont::StyleStrategy s)
• void setUnderline(bool enable)
• void setWeight(int weight)
• void setWordSpacing(double spacing)
• int stretch(void)
• bool strikeOut(void)
• int style(void)
• int styleHint(void)
• QString styleName(void)
• int styleStrategy(void)
• QString toString(void)
• bool underline(void)
• int weight(void)
• double wordSpacing(void)
• void insertSubstitution(QString,QString)
• void insertSubstitutions(QString,QStringList)
• QString substitute(QString)
• QStringList substitutes(QString)
• QStringList substitutions(void)

94.68 QBrush Class

C++ Reference : http://doc.qt.io/qt-5/QBrush.html


Parameters : void
• QColor color(void)
• QGradient *gradient(void)

94.68. QBrush Class 1622


Ring Documentation, Release 1.5.2

• bool isOpaque(void)
• QMatrix matrix(void)
• void setColor(QColor)
• void setMatrix(QMatrix)
• void setStyle(Qt::BrushStyle style)
• void setTexture(QPixmap)
• void setTextureImage(QImage)
• void setTransform(QTransform)
• int style(void)
• void swap(QBrush)
• QPixmap texture(void)
• QImage textureImage(void)
• QTransform transform(void)

94.69 QByteArray Class

C++ Reference : http://doc.qt.io/qt-5/QByteArray.html


Parameters : void
• QByteArray append(const char *str)
• char at(int i)
• int capacity(void)
• void chop(int n)
• void clear(void)
• const char *constData(void)
• bool contains(const char *str)
• int count(const char *str)
• const char *data(void)
• bool endsWith(const char *str)
• QByteArray fill(char ch, int size)
• int indexOf(const char *str, int from)
• QByteArray insert(int i, const char *str, int len)
• bool isEmpty(void)
• bool isNull(void)
• int lastIndexOf(const char *str, int from)
• QByteArray left(int len)
• QByteArray leftJustified(int width, char fill, bool truncate)

94.69. QByteArray Class 1623


Ring Documentation, Release 1.5.2

• int length(void)
• QByteArray mid(int pos, int len)
• QByteArray prepend(const char *str, int len)
• void push_back(const char *str)
• void push_front(const char *str)
• QByteArray remove(int pos, int len)
• QByteArray repeated(int times)
• QByteArray replace(int pos, int len, const char *after, int alen)
• void reserve(int size)
• void resize(int size)
• QByteArray right(int len)
• QByteArray rightJustified(int width, char fill, bool truncate)
• QByteArray setNum(int n, int base)
• QByteArray setRawData(const char *data, uint size)
• QByteArray simplified(void)
• int size(void)
• void squeeze(void)
• bool startsWith(const char *str)
• void swap(QByteArray other)
• QByteArray toBase64(void)
• double toDouble(bool * ok)
• float toFloat(bool * ok)
• QByteArray toHex(void)
• int toInt(bool *ok, int base)
• long toLong(bool *ok, int base)
• qlonglong toLongLong(bool *ok, int base)
• QByteArray toLower(void)
• QByteArray toPercentEncoding(QByteArray,QByteArray, char percent)
• short toShort(bool *ok, int base)
• int toUInt(bool *ok, int base)
• int toULong(bool *ok, int base)
• int toULongLong(bool * ok, int base)
• int toUShort(bool * ok, int base)
• QByteArray toUpper(void)
• QByteArray trimmed(void)
• void truncate(int pos)

94.69. QByteArray Class 1624

Potrebbero piacerti anche