6. Ring Documentation, Release 1.5.3
• 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)
95.61 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)
95.61. QPainter Class 1640
7. Ring Documentation, Release 1.5.3
• 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 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)
• void rotate(qreal angle)
• void save(void)
95.61. QPainter Class 1641