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

Public Member Functions

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

Static Public Member Functions

static QDataStream Write (QDataStream stream, QSizePolicy policy)
 
 
static QDataStream Write (QDataStream stream, QTransform matrix)
 
 
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 s, QPicture r)
 
 
static QDataStream Write (QDataStream @out, QTreeWidgetItem item)
 
 
static QTextStream Write (QTextStream arg1, QSplitter arg2)
 
static QDataStream Write (QDataStream stream, QBrush brush)
 
 
static QDataStream Write (QDataStream arg1, QDate arg2)
 
static QDataStream Write (QDataStream stream, QPixmap pixmap)
 
 
static QDataStream Write (QDataStream arg1, QUrl arg2)
 
static QDataStream Write (QDataStream s, object p)
 
static QDataStream Write (QDataStream stream, QPen pen)
 
 
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 stream, QVector3D vector)
 
 
static QDataStream Write (QDataStream stream, QPolygonF array)
 
 
static QDataStream Write (QDataStream arg1, QSizeF arg2)
 
static QDataStream Write (QDataStream s, QFont font)
 
 
static QDataStream Write (QDataStream stream, QVector2D vector)
 
 
static QDataStream Write (QDataStream stream, QMatrix matrix)
 
 
static QDataStream Write (QDataStream stream, QPainterPath path)
 
 
static QDataStream Write (QDataStream arg1, QBitArray arg2)
 
static QDataStream Write (QDataStream arg1, QPoint arg2)
 
static QDataStream Write (QDataStream stream, QImage image)
 
 
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 s, QRegion r)
 
 
static QDataStream Write (QDataStream stream, QColor color)
 
 
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 stream, QMatrix4x4 matrix)
 
 
static QDataStream Write (QDataStream stream, QVector4D vector)
 
 
static QDataStream Write (QDataStream stream, QIcon icon)
 
 
static QDataStream Write (QDataStream arg1, QDateTime arg2)
 
static QDataStream Write (QDataStream arg1, QTextFormat arg2)
 
static QDataStream Write (QDataStream stream, QQuaternion quaternion)
 
 
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 stream, QImage image)
 
 
static QDataStream Read (QDataStream arg1, QLocale arg2)
 
static QDataStream Read (QDataStream stream, QPen pen)
 
 
static QDataStream Read (QDataStream stream, QColor color)
 
 
static QDataStream Read (QDataStream arg1, QPointF arg2)
 
static QDataStream Read (QDataStream arg1, QDate arg2)
 
static QDataStream Read (QDataStream stream, QVector4D vector)
 
 
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 s, QRegion r)
 
 
static QDataStream Read (QDataStream arg1, QBitArray arg2)
 
static QDataStream Read (QDataStream inS, QCursor cursor)
 
 
static QDataStream Read (QDataStream stream, QTransform matrix)
 
 
static QDataStream Read (QDataStream arg1, QSizeF arg2)
 
static QDataStream Read (QDataStream arg1, QLine arg2)
 
static QDataStream Read (QDataStream stream, QIcon icon)
 
 
static QTextStream Read (QTextStream s, Global.FuncQTextStreamQTextStream f)
 
static QDataStream Read (QDataStream stream, QEasingCurve easing)
 
 
static QDataStream Read (QDataStream @in, QStandardItem item)
 
 
static QDataStream Read (QDataStream stream, QBrush brush)
 
 
static QDataStream Read (QDataStream stream, QMatrix4x4 matrix)
 
 
static QDataStream Read (QDataStream arg1, QTextFormat arg2)
 
static QDataStream Read (QDataStream @in, QListWidgetItem item)
 
 
static QDataStream Read (QDataStream stream, QSizePolicy policy)
 
 
static QDataStream Read (QDataStream stream, QMatrix matrix)
 
 
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 stream, QQuaternion quaternion)
 
 
static QDataStream Read (QDataStream s, QFont font)
 
 
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 stream, QPixmap pixmap)
 
 
static QDataStream Read (QDataStream arg1, QRect arg2)
 
static QDataStream Read (QDataStream stream, QVector3D vector)
 
 
static QDataStream Read (QDataStream arg1, QLineF arg2)
 
static QDataStream Read (QDataStream stream, QPainterPath path)
 
 
static QDataStream Read (QDataStream s, QPicture r)
 
 
static QDataStream Read (QDataStream stream, QVector2D vector)
 
 
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 QtGui.Global.ActionQPictureIO ( QPictureIO  qPictureIO)
delegate void QtGui.Global.ActionQtMsgTypeString ( QtMsgType  qtMsgType,
string @  string 
)
delegate QObject QtGui.Global.FuncQObject ( )
delegate QTextStream QtGui.Global.FuncQTextStreamQTextStream ( QTextStream  qTextStream)
static double QtGui.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 QtGui.Global.QAddPostRoutine ( System.Action  arg1)
static
static int QtGui.Global.QAlpha ( uint  rgb)
static

Returns the alpha component of the ARGB quadruplet rgba.

See also qRgb() and QColor::alpha().

static double QtGui.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 QtGui.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 QtGui.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 QtGui.Global.QBadAlloc ( )
static
static int QtGui.Global.QBlue ( uint  rgb)
static

Returns the blue component of the ARGB quadruplet rgb.

See also qRgb() and QColor::blue().

static void QtGui.Global.Qbswap_helper ( Pointer< byte >  src,
Pointer< byte >  dest,
int  size 
)
static
static int QtGui.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 QtGui.Global.QChecksum ( string  s,
uint  len 
)
static
static QByteArray QtGui.Global.QCompress ( QByteArray  data,
int  compressionLevel = -1 
)
static
static QByteArray QtGui.Global.QCompress ( Pointer< byte >  data,
int  nbytes,
int  compressionLevel = -1 
)
static
static double QtGui.Global.QCos ( double  v)
static

Returns the cosine of an angle v in radians.

See also qSin() and qTan().

static void QtGui.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 QtGui.Global.QDrawBorderPixmap ( QPainter  painter,
QRect  targetRect,
QMargins  targetMargins,
QPixmap  pixmap,
QRect  sourceRect,
QMargins  sourceMargins 
)
static
static void QtGui.Global.QDrawBorderPixmap ( QPainter  painter,
QRect  targetRect,
QMargins  targetMargins,
QPixmap  pixmap,
QRect  sourceRect,
QMargins  sourceMargins,
QTileRules  rules,
uint  hints = 0 
)
static
static void QtGui.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 QtGui.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 QtGui.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 QtGui.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 QtGui.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 QtGui.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 QtGui.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 QtGui.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 QtGui.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 QtGui.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 QtGui.Global.QDrawWinPanel ( QPainter  p,
QRect  r,
QPalette  pal,
bool  sunken = false,
QBrush  fill = null 
)
static
static void QtGui.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 QtGui.Global.QExp ( double  v)
static

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

See also qLn().

static double QtGui.Global.QFabs ( double  v)
static
static double QtGui.Global.QFastCos ( double  x)
static
static double QtGui.Global.QFastSin ( double  x)
static
static string QtGui.Global.QFlagLocation ( string  method)
static
static int QtGui.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 QtGui.Global.QFuzzyCompare ( QVector2D  v1,
QVector2D  v2 
)
static

Returns true if v1 and v2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.

static bool QtGui.Global.QFuzzyCompare ( QTransform  t1,
QTransform  t2 
)
static

Returns true if t1 and t2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.

This function was introduced in Qt 4.6.

static bool QtGui.Global.QFuzzyCompare ( QMatrix4x4  m1,
QMatrix4x4  m2 
)
static

Returns true if m1 and m2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.

static bool QtGui.Global.QFuzzyCompare ( QVector4D  v1,
QVector4D  v2 
)
static

Returns true if v1 and v2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.

static bool QtGui.Global.QFuzzyCompare ( QMatrix  m1,
QMatrix  m2 
)
static

The qFuzzyCompare function is for comparing two matrices using a fuzziness factor.

Returns true if m1 and m2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.

This function was introduced in Qt 4.6.

static bool QtGui.Global.QFuzzyCompare ( QVector3D  v1,
QVector3D  v2 
)
static

Returns true if v1 and v2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.

static bool QtGui.Global.QFuzzyCompare ( QQuaternion  q1,
QQuaternion  q2 
)
static

Returns true if q1 and q2 are equal, allowing for a small fuzziness factor for floating-point comparisons; false otherwise.

static bool QtGui.Global.QFuzzyCompare ( double  p1,
double  p2 
)
static
static bool QtGui.Global.QFuzzyCompare ( float  p1,
float  p2 
)
static
static bool QtGui.Global.QFuzzyIsNull ( double  d)
static
static bool QtGui.Global.QFuzzyIsNull ( float  f)
static
static QByteArray QtGui.Global.Qgetenv ( string  varName)
static
static int QtGui.Global.QGray ( uint  rgb)
static

This is an overloaded function.

Returns a gray value (0 to 255) from the given ARGB quadruplet rgb.

The gray value is calculated using the formula (R * 11 + G * 16 + B * 5)/32; the alpha-channel is ignored.

static int QtGui.Global.QGray ( int  r,
int  g,
int  b 
)
static

Returns a gray value (0 to 255) from the (r, g, b) triplet.

The gray value is calculated using the formula (r * 11 + g * 16 + b * 5)/32.

static int QtGui.Global.QGreen ( uint  rgb)
static

Returns the green component of the ARGB quadruplet rgb.

See also qRgb() and QColor::green().

static uint QtGui.Global.QHash ( QPersistentModelIndex  index)
static
static uint QtGui.Global.QHash ( QStringRef  key)
static
static uint QtGui.Global.QHash ( QBitArray  key)
static

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

Returns the hash value for the key.

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

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

See also qExp().

static double QtGui.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 QtGui.Global.Qputenv ( string  varName,
QByteArray  value 
)
static
static int QtGui.Global.QRed ( uint  rgb)
static

Returns the red component of the ARGB quadruplet rgb.

See also qRgb() and QColor::red().

static void QtGui.Global.QRegisterStaticPluginInstanceFunction ( Global.FuncQObject  function)
static
static void QtGui.Global.QRemovePostRoutine ( System.Action  arg1)
static
static uint QtGui.Global.QRgb ( int  r,
int  g,
int  b 
)
static

Returns the ARGB quadruplet (255, r, g, b).

See also qRgba(), qRed(), qGreen(), and qBlue().

static uint QtGui.Global.QRgba ( int  r,
int  g,
int  b,
int  a 
)
static

Returns the ARGB quadruplet (a, r, g, b).

See also qRgb(), qRed(), qGreen(), and qBlue().

static int QtGui.Global.QRound ( double  d)
static
static long QtGui.Global.QRound64 ( double  d)
static
static double QtGui.Global.QSin ( double  v)
static

Returns the sine of the angle v in radians.

See also qCos() and qTan().

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

Returns the tangent of an angle v in radians.

See also qSin() and qCos().

static string QtGui.Global.QtTrId ( string  id,
int  n = -1 
)
static
static QByteArray QtGui.Global.QUncompress ( QByteArray  data)
static
static QByteArray QtGui.Global.QUncompress ( Pointer< byte >  data,
int  nbytes 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QImage  image 
)
static

Reads an image from the given stream and stores it in the given image.

See also QImage::load() and Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QLocale  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QPen  pen 
)
static

Reads a pen from the given stream into the given pen and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QColor  color 
)
static

Reads the color from the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QPointF  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QDate  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QVector4D  vector 
)
static

Reads a 4D vector from the given stream into the given vector and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QUuid  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QByteArray  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  s,
object  p 
)
static
static QDataStream QtGui.Global.Read ( QDataStream in,
QRegExp  regExp 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  s,
QRegion  r 
)
static

Reads a region from the stream s into r and returns a reference to the stream.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QBitArray  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  inS,
QCursor  cursor 
)
static

Reads the cursor from the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QTransform  matrix 
)
static

Reads the given matrix from the given stream and returns a reference to the stream.

This function was introduced in Qt 4.3.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QSizeF  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QLine  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QIcon  icon 
)
static

Reads an image, or a set of images, from the given stream into the given icon.

This function was introduced in Qt 4.2.

static QTextStream QtGui.Global.Read ( QTextStream  s,
Global.FuncQTextStreamQTextStream  f 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QEasingCurve  easing 
)
static

Reads an easing curve from the given stream into the given easing curve and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream in,
QStandardItem  item 
)
static

Reads a QStandardItem from stream in into item.

This operator uses QStandardItem::read().

This function was introduced in Qt 4.2.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QBrush  brush 
)
static

Reads the given brush from the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QMatrix4x4  matrix 
)
static

Reads a 4x4 matrix from the given stream into the given matrix and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QTextFormat  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream in,
QListWidgetItem  item 
)
static

Reads a list widget item from stream in into item.

This operator uses QListWidgetItem::read().

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QSizePolicy  policy 
)
static

Reads the size policy from the data stream stream.

This function was introduced in Qt 4.2.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QMatrix  matrix 
)
static

Reads the given matrix from the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QSize  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream in,
QTableWidgetItem  item 
)
static

Reads a table widget item from stream in into item.

This operator uses QTableWidgetItem::read().

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QPolygonF  array 
)
static

Reads a polygon from the given stream into the given polygon, and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  ds,
QPalette  p 
)
static

Reads a palette from the stream, s into the palette p, and returns a reference to the stream.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QQuaternion  quaternion 
)
static

Reads a quaternion from the given stream into the given quaternion and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  s,
QFont  font 
)
static

Reads the font font from the data stream s. (fromString() reads from a text stream.)

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QRectF  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QTextLength  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QPoint  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QDateTime  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream in,
QTreeWidgetItem  item 
)
static

Reads a tree widget item from stream in into item.

This operator uses QTreeWidgetItem::read().

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream out,
QKeySequence  ks 
)
static

Reads a key sequence from the stream into the key sequence.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QPolygon  polygon 
)
static

Reads a polygon from the given stream into the given polygon, and returns a reference to the stream.

This function was introduced in Qt 4.4.

See also Serializing Qt Data Types.

static QTextStream QtGui.Global.Read ( QTextStream  arg1,
QSplitter  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QChar  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QPixmap  pixmap 
)
static

Reads an image from the given stream into the given pixmap.

See also QPixmap::load() and Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QRect  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QVector3D  vector 
)
static

Reads a 3D vector from the given stream into the given vector and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QLineF  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  stream,
QPainterPath  path 
)
static

Reads a painter path from the given stream into the specified path, and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  s,
QPicture  r 
)
static

Reads a picture from the stream s into picture r and returns a reference to the stream.

static QDataStream QtGui.Global.Read ( QDataStream  stream,
QVector2D  vector 
)
static

Reads a 2D vector from the given stream into the given vector and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QTime  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
QUrl  arg2 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  s,
QVariant.Type  p 
)
static
static QDataStream QtGui.Global.Read ( QDataStream  arg1,
string  arg2 
)
static
static QDataStream QtGui.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 QtGui.Global.Write ( QDataStream  stream,
QSizePolicy  policy 
)
static

Writes the size policy to the data stream stream.

This function was introduced in Qt 4.2.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QTransform  matrix 
)
static

Writes the given matrix to the given stream and returns a reference to the stream.

This function was introduced in Qt 4.3.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QLine  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QRectF  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  ds,
QPalette  p 
)
static

Writes the palette, p to the stream s and returns a reference to the stream.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QByteArray  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream out,
QRegExp  regExp 
)
static
static QDataStream QtGui.Global.Write ( QDataStream in,
QKeySequence  ks 
)
static

Writes the key sequence to the stream.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Write ( QDataStream out,
QTableWidgetItem  item 
)
static

Writes the table widget item item to stream out.

This operator uses QTableWidgetItem::write().

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  outS,
QCursor  cursor 
)
static

Writes the cursor to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  s,
QPicture  r 
)
static

Writes picture r to the stream s and returns a reference to the stream.

static QDataStream QtGui.Global.Write ( QDataStream out,
QTreeWidgetItem  item 
)
static

Writes the tree widget item item to stream out.

This operator uses QTreeWidgetItem::write().

See also Serializing Qt Data Types.

static QTextStream QtGui.Global.Write ( QTextStream  arg1,
QSplitter  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  stream,
QBrush  brush 
)
static

Writes the given brush to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QDate  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  stream,
QPixmap  pixmap 
)
static

Writes the given pixmap to the given stream as a PNG image. Note that writing the stream to a file will not produce a valid image file.

See also QPixmap::save() and Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QUrl  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  s,
object  p 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  stream,
QPen  pen 
)
static

Writes the given pen to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QPolygon  polygon 
)
static

Writes the given polygon to the given stream, and returns a reference to the stream.

This function was introduced in Qt 4.4.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QLineF  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QPointF  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  stream,
QVector3D  vector 
)
static

Writes the given vector to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QPolygonF  array 
)
static

Writes the given polygon to the given stream, and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QSizeF  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  s,
QFont  font 
)
static

Writes the font font to the data stream s. (toString() writes to a text stream.)

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QVector2D  vector 
)
static

Writes the given vector to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QMatrix  matrix 
)
static

Writes the given matrix to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QPainterPath  path 
)
static

Writes the given painter path to the given stream, and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QBitArray  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QPoint  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  stream,
QImage  image 
)
static

Writes the given image to the given stream as a PNG image, or as a BMP image if the stream's version is 1. Note that writing the stream to a file will not produce a valid image file.

See also QImage::save() and Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QSize  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QChar  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QRect  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  s,
QRegion  r 
)
static

Writes the region r to the stream s and returns a reference to the stream.

See also Format of the QDataStream operators.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QColor  color 
)
static

Writes the color to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QTime  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QUuid  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QTextLength  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream out,
QListWidgetItem  item 
)
static

Writes the list widget item item to stream out.

This operator uses QListWidgetItem::write().

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream out,
QStandardItem  item 
)
static

Writes the QStandardItem item to stream out.

This operator uses QStandardItem::write().

This function was introduced in Qt 4.2.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QEasingCurve  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  stream,
QMatrix4x4  matrix 
)
static

Writes the given matrix to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QVector4D  vector 
)
static

Writes the given vector to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QDataStream QtGui.Global.Write ( QDataStream  stream,
QIcon  icon 
)
static

Writes the given icon to the given stream as a PNG image. If the icon contains more than one image, all images will be written to the stream. Note that writing the stream to a file will not produce a valid image file.

This function was introduced in Qt 4.2.

static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QDateTime  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QTextFormat  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  stream,
QQuaternion  quaternion 
)
static

Writes the given quaternion to the given stream and returns a reference to the stream.

See also Serializing Qt Data Types.

static QTextStream QtGui.Global.Write ( QTextStream  s,
Global.FuncQTextStreamQTextStream  f 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
QLocale  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  arg1,
string  arg2 
)
static
static QDataStream QtGui.Global.Write ( QDataStream  s,
QVariant.Type  p 
)
static
static QDataStream QtGui.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 QtGui.Global.QAppName
staticget
double QtGui.Global.QInf
staticget
double QtGui.Global.QQNaN
staticget
int QtGui.Global.Qrand
staticget
bool QtGui.Global.QSharedBuild
staticget
double QtGui.Global.QSNaN
staticget
string QtGui.Global.QVersion
staticget
int QtGui.Global.QWinAppCmdShow
staticget
System.IntPtr QtGui.Global.QWinAppInst
staticget
System.IntPtr QtGui.Global.QWinAppPrevInst
staticget