Home · All Classes · Modules

QtGui Module

The QtGui module extends QtCore with GUI functionality. More...

Types

Module Functions

Module Members


Detailed Description

The QtGui module extends QtCore with GUI functionality.

To import the module use, for example, the following statement:

from PyQt4 import QtGui

Function Documentation

int qAlpha (int rgb)

int qBlue (int rgb)

qDrawBorderPixmap (QPainter painter, QRect target, QMargins margins, QPixmap pixmap)

qDrawPlainRect (QPainter p, int x, int y, int w, int h, QColor, int lineWidth = 1, QBrush fill = None)

qDrawPlainRect (QPainter p, QRect r, QColor, int lineWidth = 1, QBrush fill = None)

qDrawShadeLine (QPainter p, int x1, int y1, int x2, int y2, QPalette pal, bool sunken = True, int lineWidth = 1, int midLineWidth = 0)

qDrawShadeLine (QPainter p, QPoint p1, QPoint p2, QPalette pal, bool sunken = True, int lineWidth = 1, int midLineWidth = 0)

qDrawShadePanel (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, int lineWidth = 1, QBrush fill = None)

qDrawShadePanel (QPainter p, QRect r, QPalette pal, bool sunken = False, int lineWidth = 1, QBrush fill = None)

qDrawShadeRect (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, int lineWidth = 1, int midLineWidth = 0, QBrush fill = None)

qDrawShadeRect (QPainter p, QRect r, QPalette pal, bool sunken = False, int lineWidth = 1, int midLineWidth = 0, QBrush fill = None)

qDrawWinButton (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, QBrush fill = None)

qDrawWinButton (QPainter p, QRect r, QPalette pal, bool sunken = False, QBrush fill = None)

qDrawWinPanel (QPainter p, int x, int y, int w, int h, QPalette pal, bool sunken = False, QBrush fill = None)

qDrawWinPanel (QPainter p, QRect r, QPalette pal, bool sunken = False, QBrush fill = None)

bool qFuzzyCompare (QMatrix m1, QMatrix m2)

bool qFuzzyCompare (QMatrix4x4 m1, QMatrix4x4 m2)

bool qFuzzyCompare (QQuaternion q1, QQuaternion q2)

bool qFuzzyCompare (QTransform t1, QTransform t2)

bool qFuzzyCompare (QVector2D v1, QVector2D v2)

bool qFuzzyCompare (QVector3D v1, QVector3D v2)

bool qFuzzyCompare (QVector4D v1, QVector4D v2)

int qGray (int r, int g, int b)

int qGray (int rgb)

int qGreen (int rgb)

bool qIsGray (int rgb)

int qRed (int rgb)

int qRgb (int r, int g, int b)

int qRgba (int r, int g, int b, int a)

qt_x11_wait_for_window_manager (QWidget widget)


Member Documentation

QApplication qApp

This member should be treated as a constant.

int QWIDGETSIZE_MAX

This member should be treated as a constant.


PyQt 4.12.1 for X11Copyright © Riverbank Computing Ltd and The Qt Company 2015Qt 4.8.7