Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
Public Member Functions | |
QStylePainter () | |
| |
QStylePainter (QWidget w) | |
| |
QStylePainter (IQPaintDevice pd, QWidget w) | |
| |
override void | CreateProxy () |
new bool | Begin (QWidget w) |
| |
new bool | Begin (IQPaintDevice pd, QWidget w) |
| |
new void | DrawComplexControl (QStyle.ComplexControl cc, QStyleOptionComplex opt) |
| |
new void | DrawControl (QStyle.ControlElement ce, QStyleOption opt) |
| |
new void | DrawItemPixmap (QRect r, int flags, QPixmap pixmap) |
| |
new void | DrawItemText (QRect r, int flags, QPalette pal, bool enabled, string text, QPalette.ColorRole textRole=QPalette.ColorRole.NoRole) |
| |
new void | DrawPrimitive (QStyle.PrimitiveElement pe, QStyleOption opt) |
| |
new QStyle | Style () |
| |
new void | Dispose () |
Public Member Functions inherited from QtGui.QPainter | |
QPainter () | |
| |
QPainter (IQPaintDevice arg1) | |
| |
new bool | Begin (IQPaintDevice arg1) |
| |
new void | BeginNativePainting () |
| |
new QRectF | BoundingRect (QRectF rect, string text) |
| |
new QRectF | BoundingRect (QRectF rect, string text, QTextOption o) |
| |
new QRectF | BoundingRect (QRectF rect, int flags, string text) |
| |
new QRect | BoundingRect (QRect rect, int flags, string text) |
| |
new QRect | BoundingRect (int x, int y, int w, int h, int flags, string text) |
| |
new QRectF | ClipBoundingRect () |
| |
new QMatrix | CombinedMatrix () |
| |
new QTransform | CombinedTransform () |
| |
new IQPaintDevice | Device () |
| |
new QMatrix | DeviceMatrix () |
| |
new QTransform | DeviceTransform () |
| |
new void | DrawArc (QRectF rect, int a, int alen) |
| |
new void | DrawArc (QRect arg1, int a, int alen) |
| |
new void | DrawArc (int x, int y, int w, int h, int a, int alen) |
| |
new void | DrawChord (QRectF rect, int a, int alen) |
| |
new void | DrawChord (QRect arg1, int a, int alen) |
| |
new void | DrawChord (int x, int y, int w, int h, int a, int alen) |
| |
new void | DrawConvexPolygon (QPolygonF polygon) |
| |
new void | DrawConvexPolygon (QPolygon polygon) |
| |
new void | DrawConvexPolygon (QPointF points, int pointCount) |
| |
new void | DrawConvexPolygon (QPoint points, int pointCount) |
| |
new void | DrawEllipse (QRectF r) |
| |
new void | DrawEllipse (QRect r) |
| |
new void | DrawEllipse (QPointF center, double rx, double ry) |
| |
new void | DrawEllipse (QPoint center, int rx, int ry) |
| |
new void | DrawEllipse (int x, int y, int w, int h) |
| |
new void | DrawGlyphRun (QPointF position, QGlyphRun glyphRun) |
| |
new void | DrawImage (QRectF r, QImage image) |
| |
new void | DrawImage (QRect r, QImage image) |
| |
new void | DrawImage (QPointF p, QImage image) |
| |
new void | DrawImage (QPoint p, QImage image) |
| |
new void | DrawImage (QRectF targetRect, QImage image, QRectF sourceRect, Qt.ImageConversionFlag flags=Qt.ImageConversionFlag.AutoColor) |
| |
new void | DrawImage (QRect targetRect, QImage image, QRect sourceRect, Qt.ImageConversionFlag flags=Qt.ImageConversionFlag.AutoColor) |
| |
new void | DrawImage (QPointF p, QImage image, QRectF sr, Qt.ImageConversionFlag flags=Qt.ImageConversionFlag.AutoColor) |
| |
new void | DrawImage (QPoint p, QImage image, QRect sr, Qt.ImageConversionFlag flags=Qt.ImageConversionFlag.AutoColor) |
| |
new void | DrawImage (int x, int y, QImage image, int sx=0, int sy=0, int sw=-1, int sh=-1, Qt.ImageConversionFlag flags=Qt.ImageConversionFlag.AutoColor) |
| |
new void | DrawLine (QLineF line) |
| |
new void | DrawLine (QLine line) |
| |
new void | DrawLine (QPoint p1, QPoint p2) |
| |
new void | DrawLine (QPointF p1, QPointF p2) |
| |
new void | DrawLine (int x1, int y1, int x2, int y2) |
| |
new void | DrawLines (QLineF lines, int lineCount) |
| |
new void | DrawLines (QPointF pointPairs, int lineCount) |
| |
new void | DrawLines (QLine lines, int lineCount) |
| |
new void | DrawLines (QPoint pointPairs, int lineCount) |
| |
new void | DrawLines (System.Collections.Generic.List< QLineF > lines) |
| |
new void | DrawLines (System.Collections.Generic.List< QPointF > pointPairs) |
| |
new void | DrawLines (System.Collections.Generic.List< QLine > lines) |
| |
new void | DrawLines (System.Collections.Generic.List< QPoint > pointPairs) |
| |
new void | DrawPath (QPainterPath path) |
| |
new void | DrawPicture (QPointF p, QPicture picture) |
| |
new void | DrawPicture (QPoint p, QPicture picture) |
| |
new void | DrawPicture (int x, int y, QPicture picture) |
| |
new void | DrawPie (QRectF rect, int a, int alen) |
| |
new void | DrawPie (QRect arg1, int a, int alen) |
| |
new void | DrawPie (int x, int y, int w, int h, int a, int alen) |
| |
new void | DrawPixmap (QPointF p, QPixmap pm) |
| |
new void | DrawPixmap (QPoint p, QPixmap pm) |
| |
new void | DrawPixmap (QRect r, QPixmap pm) |
| |
new void | DrawPixmap (QRectF targetRect, QPixmap pixmap, QRectF sourceRect) |
| |
new void | DrawPixmap (QRect targetRect, QPixmap pixmap, QRect sourceRect) |
| |
new void | DrawPixmap (QPointF p, QPixmap pm, QRectF sr) |
| |
new void | DrawPixmap (QPoint p, QPixmap pm, QRect sr) |
| |
new void | DrawPixmap (int x, int y, QPixmap pm) |
| |
new void | DrawPixmap (int x, int y, QPixmap pm, int sx, int sy, int sw, int sh) |
| |
new void | DrawPixmap (int x, int y, int w, int h, QPixmap pm) |
| |
new void | DrawPixmap (int x, int y, int w, int h, QPixmap pm, int sx, int sy, int sw, int sh) |
| |
new void | DrawPixmapFragments (QRectF targetRects, QRectF sourceRects, int fragmentCount, QPixmap pixmap, QPainter.PixmapFragmentHint hints=0) |
| |
new void | DrawPixmapFragments (QPainter.PixmapFragment fragments, int fragmentCount, QPixmap pixmap, QPainter.PixmapFragmentHint hints=0) |
| |
new void | DrawPoint (QPointF pt) |
| |
new void | DrawPoint (QPoint p) |
| |
new void | DrawPoint (int x, int y) |
| |
new void | DrawPoints (QPolygonF points) |
| |
new void | DrawPoints (QPolygon points) |
| |
new void | DrawPoints (QPointF points, int pointCount) |
| |
new void | DrawPoints (QPoint points, int pointCount) |
| |
new void | DrawPolygon (QPolygonF polygon, Qt.FillRule fillRule=Qt.FillRule.OddEvenFill) |
| |
new void | DrawPolygon (QPolygon polygon, Qt.FillRule fillRule=Qt.FillRule.OddEvenFill) |
| |
new void | DrawPolygon (QPointF points, int pointCount, Qt.FillRule fillRule=Qt.FillRule.OddEvenFill) |
| |
new void | DrawPolygon (QPoint points, int pointCount, Qt.FillRule fillRule=Qt.FillRule.OddEvenFill) |
| |
new void | DrawPolyline (QPolygonF polyline) |
| |
new void | DrawPolyline (QPolygon polygon) |
| |
new void | DrawPolyline (QPointF points, int pointCount) |
| |
new void | DrawPolyline (QPoint points, int pointCount) |
| |
new void | DrawRect (QRectF rect) |
| |
new void | DrawRect (QRect rect) |
| |
new void | DrawRect (int x1, int y1, int w, int h) |
| |
new void | DrawRects (QRectF rects, int rectCount) |
| |
new void | DrawRects (QRect rects, int rectCount) |
| |
new void | DrawRects (System.Collections.Generic.List< QRectF > rectangles) |
| |
new void | DrawRects (System.Collections.Generic.List< QRect > rectangles) |
| |
new void | DrawRoundRect (QRectF r, int xround=25, int yround=25) |
| |
new void | DrawRoundRect (QRect r, int xround=25, int yround=25) |
| |
new void | DrawRoundRect (int x, int y, int w, int h, int arg5=25, int arg6=25) |
| |
new void | DrawRoundedRect (QRectF rect, double xRadius, double yRadius, Qt.SizeMode mode=Qt.SizeMode.AbsoluteSize) |
| |
new void | DrawRoundedRect (QRect rect, double xRadius, double yRadius, Qt.SizeMode mode=Qt.SizeMode.AbsoluteSize) |
| |
new void | DrawRoundedRect (int x, int y, int w, int h, double xRadius, double yRadius, Qt.SizeMode mode=Qt.SizeMode.AbsoluteSize) |
| |
new void | DrawStaticText (QPointF topLeftPosition, QStaticText staticText) |
| |
new void | DrawStaticText (QPoint topLeftPosition, QStaticText staticText) |
| |
new void | DrawStaticText (int left, int top, QStaticText staticText) |
| |
new void | DrawText (QPointF p, string s) |
| |
new void | DrawText (QPoint p, string s) |
| |
new void | DrawText (QRectF r, string text) |
| |
new void | DrawText (QRectF r, string text, QTextOption o) |
| |
new void | DrawText (QRectF r, int flags, string text, QRectF br=null) |
| |
new void | DrawText (QRect r, int flags, string text, QRect br=null) |
| |
new void | DrawText (QPointF p, string str, int tf, int justificationPadding) |
| |
new void | DrawText (int x, int y, string s) |
| |
new void | DrawText (int x, int y, int w, int h, int flags, string text, QRect br=null) |
| |
new void | DrawTextItem (QPointF p, QTextItem ti) |
new void | DrawTextItem (QPoint p, QTextItem ti) |
new void | DrawTextItem (int x, int y, QTextItem ti) |
new void | DrawTiledPixmap (QRectF rect, QPixmap pm) |
| |
new void | DrawTiledPixmap (QRect arg1, QPixmap arg2) |
| |
new void | DrawTiledPixmap (QRectF rect, QPixmap pm, QPointF offset) |
| |
new void | DrawTiledPixmap (QRect arg1, QPixmap arg2, QPoint arg3) |
| |
new void | DrawTiledPixmap (int x, int y, int w, int h, QPixmap arg5, int sx=0, int sy=0) |
| |
new bool | End () |
| |
new void | EndNativePainting () |
| |
new void | EraseRect (QRectF arg1) |
| |
new void | EraseRect (QRect arg1) |
| |
new void | EraseRect (int x, int y, int w, int h) |
| |
new void | FillPath (QPainterPath path, QBrush brush) |
| |
new void | FillRect (QRectF arg1, QBrush arg2) |
| |
new void | FillRect (QRect arg1, QBrush arg2) |
| |
new void | FillRect (QRectF arg1, QColor color) |
| |
new void | FillRect (QRect arg1, QColor color) |
| |
new void | FillRect (QRect r, Qt.GlobalColor c) |
| |
new void | FillRect (QRectF r, Qt.GlobalColor c) |
| |
new void | FillRect (QRect r, Qt.BrushStyle style) |
| |
new void | FillRect (QRectF r, Qt.BrushStyle style) |
| |
new void | FillRect (int x, int y, int w, int h, QBrush arg5) |
| |
new void | FillRect (int x, int y, int w, int h, QColor color) |
| |
new void | FillRect (int x, int y, int w, int h, Qt.GlobalColor c) |
| |
new void | FillRect (int x, int y, int w, int h, Qt.BrushStyle style) |
| |
new QFontInfo | FontInfo () |
| |
new QFontMetrics | FontMetrics () |
| |
new bool | HasClipping () |
| |
new void | InitFrom (QWidget widget) |
| |
new bool | IsActive () |
| |
new QPaintEngine | PaintEngine () |
| |
new void | ResetMatrix () |
| |
new void | ResetTransform () |
| |
new void | Restore () |
| |
new void | Rotate (double a) |
| |
new void | Save () |
| |
new void | Scale (double sx, double sy) |
| |
new void | SetBrush (Qt.BrushStyle style) |
| |
new void | SetBrushOrigin (QPointF arg1) |
| |
new void | SetBrushOrigin (int x, int y) |
| |
new void | SetClipPath (QPainterPath path, Qt.ClipOperation op=Qt.ClipOperation.ReplaceClip) |
| |
new void | SetClipRect (QRectF arg1, Qt.ClipOperation op=Qt.ClipOperation.ReplaceClip) |
| |
new void | SetClipRect (QRect arg1, Qt.ClipOperation op=Qt.ClipOperation.ReplaceClip) |
| |
new void | SetClipRect (int x, int y, int w, int h, Qt.ClipOperation op=Qt.ClipOperation.ReplaceClip) |
| |
new void | SetClipRegion (QRegion arg1, Qt.ClipOperation op=Qt.ClipOperation.ReplaceClip) |
| |
new void | SetClipping (bool enable) |
| |
new void | SetMatrix (QMatrix matrix, bool combine=false) |
| |
new void | SetPen (QColor color) |
| |
new void | SetPen (Qt.PenStyle style) |
| |
new void | SetRenderHint (QPainter.RenderHint hint, bool on=true) |
| |
new void | SetRenderHints (QPainter.RenderHint hints, bool on=true) |
| |
new void | SetTransform (QTransform transform, bool combine=false) |
| |
new void | SetViewport (int x, int y, int w, int h) |
| |
new void | SetWindow (int x, int y, int w, int h) |
| |
new void | SetWorldMatrix (QMatrix matrix, bool combine=false) |
| |
new void | SetWorldTransform (QTransform matrix, bool combine=false) |
| |
new void | Shear (double sh, double sv) |
| |
new void | StrokePath (QPainterPath path, QPen pen) |
| |
new bool | TestRenderHint (QPainter.RenderHint hint) |
| |
new void | Translate (QPointF offset) |
| |
new void | Translate (QPoint offset) |
| |
new void | Translate (double dx, double dy) |
| |
new void | Dispose () |
Protected Member Functions | |
QStylePainter (System.Type dummy) | |
Protected Member Functions inherited from QtGui.QPainter | |
QPainter (System.Type dummy) | |
|
protected |
QtGui.QStylePainter.QStylePainter | ( | ) |
Constructs a QStylePainter.
QtGui.QStylePainter.QStylePainter | ( | QWidget | w | ) |
Construct a QStylePainter using widget widget for its paint device.
QtGui.QStylePainter.QStylePainter | ( | IQPaintDevice | pd, |
QWidget | w | ||
) |
Construct a QStylePainter using pd for its paint device, and attributes from widget.
new bool QtGui.QStylePainter.Begin | ( | QWidget | w | ) |
Begin painting operations on the specified widget. Returns true if the painter is ready to use; otherwise returns false.
This is automatically called by the constructor that takes a QWidget.
new bool QtGui.QStylePainter.Begin | ( | IQPaintDevice | pd, |
QWidget | w | ||
) |
This is an overloaded function.
Begin painting operations on paint device pd as if it was widget.
This is automatically called by the constructor that takes a QPaintDevice and a QWidget.
|
virtual |
Reimplemented from QtGui.QPainter.
new void QtGui.QStylePainter.Dispose | ( | ) |
new void QtGui.QStylePainter.DrawComplexControl | ( | QStyle.ComplexControl | cc, |
QStyleOptionComplex | opt | ||
) |
Use the widget's style to draw a complex control cc specified by the QStyleOptionComplex option.
See also QStyle::drawComplexControl().
new void QtGui.QStylePainter.DrawControl | ( | QStyle.ControlElement | ce, |
QStyleOption | opt | ||
) |
Use the widget's style to draw a control element ce specified by QStyleOption option.
See also QStyle::drawControl().
Draws the pixmap in rectangle rect. The pixmap is aligned according to flags.
See also QStyle::drawItemPixmap() and Qt::Alignment.
new void QtGui.QStylePainter.DrawItemText | ( | QRect | r, |
int | flags, | ||
QPalette | pal, | ||
bool | enabled, | ||
string | text, | ||
QPalette.ColorRole | textRole = QPalette.ColorRole.NoRole |
||
) |
Draws the text in rectangle rect and palette pal. The text is aligned and wrapped according to flags.
The pen color is specified with textRole. The enabled bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the item is drawn.
See also QStyle::drawItemText() and Qt::Alignment.
new void QtGui.QStylePainter.DrawPrimitive | ( | QStyle.PrimitiveElement | pe, |
QStyleOption | opt | ||
) |
Use the widget's style to draw a primitive element pe specified by QStyleOption option.
See also QStyle::drawPrimitive().
new QStyle QtGui.QStylePainter.Style | ( | ) |
Return the current style used by the QStylePainter.