2. Ring Documentation, Release 1.2
• void setHistory(QStringList)
• void setIconProvider(QFileIconProvider *provider)
• void setItemDelegate(QAbstractItemDelegate *delegate)
• void setLabelText(QFileDialog::DialogLabel label, QString)
• void setMimeTypeFilters(QStringList)
• void setNameFilter(QString)
• void setNameFilters(QStringList)
• void setOption(QFileDialog::Option option, bool)
• void setOptions(QFileDialog::Option options)
• void setProxyModel(QAbstractProxyModel *proxyModel)
• int viewMode(void)
• QString getExistingDirectory(QWidget *,QString,QString, QFileDialog::Option)
• QUrl getExistingDirectoryUrl(QWidget *,QString,QUrl, QFileDialog::Option,QStringList)
• QString getOpenFileName(QWidget *,QString,QString,QString)
• QUrl getSaveFileUrl(QWidget *,QString, QUrl,QString, QString *, QFileDialog::Option options,QStringList)
62.57 QPainter Class
C++ Reference : http://doc.qt.io/qt-5/QPainter.html
Parameters : void
• QBrush background(void)
• int backgroundMode(void)
• bool begin(QPaintDevice *device)
• void beginNativePainting(void)
• QRect boundingRect(int x, int y, int w, int h, int flags, QString text)
• QBrush brush(void)
• QPoint brushOrigin(void)
• QRectF clipBoundingRect(void)
• QPainterPath clipPath(void)
• QRegion clipRegion(void)
• QTransform combinedTransform(void)
• int compositionMode(void)
• QPaintDevice *device(void)
• QTransform deviceTransform(void)
• void drawArc(int x, int y, int width, int height, int startAngle, int spanAngle)
• void drawChord(int x, int y, int width, int height, int startAngle, int spanAngle)
62.57. QPainter Class 671
3. Ring Documentation, Release 1.2
• void drawConvexPolygon( QPoint * points, int pointCount)
• void drawEllipse(int x, int y, int width, int height)
• void drawGlyphRun( QPointF position, QGlyphRun glyphs)
• void drawImage(int x, int y, QImage image)
• void drawLine(int x1, int y1, int x2, int y2)
• void drawLines( QLine * lines, int lineCount)
• void drawPath( QPainterPath path)
• void drawPicture(int x, int y, QPicture picture)
• void drawPie(int x, int y, int width, int height, int startAngle, int spanAngle)
• void drawPixmap(int x, int y, QPixmap)
• void drawPoints( QPointF * points, int pointCount)
• void drawPolygon( QPointF * points, int pointCount, Qt::FillRule fillRule)
• void drawPolyline( QPointF * points, int pointCount)
• void drawRect(int x, int y, int width, int height)
• void drawRects( QRectF * rectangles, int rectCount)
• void drawRoundedRect(int x, int y, int w, int h, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
• void drawStaticText(int left, int top, QStaticText staticText)
• void drawText(int x, int y, QString text)
• void drawTiledPixmap(int x, int y, int width, int height, QPixmap pixmap, int sx, int sy)
• bool end(void) # In RingQt use : bool endpaint(void)
• void endNativePainting(void)
• void eraseRect(int x, int y, int width, int height)
• void fillPath( QPainterPath path, QBrush brush)
• void fillRect(int x, int y, int width, int height, QBrush)
• QFont font(void)
• QFontInfo fontInfo(void)
• bool hasClipping(void)
• void initFrom( QWidget *widget)
• bool isActive(void)
• int layoutDirection(void)
• double opacity(void)
• QPaintEngine *paintEngine(void)
• QPen pen(void)
• int renderHints(void)
• void resetTransform(void)
• void restore(void)
62.57. QPainter Class 672
6. Ring Documentation, Release 1.2
• void swap(QPen)
• int width(void)
• double widthF(void)
62.60 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)
• int hslSaturation(void)
• double hslSaturationF(void)
• int hsvHue(void)
• double hsvHueF(void)
• int hsvSaturation(void)
• double hsvSaturationF(void)
62.60. QColor Class 675
7. Ring Documentation, Release 1.2
• 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)
• 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)
62.60. QColor Class 676
8. Ring Documentation, Release 1.2
• 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)
62.61 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)
• int fromPage(void)
• bool fullPage(void)
• bool isValid(void)
• QString outputFileName(void)
• int outputFormat(void)
• QRectF pageRect(QPrinter::Unit unit)
62.61. QPrinter Class 677