The QPlastiqueStyle class provides a widget style similar to the Plastik style available in KDE. 更多...
| 头: | #include <QPlastiqueStyle> |
| 继承: | QWindowsStyle |
| QPlastiqueStyle () | |
| ~QPlastiqueStyle () |
| virtual void | drawComplexControl (ComplexControl control , const QStyleOptionComplex * option , QPainter * painter , const QWidget * widget ) const |
| virtual void | drawControl (ControlElement element , const QStyleOption * option , QPainter * painter , const QWidget * widget ) const |
| virtual void | drawPrimitive (PrimitiveElement element , const QStyleOption * option , QPainter * painter , const QWidget * widget = 0) const |
| virtual SubControl | hitTestComplexControl (ComplexControl control , const QStyleOptionComplex * option , const QPoint & pos , const QWidget * widget = 0) const |
| virtual int | pixelMetric (PixelMetric metric , const QStyleOption * option = 0, const QWidget * widget = 0) const |
| virtual void | polish (QWidget * widget ) |
| virtual void | polish (QApplication * app ) |
| virtual void | polish (QPalette & pal ) |
| virtual QSize | sizeFromContents (ContentsType type , const QStyleOption * option , const QSize & size , const QWidget * widget ) const |
| virtual QPalette | standardPalette () const |
| virtual QPixmap | standardPixmap (StandardPixmap standardPixmap , const QStyleOption * opt , const QWidget * widget = 0) const |
| virtual int | styleHint (StyleHint hint , const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0) const |
| virtual QRect | subControlRect (ComplexControl control , const QStyleOptionComplex * option , SubControl subControl , const QWidget * widget ) const |
| virtual QRect | subElementRect (SubElement element , const QStyleOption * option , const QWidget * widget ) const |
| virtual void | unpolish (QWidget * widget ) |
| virtual void | unpolish (QApplication * app ) |
| virtual bool | eventFilter (QObject * watched , QEvent * event ) |
| virtual void | timerEvent (QTimerEvent * event ) |
The QPlastiqueStyle class provides a widget style similar to the Plastik style available in KDE.
The Plastique style provides a default look and feel for widgets on X11 that closely resembles the Plastik style, introduced by Sandro Giessl in KDE 3.2.
另请参阅 QWindowsXPStyle , QMacStyle , QWindowsStyle , QCDEStyle ,和 QMotifStyle .
构造 QPlastiqueStyle 对象。
销毁 QPlastiqueStyle 对象。
[虚拟]
void
QPlastiqueStyle::
drawComplexControl
(
ComplexControl
control
, const
QStyleOptionComplex
*
option
,
QPainter
*
painter
, const
QWidget
*
widget
) const
重实现自 QStyle::drawComplexControl ().
[虚拟]
void
QPlastiqueStyle::
drawControl
(
ControlElement
element
, const
QStyleOption
*
option
,
QPainter
*
painter
, const
QWidget
*
widget
) const
重实现自 QStyle::drawControl ().
[虚拟]
void
QPlastiqueStyle::
drawPrimitive
(
PrimitiveElement
element
, const
QStyleOption
*
option
,
QPainter
*
painter
, const
QWidget
*
widget
= 0) const
重实现自 QStyle::drawPrimitive ().
[virtual protected]
bool
QPlastiqueStyle::
eventFilter
(
QObject
*
watched
,
QEvent
*
event
)
重实现自 QObject::eventFilter ().
[虚拟]
SubControl
QPlastiqueStyle::
hitTestComplexControl
(
ComplexControl
control
, const
QStyleOptionComplex
*
option
, const
QPoint
&
pos
, const
QWidget
*
widget
= 0) const
重实现自 QStyle::hitTestComplexControl ().
[虚拟]
int
QPlastiqueStyle::
pixelMetric
(
PixelMetric
metric
, const
QStyleOption
*
option
= 0, const
QWidget
*
widget
= 0) const
重实现自 QStyle::pixelMetric ().
[虚拟]
void
QPlastiqueStyle::
polish
(
QWidget
*
widget
)
重实现自 QStyle::polish ().
[虚拟]
void
QPlastiqueStyle::
polish
(
QApplication
*
app
)
重实现自 QStyle::polish ().
[虚拟]
void
QPlastiqueStyle::
polish
(
QPalette
&
pal
)
重实现自 QStyle::polish ().
[虚拟]
QSize
QPlastiqueStyle::
sizeFromContents
(
ContentsType
type
, const
QStyleOption
*
option
, const
QSize
&
size
, const
QWidget
*
widget
) const
重实现自 QStyle::sizeFromContents ().
[虚拟]
QPalette
QPlastiqueStyle::
standardPalette
() const
重实现自 QStyle::standardPalette ().
[虚拟]
QPixmap
QPlastiqueStyle::
standardPixmap
(
StandardPixmap
standardPixmap
, const
QStyleOption
*
opt
, const
QWidget
*
widget
= 0) const
重实现自 QStyle::standardPixmap ().
[虚拟]
int
QPlastiqueStyle::
styleHint
(
StyleHint
hint
, const
QStyleOption
*
option
= 0, const
QWidget
*
widget
= 0,
QStyleHintReturn
*
returnData
= 0) const
重实现自 QStyle::styleHint ().
[虚拟]
QRect
QPlastiqueStyle::
subControlRect
(
ComplexControl
control
, const
QStyleOptionComplex
*
option
,
SubControl
subControl
, const
QWidget
*
widget
) const
重实现自 QStyle::subControlRect ().
[虚拟]
QRect
QPlastiqueStyle::
subElementRect
(
SubElement
element
, const
QStyleOption
*
option
, const
QWidget
*
widget
) const
重实现自 QStyle::subElementRect ().
[virtual protected]
void
QPlastiqueStyle::
timerEvent
(
QTimerEvent
*
event
)
重实现自 QObject::timerEvent ().
[虚拟]
void
QPlastiqueStyle::
unpolish
(
QWidget
*
widget
)
重实现自 QStyle::unpolish ().
[虚拟]
void
QPlastiqueStyle::
unpolish
(
QApplication
*
app
)
重实现自 QStyle::unpolish ().