-
首页
-
PyQt 4.11.4
-
所有类
-
模块
QCommonStyle Class Reference
[
QtGui
module]
The QCommonStyle class encapsulates the common Look and Feel of
a GUI.
更多...
继承
QStyle
.
方法
-
__init__
(
self
)
-
drawComplexControl
(
self
, QStyle.ComplexControl
cc
, QStyleOptionComplex
opt
, QPainter
p
, QWidget
widget
= None)
-
drawControl
(
self
, QStyle.ControlElement
element
, QStyleOption
opt
, QPainter
p
, QWidget
widget
= None)
-
drawPrimitive
(
self
, QStyle.PrimitiveElement
pe
, QStyleOption
opt
, QPainter
p
, QWidget
widget
= None)
-
QPixmap
generatedIconPixmap
(
self
, QIcon.Mode
iconMode
, QPixmap
pixmap
, QStyleOption
opt
)
-
QStyle.SubControl
hitTestComplexControl
(
self
, QStyle.ComplexControl
cc
, QStyleOptionComplex
opt
, QPoint
pt
, QWidget
widget
= None)
-
int
pixelMetric
(
self
, QStyle.PixelMetric
m
, QStyleOption
option
= None, QWidget
widget
= None)
-
polish
(
self
, QWidget
widget
)
-
polish
(
self
, QApplication
app
)
-
QPalette
polish
(
self
, QPalette)
-
QSize
sizeFromContents
(
self
, QStyle.ContentsType
ct
, QStyleOption
opt
, QSize
contentsSize
, QWidget
widget
= None)
-
QIcon
standardIconImplementation
(
self
, QStyle.StandardPixmap
standardIcon
, QStyleOption
option
= None, QWidget
widget
= None)
-
QPixmap
standardPixmap
(
self
, QStyle.StandardPixmap
sp
, QStyleOption
option
= None, QWidget
widget
= None)
-
int
styleHint
(
self
, QStyle.StyleHint
sh
, QStyleOption
option
= None, QWidget
widget
= None, QStyleHintReturn
returnData
= None)
-
QRect
subControlRect
(
self
, QStyle.ComplexControl
cc
, QStyleOptionComplex
opt
, QStyle.SubControl
sc
, QWidget
widget
= None)
-
QRect
subElementRect
(
self
, QStyle.SubElement
r
, QStyleOption
opt
, QWidget
widget
= None)
-
unpolish
(
self
, QWidget
widget
)
-
unpolish
(
self
, QApplication
application
)
详细描述
The QCommonStyle class encapsulates the common Look and Feel of
a GUI.
This abstract class implements some of the widget's look and
feel that is common to all GUI styles provided and shipped as part
of Qt.
Since QCommonStyle inherits
QStyle
,
all of its functions are fully documented in the
QStyle
文档编制。
方法文档编制
QCommonStyle.__init__ (
self
)
构造
QCommonStyle
.
重实现自
QStyle.drawComplexControl
().
重实现自
QStyle.drawControl
().
重实现自
QStyle.drawPrimitive
().
重实现自
QStyle.generatedIconPixmap
().
重实现自
QStyle.hitTestComplexControl
().
重实现自
QStyle.pixelMetric
().
QCommonStyle.polish (
self
,
QWidget
widget
)
重实现自
QStyle.polish
().
QCommonStyle.polish (
self
,
QApplication
app
)
重实现自
QStyle.polish
().
重实现自
QStyle.polish
().
重实现自
QStyle.sizeFromContents
().
QIcon
QCommonStyle.standardIconImplementation (
self
,
QStyle.StandardPixmap
standardIcon
,
QStyleOption
option
= None,
QWidget
widget
= None)
This method is also a Qt slot with the C++ signature
QIcon standardIconImplementation(QStyle::StandardPixmap,const QStyleOption* = 0,const QWidget* = 0) const
.
重实现自
QStyle.standardPixmap
().
重实现自
QStyle.styleHint
().
重实现自
QStyle.subControlRect
().
重实现自
QStyle.subElementRect
().
QCommonStyle.unpolish (
self
,
QWidget
widget
)
重实现自
QStyle.unpolish
().
QCommonStyle.unpolish (
self
,
QApplication
application
)
重实现自
QStyle.unpolish
().
-
首页
-
PyQt 4.11.4
-
文档编制