Qyoto  4.0.6
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtSvg.Global Class Reference

Public Member Functions

delegate QTextStream FuncQTextStreamQTextStream (QTextStream qTextStream)
 
delegate void ActionQtMsgTypeString (QtMsgType qtMsgType, string @string)
 
delegate QObject FuncQObject ()
 

Static Public Member Functions

static QDataStream Write (QDataStream arg1, QSizePolicy arg2)
 
static QDataStream Write (QDataStream arg1, QTransform arg2)
 
static QDataStream Write (QDataStream arg1, QLine arg2)
 
static QDataStream Write (QDataStream arg1, QRectF arg2)
 
static QDataStream Write (QDataStream ds, QPalette p)
 
static QDataStream Write (QDataStream arg1, QByteArray arg2)
 
static QDataStream Write (QDataStream @out, QRegExp regExp)
 
static QDataStream Write (QDataStream @in, QKeySequence ks)
 
static QDataStream Write (QDataStream @out, QTableWidgetItem item)
 
static QDataStream Write (QDataStream outS, QCursor cursor)
 
static QDataStream Write (QDataStream arg1, QPicture arg2)
 
static QDataStream Write (QDataStream @out, QTreeWidgetItem item)
 
static QTextStream Write (QTextStream arg1, QSplitter arg2)
 
static QDataStream Write (QDataStream arg1, QBrush arg2)
 
static QDataStream Write (QDataStream arg1, QDate arg2)
 
static QDataStream Write (QDataStream arg1, QPixmap arg2)
 
static QDataStream Write (QDataStream arg1, QUrl arg2)
 
static QDataStream Write (QDataStream s, object p)
 
static QDataStream Write (QDataStream arg1, QPen arg2)
 
static QDataStream Write (QDataStream stream, QPolygon polygon)
 
static QDataStream Write (QDataStream arg1, QLineF arg2)
 
static QDataStream Write (QDataStream arg1, QPointF arg2)
 
static QDataStream Write (QDataStream arg1, QVector3D arg2)
 
static QDataStream Write (QDataStream stream, QPolygonF array)
 
static QDataStream Write (QDataStream arg1, QSizeF arg2)
 
static QDataStream Write (QDataStream arg1, QFont arg2)
 
static QDataStream Write (QDataStream arg1, QVector2D arg2)
 
static QDataStream Write (QDataStream arg1, QMatrix arg2)
 
static QDataStream Write (QDataStream arg1, QPainterPath arg2)
 
static QDataStream Write (QDataStream arg1, QBitArray arg2)
 
static QDataStream Write (QDataStream arg1, QPoint arg2)
 
static QDataStream Write (QDataStream arg1, QImage arg2)
 
static QDataStream Write (QDataStream arg1, QSize arg2)
 
static QDataStream Write (QDataStream arg1, QChar arg2)
 
static QDataStream Write (QDataStream arg1, QRect arg2)
 
static QDataStream Write (QDataStream arg1, QRegion arg2)
 
static QDataStream Write (QDataStream arg1, QColor arg2)
 
static QDataStream Write (QDataStream arg1, QTime arg2)
 
static QDataStream Write (QDataStream arg1, QUuid arg2)
 
static QDataStream Write (QDataStream arg1, QTextLength arg2)
 
static QDataStream Write (QDataStream @out, QListWidgetItem item)
 
static QDataStream Write (QDataStream @out, QStandardItem item)
 
static QDataStream Write (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Write (QDataStream arg1, QMatrix4x4 arg2)
 
static QDataStream Write (QDataStream arg1, QVector4D arg2)
 
static QDataStream Write (QDataStream arg1, QIcon arg2)
 
static QDataStream Write (QDataStream arg1, QDateTime arg2)
 
static QDataStream Write (QDataStream arg1, QTextFormat arg2)
 
static QDataStream Write (QDataStream arg1, QQuaternion arg2)
 
static QTextStream Write (QTextStream s, Global.FuncQTextStreamQTextStream f)
 
static QDataStream Write (QDataStream arg1, QLocale arg2)
 
static QDataStream Write (QDataStream arg1, string arg2)
 
static QDataStream Write (QDataStream s, QVariant.Type p)
 
static QDataStream Write (QDataStream @out, System.Collections.Generic.List< string > list)
 
 
static QDataStream Read (QDataStream arg1, QImage arg2)
 
static QDataStream Read (QDataStream arg1, QLocale arg2)
 
static QDataStream Read (QDataStream arg1, QPen arg2)
 
static QDataStream Read (QDataStream arg1, QColor arg2)
 
static QDataStream Read (QDataStream arg1, QPointF arg2)
 
static QDataStream Read (QDataStream arg1, QDate arg2)
 
static QDataStream Read (QDataStream arg1, QVector4D arg2)
 
static QDataStream Read (QDataStream arg1, QUuid arg2)
 
static QDataStream Read (QDataStream arg1, QByteArray arg2)
 
static QDataStream Read (QDataStream s, object p)
 
static QDataStream Read (QDataStream @in, QRegExp regExp)
 
static QDataStream Read (QDataStream arg1, QRegion arg2)
 
static QDataStream Read (QDataStream arg1, QBitArray arg2)
 
static QDataStream Read (QDataStream inS, QCursor cursor)
 
static QDataStream Read (QDataStream arg1, QTransform arg2)
 
static QDataStream Read (QDataStream arg1, QSizeF arg2)
 
static QDataStream Read (QDataStream arg1, QLine arg2)
 
static QDataStream Read (QDataStream arg1, QIcon arg2)
 
static QTextStream Read (QTextStream s, Global.FuncQTextStreamQTextStream f)
 
static QDataStream Read (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Read (QDataStream @in, QStandardItem item)
 
static QDataStream Read (QDataStream arg1, QBrush arg2)
 
static QDataStream Read (QDataStream arg1, QMatrix4x4 arg2)
 
static QDataStream Read (QDataStream arg1, QTextFormat arg2)
 
static QDataStream Read (QDataStream @in, QListWidgetItem item)
 
static QDataStream Read (QDataStream arg1, QSizePolicy arg2)
 
static QDataStream Read (QDataStream arg1, QMatrix arg2)
 
static QDataStream Read (QDataStream arg1, QSize arg2)
 
static QDataStream Read (QDataStream @in, QTableWidgetItem item)
 
static QDataStream Read (QDataStream stream, QPolygonF array)
 
static QDataStream Read (QDataStream ds, QPalette p)
 
static QDataStream Read (QDataStream arg1, QQuaternion arg2)
 
static QDataStream Read (QDataStream arg1, QFont arg2)
 
static QDataStream Read (QDataStream arg1, QRectF arg2)
 
static QDataStream Read (QDataStream arg1, QTextLength arg2)
 
static QDataStream Read (QDataStream arg1, QPoint arg2)
 
static QDataStream Read (QDataStream arg1, QDateTime arg2)
 
static QDataStream Read (QDataStream @in, QTreeWidgetItem item)
 
static QDataStream Read (QDataStream @out, QKeySequence ks)
 
static QDataStream Read (QDataStream stream, QPolygon polygon)
 
static QTextStream Read (QTextStream arg1, QSplitter arg2)
 
static QDataStream Read (QDataStream arg1, QChar arg2)
 
static QDataStream Read (QDataStream arg1, QPixmap arg2)
 
static QDataStream Read (QDataStream arg1, QRect arg2)
 
static QDataStream Read (QDataStream arg1, QVector3D arg2)
 
static QDataStream Read (QDataStream arg1, QLineF arg2)
 
static QDataStream Read (QDataStream arg1, QPainterPath arg2)
 
static QDataStream Read (QDataStream arg1, QPicture arg2)
 
static QDataStream Read (QDataStream arg1, QVector2D arg2)
 
static QDataStream Read (QDataStream arg1, QTime arg2)
 
static QDataStream Read (QDataStream arg1, QUrl arg2)
 
static QDataStream Read (QDataStream s, QVariant.Type p)
 
static QDataStream Read (QDataStream arg1, string arg2)
 
static QDataStream Read (QDataStream @in, System.Collections.Generic.List< string > list)
 
 
static double QAcos (double v)
 
 
static void QAddPostRoutine (System.Action arg1)
 
static int QAlpha (uint rgb)
 
static double QAsin (double v)
 
 
static double QAtan (double v)
 
 
static double QAtan2 (double x, double y)
 
 
static void QBadAlloc ()
 
static int QBlue (uint rgb)
 
static int QCeil (double v)
 
 
static ushort QChecksum (string s, uint len)
 
static QByteArray QCompress (QByteArray data, int compressionLevel=-1)
 
static QByteArray QCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1)
 
static double QCos (double v)
 
 
static void QDrawBorderPixmap (QPainter painter, QRect target, QMargins margins, QPixmap pixmap)
 
 
static void QDrawBorderPixmap (QPainter painter, QRect targetRect, QMargins targetMargins, QPixmap pixmap, QRect sourceRect, QMargins sourceMargins)
 
static void QDrawBorderPixmap (QPainter painter, QRect targetRect, QMargins targetMargins, QPixmap pixmap, QRect sourceRect, QMargins sourceMargins, QTileRules rules, uint hints=0)
 
static void QDrawPlainRect (QPainter p, QRect r, QColor lineColor, int lineWidth=1, QBrush fill=null)
 
 
static void QDrawPlainRect (QPainter p, int x, int y, int w, int h, QColor lineColor, int lineWidth=1, QBrush fill=null)
 
 
static void QDrawShadeLine (QPainter p, QPoint p1, QPoint p2, QPalette pal, bool sunken=true, int lineWidth=1, int midLineWidth=0)
 
 
static void QDrawShadeLine (QPainter p, int x1, int y1, int x2, int y2, QPalette pal, bool sunken=true, int lineWidth=1, int midLineWidth=0)
 
 
static void QDrawShadePanel (QPainter p, QRect r, QPalette pal, bool sunken=false, int lineWidth=1, QBrush fill=null)
 
 
static void QDrawShadePanel (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken=false, int lineWidth=1, QBrush fill=null)
 
 
static void QDrawShadeRect (QPainter p, QRect r, QPalette pal, bool sunken=false, int lineWidth=1, int midLineWidth=0, QBrush fill=null)
 
 
static void QDrawShadeRect (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken=false, int lineWidth=1, int midLineWidth=0, QBrush fill=null)
 
 
static void QDrawWinButton (QPainter p, QRect r, QPalette pal, bool sunken=false, QBrush fill=null)
 
 
static void QDrawWinButton (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken=false, QBrush fill=null)
 
 
static void QDrawWinPanel (QPainter p, QRect r, QPalette pal, bool sunken=false, QBrush fill=null)
 
static void QDrawWinPanel (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken=false, QBrush fill=null)
 
 
static double QExp (double v)
 
 
static double QFabs (double v)
 
static double QFastCos (double x)
 
static double QFastSin (double x)
 
static string QFlagLocation (string method)
 
static int QFloor (double v)
 
 
static bool QFuzzyCompare (QVector2D v1, QVector2D v2)
 
static bool QFuzzyCompare (QTransform t1, QTransform t2)
 
static bool QFuzzyCompare (QMatrix4x4 m1, QMatrix4x4 m2)
 
static bool QFuzzyCompare (QVector4D v1, QVector4D v2)
 
static bool QFuzzyCompare (QMatrix m1, QMatrix m2)
 
static bool QFuzzyCompare (QVector3D v1, QVector3D v2)
 
static bool QFuzzyCompare (QQuaternion q1, QQuaternion q2)
 
static bool QFuzzyCompare (double p1, double p2)
 
static bool QFuzzyCompare (float p1, float p2)
 
static bool QFuzzyIsNull (double d)
 
static bool QFuzzyIsNull (float f)
 
static int QGray (uint rgb)
 
static int QGray (int r, int g, int b)
 
static int QGreen (uint rgb)
 
static uint QHash (QPersistentModelIndex index)
 
static uint QHash (QStringRef key)
 
static uint QHash (QBitArray key)
 
 
static uint QHash (QByteArray key)
 
 
static uint QHash (QChar key)
 
 
static uint QHash (QUrl url)
 
static uint QHash (QModelIndex index)
 
static uint QHash (QItemSelectionRange arg1)
 
static uint QHash (byte key)
 
 
static uint QHash (string key)
 
 
static uint QHash (ushort key)
 
 
static uint QHash (NativeLong key)
 
 
static uint QHash (long key)
 
 
static uint QHash (ulong key)
 
 
static uint QHash (char key)
 
 
static uint QHash (short key)
 
 
static uint QHash (NativeULong key)
 
 
static uint QHash (uint key)
 
 
static uint QHash (int key)
 
 
static Global.ActionQtMsgTypeString QInstallMsgHandler (Global.ActionQtMsgTypeString arg1)
 
static int QIntCast (float f)
 
static int QIntCast (double f)
 
static bool QIsFinite (float f)
 
static bool QIsFinite (double d)
 
static bool QIsGray (uint rgb)
 
static bool QIsInf (double d)
 
static bool QIsInf (float f)
 
static bool QIsNaN (float f)
 
static bool QIsNaN (double d)
 
static bool QIsNull (float f)
 
static bool QIsNull (double d)
 
static double QLn (double v)
 
 
static double QPow (double x, double y)
 
 
static int QRed (uint rgb)
 
static void QRegisterStaticPluginInstanceFunction (Global.FuncQObject function)
 
static void QRemovePostRoutine (System.Action arg1)
 
static uint QRgb (int r, int g, int b)
 
static uint QRgba (int r, int g, int b, int a)
 
static int QRound (double d)
 
static long QRound64 (double d)
 
static double QSin (double v)
 
 
static double QSqrt (double v)
 
 
static bool QStringComparisonHelper (QStringRef s1, string s2)
 
static double QTan (double v)
 
 
static QByteArray QUncompress (QByteArray data)
 
static QByteArray QUncompress (Pointer< byte > data, int nbytes)
 
static void Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size)
 
static QByteArray Qgetenv (string varName)
 
static bool Qputenv (string varName, QByteArray value)
 
static void Qsrand (uint seed)
 
static int Qstrcmp (QByteArray str1, QByteArray str2)
 
static int Qstrcmp (QByteArray str1, string str2)
 
static int Qstrcmp (string str1, QByteArray str2)
 
static int Qstrcmp (string str1, string str2)
 
static Pointer< sbyte > Qstrcpy (Pointer< sbyte > dst, string src)
 
static Pointer< sbyte > Qstrdup (string arg1)
 
static int Qstricmp (string arg1, string arg2)
 
static uint Qstrlen (string str)
 
static int Qstrncmp (string str1, string str2, uint len)
 
static Pointer< sbyte > Qstrncpy (Pointer< sbyte > dst, string src, uint len)
 
static int Qstrnicmp (string arg1, string arg2, uint len)
 
static uint Qstrnlen (string str, uint maxlen)
 
static string QtTrId (string id, int n=-1)
 

Properties

static string QAppName [get]
 
static double QInf [get]
 
static double QQNaN [get]
 
static double QSNaN [get]
 
static bool QSharedBuild [get]
 
static string QVersion [get]
 
static int QWinAppCmdShow [get]
 
static System.IntPtr QWinAppInst [get]
 
static System.IntPtr QWinAppPrevInst [get]
 
static int Qrand [get]
 

Member Function Documentation

delegate void QtSvg.Global.ActionQtMsgTypeString ( QtMsgType  qtMsgType,
string @  string 
)
delegate QObject QtSvg.Global.FuncQObject ( )
delegate QTextStream QtSvg.Global.FuncQTextStreamQTextStream ( QTextStream  qTextStream)
static double QtSvg.Global.QAcos ( double  v)
static

Returns the arccosine of v as an angle in radians. Arccosine is the inverse operation of cosine.

See also qAtan(), qAsin(), and qCos().

static void QtSvg.Global.QAddPostRoutine ( System.Action  arg1)
static
static int QtSvg.Global.QAlpha ( uint  rgb)
static
static double QtSvg.Global.QAsin ( double  v)
static

Returns the arcsine of v as an angle in radians. Arcsine is the inverse operation of sine.

See also qSin(), qAtan(), and qAcos().

static double QtSvg.Global.QAtan ( double  v)
static

Returns the arctangent of v as an angle in radians. Arctangent is the inverse operation of tangent.

See also qTan(), qAcos(), and qAsin().

static double QtSvg.Global.QAtan2 ( double  x,
double  y 
)
static

Returns the arctangent of a point specified by the coordinates x and y. This function will return the angle and its direction.

See also qAtan().

static void QtSvg.Global.QBadAlloc ( )
static
static int QtSvg.Global.QBlue ( uint  rgb)
static
static void QtSvg.Global.Qbswap_helper ( Pointer< byte >  src,
Pointer< byte >  dest,
int  size 
)
static
static int QtSvg.Global.QCeil ( double  v)
static

Return the ceiling of the value v.

The ceiling is the smallest integer that is not less than v. For example, if v is 41.2, then the ceiling is 42.

See also qFloor().

static ushort QtSvg.Global.QChecksum ( string  s,
uint  len 
)
static
static QByteArray QtSvg.Global.QCompress ( QByteArray  data,
int  compressionLevel = -1 
)
static
static QByteArray QtSvg.Global.QCompress ( Pointer< byte >  data,
int  nbytes,
int  compressionLevel = -1 
)
static
static double QtSvg.Global.QCos ( double  v)
static

Returns the cosine of an angle v in radians.

See also qSin() and qTan().

static void QtSvg.Global.QDrawBorderPixmap ( QPainter  painter,
QRect  target,
QMargins  margins,
QPixmap  pixmap 
)
static

This is an overloaded function.

The qDrawBorderPixmap function is for drawing a pixmap into the margins of a rectangle.

Draws the given pixmap into the given target rectangle, using the given painter. The pixmap will be split into nine segments and drawn according to the margins structure.

This function was introduced in Qt 4.6.

static void QtSvg.Global.QDrawBorderPixmap ( QPainter  painter,
QRect  targetRect,
QMargins  targetMargins,
QPixmap  pixmap,
QRect  sourceRect,
QMargins  sourceMargins 
)
static
static void QtSvg.Global.QDrawBorderPixmap ( QPainter  painter,
QRect  targetRect,
QMargins  targetMargins,
QPixmap  pixmap,
QRect  sourceRect,
QMargins  sourceMargins,
QTileRules  rules,
uint  hints = 0 
)
static
static void QtSvg.Global.QDrawPlainRect ( QPainter  p,
QRect  r,
QColor  lineColor,
int  lineWidth = 1,
QBrush  fill = null 
)
static

This is an overloaded function.

Draws the plain rectangle specified by rect using the given painter, lineColor and lineWidth. The rectangle's interior is filled with the fill brush unless fill is 0.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a plain rectangle:

QFrame frame:

frame.setFrameStyle(QFrame::Box | QFrame::Plain);

See also qDrawShadeRect() and QStyle.

static void QtSvg.Global.QDrawPlainRect ( QPainter  p,
int  x,
int  y,
int  w,
int  h,
QColor  lineColor,
int  lineWidth = 1,
QBrush  fill = null 
)
static

Draws the plain rectangle beginning at (x, y) with the given width and height, using the specified painter, lineColor and lineWidth. The rectangle's interior is filled with the fill brush unless fill is 0.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a plain rectangle:

QFrame frame:

frame.setFrameStyle(QFrame::Box | QFrame::Plain);

See also qDrawShadeRect() and QStyle.

static void QtSvg.Global.QDrawShadeLine ( QPainter  p,
QPoint  p1,
QPoint  p2,
QPalette  pal,
bool  sunken = true,
int  lineWidth = 1,
int  midLineWidth = 0 
)
static

This is an overloaded function.

Draws a horizontal or vertical shaded line between p1 and p2 using the given painter. Note that nothing is drawn if the line between the points would be neither horizontal nor vertical.

The provided palette specifies the shading colors (light, dark and middle colors). The given lineWidth specifies the line width for each of the lines; it is not the total line width. The given midLineWidth specifies the width of a middle line drawn in the QPalette::mid() color.

The line appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a shaded line:

QFrame frame:

frame.setFrameStyle(QFrame::HLine | QFrame::Sunken);

See also qDrawShadeRect(), qDrawShadePanel(), and QStyle.

static void QtSvg.Global.QDrawShadeLine ( QPainter  p,
int  x1,
int  y1,
int  x2,
int  y2,
QPalette  pal,
bool  sunken = true,
int  lineWidth = 1,
int  midLineWidth = 0 
)
static

Draws a horizontal (y1 == y2) or vertical (x1 == x2) shaded line using the given painter. Note that nothing is drawn if y1 != y2 and x1 != x2 (i.e. the line is neither horizontal nor vertical).

The provided palette specifies the shading colors (light, dark and middle colors). The given lineWidth specifies the line width for each of the lines; it is not the total line width. The given midLineWidth specifies the width of a middle line drawn in the QPalette::mid() color.

The line appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a shaded line:

QFrame frame:

frame.setFrameStyle(QFrame::HLine | QFrame::Sunken);

See also qDrawShadeRect(), qDrawShadePanel(), and QStyle.

static void QtSvg.Global.QDrawShadePanel ( QPainter  p,
QRect  r,
QPalette  pal,
bool  sunken = false,
int  lineWidth = 1,
QBrush  fill = null 
)
static

This is an overloaded function.

Draws the shaded panel at the rectangle specified by rect using the given painter and the given lineWidth.

The given palette specifies the shading colors (light, dark and middle colors). The panel's interior is filled with the fill brush unless fill is 0.

The panel appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a shaded panel:

QFrame frame:

frame.setFrameStyle( QFrame::Panel | QFrame::Sunken);

See also qDrawWinPanel(), qDrawShadeLine(), qDrawShadeRect(), and QStyle.

static void QtSvg.Global.QDrawShadePanel ( QPainter  p,
int  x,
int  y,
int  w,
int  h,
QPalette  pal,
bool  sunken = false,
int  lineWidth = 1,
QBrush  fill = null 
)
static

Draws the shaded panel beginning at (x, y) with the given width and height using the provided painter and the given lineWidth.

The given palette specifies the shading colors (light, dark and middle colors). The panel's interior is filled with the fill brush unless fill is 0.

The panel appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a shaded panel:

QFrame frame:

frame.setFrameStyle( QFrame::Panel | QFrame::Sunken);

See also qDrawWinPanel(), qDrawShadeLine(), qDrawShadeRect(), and QStyle.

static void QtSvg.Global.QDrawShadeRect ( QPainter  p,
QRect  r,
QPalette  pal,
bool  sunken = false,
int  lineWidth = 1,
int  midLineWidth = 0,
QBrush  fill = null 
)
static

This is an overloaded function.

Draws the shaded rectangle specified by rect using the given painter.

The provide palette specifies the shading colors (light, dark and middle colors. The given lineWidth specifies the line width for each of the lines; it is not the total line width. The midLineWidth specifies the width of a middle line drawn in the QPalette::mid() color. The rectangle's interior is filled with the fill brush unless fill is 0.

The rectangle appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a shaded rectangle:

QFrame frame:

frame.setFrameStyle(QFrame::Box | QFrame::Raised);

See also qDrawShadeLine(), qDrawShadePanel(), qDrawPlainRect(), and QStyle.

static void QtSvg.Global.QDrawShadeRect ( QPainter  p,
int  x,
int  y,
int  w,
int  h,
QPalette  pal,
bool  sunken = false,
int  lineWidth = 1,
int  midLineWidth = 0,
QBrush  fill = null 
)
static

Draws the shaded rectangle beginning at (x, y) with the given width and height using the provided painter.

The provide palette specifies the shading colors (light, dark and middle colors. The given lineWidth specifies the line width for each of the lines; it is not the total line width. The midLineWidth specifies the width of a middle line drawn in the QPalette::mid() color. The rectangle's interior is filled with the fill brush unless fill is 0.

The rectangle appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a shaded rectangle:

QFrame frame:

frame.setFrameStyle(QFrame::Box | QFrame::Raised);

See also qDrawShadeLine(), qDrawShadePanel(), qDrawPlainRect(), and QStyle.

static void QtSvg.Global.QDrawWinButton ( QPainter  p,
QRect  r,
QPalette  pal,
bool  sunken = false,
QBrush  fill = null 
)
static

This is an overloaded function.

Draws the Windows-style button at the rectangle specified by rect using the given painter with a line width of 2 pixels. The button's interior is filled with the fill brush unless fill is 0.

The given palette specifies the shading colors (light, dark and middle colors).

The button appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style()-> Use the drawing functions in QStyle to make widgets that follow the current GUI style.

See also qDrawWinPanel() and QStyle.

static void QtSvg.Global.QDrawWinButton ( QPainter  p,
int  x,
int  y,
int  w,
int  h,
QPalette  pal,
bool  sunken = false,
QBrush  fill = null 
)
static

Draws the Windows-style button specified by the given point (x, y}, width and height using the provided painter with a line width of 2 pixels. The button's interior is filled with the fill brush unless fill is 0.

The given palette specifies the shading colors (light, dark and middle colors).

The button appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style()-> Use the drawing functions in QStyle to make widgets that follow the current GUI style.

See also qDrawWinPanel() and QStyle.

static void QtSvg.Global.QDrawWinPanel ( QPainter  p,
QRect  r,
QPalette  pal,
bool  sunken = false,
QBrush  fill = null 
)
static
static void QtSvg.Global.QDrawWinPanel ( QPainter  p,
int  x,
int  y,
int  w,
int  h,
QPalette  pal,
bool  sunken = false,
QBrush  fill = null 
)
static

Draws the Windows-style panel specified by the given point(x, y), width and height using the provided painter with a line width of 2 pixels. The button's interior is filled with the fill brush unless fill is 0.

The given palette specifies the shading colors. The panel appears sunken if sunken is true, otherwise raised.

Warning: This function does not look at QWidget::style() or QApplication::style(). Use the drawing functions in QStyle to make widgets that follow the current GUI style.

Alternatively you can use a QFrame widget and apply the QFrame::setFrameStyle() function to display a shaded panel:

QFrame frame:

frame.setFrameStyle(QFrame::WinPanel | QFrame::Raised);

See also qDrawShadePanel(), qDrawWinButton(), and QStyle.

static double QtSvg.Global.QExp ( double  v)
static

Returns the exponential function of e to the power of v.

See also qLn().

static double QtSvg.Global.QFabs ( double  v)
static
static double QtSvg.Global.QFastCos ( double  x)
static
static double QtSvg.Global.QFastSin ( double  x)
static
static string QtSvg.Global.QFlagLocation ( string  method)
static
static int QtSvg.Global.QFloor ( double  v)
static

Return the floor of the value v.

The floor is the largest integer that is not greater than v. For example, if v is 41.2, then the floor is 41.

See also qCeil().

static bool QtSvg.Global.QFuzzyCompare ( QVector2D  v1,
QVector2D  v2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( QTransform  t1,
QTransform  t2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( QMatrix4x4  m1,
QMatrix4x4  m2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( QVector4D  v1,
QVector4D  v2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( QMatrix  m1,
QMatrix  m2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( QVector3D  v1,
QVector3D  v2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( QQuaternion  q1,
QQuaternion  q2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( double  p1,
double  p2 
)
static
static bool QtSvg.Global.QFuzzyCompare ( float  p1,
float  p2 
)
static
static bool QtSvg.Global.QFuzzyIsNull ( double  d)
static
static bool QtSvg.Global.QFuzzyIsNull ( float  f)
static
static QByteArray QtSvg.Global.Qgetenv ( string  varName)
static
static int QtSvg.Global.QGray ( uint  rgb)
static
static int QtSvg.Global.QGray ( int  r,
int  g,
int  b 
)
static
static int QtSvg.Global.QGreen ( uint  rgb)
static
static uint QtSvg.Global.QHash ( QPersistentModelIndex  index)
static
static uint QtSvg.Global.QHash ( QStringRef  key)
static
static uint QtSvg.Global.QHash ( QBitArray  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( QByteArray  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( QChar  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( QUrl  url)
static
static uint QtSvg.Global.QHash ( QModelIndex  index)
static
static uint QtSvg.Global.QHash ( QItemSelectionRange  arg1)
static
static uint QtSvg.Global.QHash ( byte  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( string  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( ushort  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( NativeLong  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( long  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( ulong  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( char  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( short  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( NativeULong  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( uint  key)
static

Returns the hash value for the key.

static uint QtSvg.Global.QHash ( int  key)
static

Returns the hash value for the key.

static Global.ActionQtMsgTypeString QtSvg.Global.QInstallMsgHandler ( Global.ActionQtMsgTypeString  arg1)
static
static int QtSvg.Global.QIntCast ( float  f)
static
static int QtSvg.Global.QIntCast ( double  f)
static
static bool QtSvg.Global.QIsFinite ( float  f)
static
static bool QtSvg.Global.QIsFinite ( double  d)
static
static bool QtSvg.Global.QIsGray ( uint  rgb)
static
static bool QtSvg.Global.QIsInf ( double  d)
static
static bool QtSvg.Global.QIsInf ( float  f)
static
static bool QtSvg.Global.QIsNaN ( float  f)
static
static bool QtSvg.Global.QIsNaN ( double  d)
static
static bool QtSvg.Global.QIsNull ( float  f)
static
static bool QtSvg.Global.QIsNull ( double  d)
static
static double QtSvg.Global.QLn ( double  v)
static

Returns the natural logarithm of v. Natural logarithm uses base e.

See also qExp().

static double QtSvg.Global.QPow ( double  x,
double  y 
)
static

Returns the value of x raised to the power of y. That is, x is the base and y is the exponent.

See also qSqrt().

static bool QtSvg.Global.Qputenv ( string  varName,
QByteArray  value 
)
static
static int QtSvg.Global.QRed ( uint  rgb)
static
static void QtSvg.Global.QRegisterStaticPluginInstanceFunction ( Global.FuncQObject  function)
static
static void QtSvg.Global.QRemovePostRoutine ( System.Action  arg1)
static
static uint QtSvg.Global.QRgb ( int  r,
int  g,
int  b 
)
static
static uint QtSvg.Global.QRgba ( int  r,
int  g,
int  b,
int  a 
)
static
static int QtSvg.Global.QRound ( double  d)
static
static long QtSvg.Global.QRound64 ( double  d)
static
static double QtSvg.Global.QSin ( double  v)
static

Returns the sine of the angle v in radians.

See also qCos() and qTan().

static double QtSvg.Global.QSqrt ( double  v)
static

Returns the square root of v. This function returns a NaN if v is a negative number.

See also qPow().

static void QtSvg.Global.Qsrand ( uint  seed)
static
static int QtSvg.Global.Qstrcmp ( QByteArray  str1,
QByteArray  str2 
)
static
static int QtSvg.Global.Qstrcmp ( QByteArray  str1,
string  str2 
)
static
static int QtSvg.Global.Qstrcmp ( string  str1,
QByteArray  str2 
)
static
static int QtSvg.Global.Qstrcmp ( string  str1,
string  str2 
)
static
static Pointer<sbyte> QtSvg.Global.Qstrcpy ( Pointer< sbyte >  dst,
string  src 
)
static
static Pointer<sbyte> QtSvg.Global.Qstrdup ( string  arg1)
static
static int QtSvg.Global.Qstricmp ( string  arg1,
string  arg2 
)
static
static bool QtSvg.Global.QStringComparisonHelper ( QStringRef  s1,
string  s2 
)
static
static uint QtSvg.Global.Qstrlen ( string  str)
static
static int QtSvg.Global.Qstrncmp ( string  str1,
string  str2,
uint  len 
)
static
static Pointer<sbyte> QtSvg.Global.Qstrncpy ( Pointer< sbyte >  dst,
string  src,
uint  len 
)
static
static int QtSvg.Global.Qstrnicmp ( string  arg1,
string  arg2,
uint  len 
)
static
static uint QtSvg.Global.Qstrnlen ( string  str,
uint  maxlen 
)
static
static double QtSvg.Global.QTan ( double  v)
static

Returns the tangent of an angle v in radians.

See also qSin() and qCos().

static string QtSvg.Global.QtTrId ( string  id,
int  n = -1 
)
static
static QByteArray QtSvg.Global.QUncompress ( QByteArray  data)
static
static QByteArray QtSvg.Global.QUncompress ( Pointer< byte >  data,
int  nbytes 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QImage  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QLocale  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QPen  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QColor  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QPointF  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QDate  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QVector4D  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QUuid  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QByteArray  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  s,
object  p 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream in,
QRegExp  regExp 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QRegion  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QBitArray  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  inS,
QCursor  cursor 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QTransform  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QSizeF  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QLine  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QIcon  arg2 
)
static
static QTextStream QtSvg.Global.Read ( QTextStream  s,
Global.FuncQTextStreamQTextStream  f 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QEasingCurve  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream in,
QStandardItem  item 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QBrush  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QMatrix4x4  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QTextFormat  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream in,
QListWidgetItem  item 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QSizePolicy  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QMatrix  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QSize  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream in,
QTableWidgetItem  item 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  stream,
QPolygonF  array 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  ds,
QPalette  p 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QQuaternion  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QFont  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QRectF  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QTextLength  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QPoint  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QDateTime  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream in,
QTreeWidgetItem  item 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream out,
QKeySequence  ks 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  stream,
QPolygon  polygon 
)
static
static QTextStream QtSvg.Global.Read ( QTextStream  arg1,
QSplitter  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QChar  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QPixmap  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QRect  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QVector3D  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QLineF  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QPainterPath  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QPicture  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QVector2D  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QTime  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
QUrl  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  s,
QVariant.Type  p 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream  arg1,
string  arg2 
)
static
static QDataStream QtSvg.Global.Read ( QDataStream in,
System.Collections.Generic.List< string >  list 
)
static

Reads a string list from the given in stream into the specified list.

See also Serializing Qt Data Types.

static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QSizePolicy  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QTransform  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QLine  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QRectF  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  ds,
QPalette  p 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QByteArray  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream out,
QRegExp  regExp 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream in,
QKeySequence  ks 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream out,
QTableWidgetItem  item 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  outS,
QCursor  cursor 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QPicture  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream out,
QTreeWidgetItem  item 
)
static
static QTextStream QtSvg.Global.Write ( QTextStream  arg1,
QSplitter  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QBrush  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QDate  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QPixmap  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QUrl  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  s,
object  p 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QPen  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  stream,
QPolygon  polygon 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QLineF  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QPointF  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QVector3D  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  stream,
QPolygonF  array 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QSizeF  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QFont  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QVector2D  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QMatrix  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QPainterPath  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QBitArray  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QPoint  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QImage  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QSize  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QChar  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QRect  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QRegion  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QColor  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QTime  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QUuid  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QTextLength  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream out,
QListWidgetItem  item 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream out,
QStandardItem  item 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QEasingCurve  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QMatrix4x4  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QVector4D  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QIcon  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QDateTime  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QTextFormat  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QQuaternion  arg2 
)
static
static QTextStream QtSvg.Global.Write ( QTextStream  s,
Global.FuncQTextStreamQTextStream  f 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
QLocale  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  arg1,
string  arg2 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream  s,
QVariant.Type  p 
)
static
static QDataStream QtSvg.Global.Write ( QDataStream out,
System.Collections.Generic.List< string >  list 
)
static

Writes the given string list to the specified out stream.

See also Serializing Qt Data Types.

Property Documentation

string QtSvg.Global.QAppName
staticget
double QtSvg.Global.QInf
staticget
double QtSvg.Global.QQNaN
staticget
int QtSvg.Global.Qrand
staticget
bool QtSvg.Global.QSharedBuild
staticget
double QtSvg.Global.QSNaN
staticget
string QtSvg.Global.QVersion
staticget
int QtSvg.Global.QWinAppCmdShow
staticget
System.IntPtr QtSvg.Global.QWinAppInst
staticget
System.IntPtr QtSvg.Global.QWinAppPrevInst
staticget