-
首页
-
PyQt 4.11.4
-
所有类
-
模块
QtGui Module
The QtGui module extends QtCore with GUI functionality.
更多...
类型
模块函数
-
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
)
-
qSwap
(QBitmap
value1
, QBitmap
value2
)
-
qSwap
(QBrush
value1
, QBrush
value2
)
-
qSwap
(QIcon
value1
, QIcon
value2
)
-
qSwap
(QImage
value1
, QImage
value2
)
-
qSwap
(QKeySequence
value1
, QKeySequence
value2
)
-
qSwap
(QPen
value1
, QPen
value2
)
-
qSwap
(QPicture
value1
, QPicture
value2
)
-
qSwap
(QPixmap
value1
, QPixmap
value2
)
Module Members
详细描述
The QtGui module extends
QtCore
with GUI
功能。
To import the module use, for example, the following statement:
from PyQt4 import QtGui
函数文档编制
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
)
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
)
qSwap (
QBrush
value1
,
QBrush
value2
)
qSwap (
QIcon
value1
,
QIcon
value2
)
qSwap (
QImage
value1
,
QImage
value2
)
qSwap (
QPen
value1
,
QPen
value2
)
Member Documentation
This member should be treated as a constant.
int QWIDGETSIZE_MAX
This member should be treated as a constant.
-
首页
-
PyQt 4.11.4
-
文档编制