KStyles
WebStyle Class Reference
#include <webstyle.h>

Public Member Functions | |
| QRect | buttonRect (int x, int y, int w, int h) |
| QRect | comboButtonFocusRect (int x, int y, int w, int h) |
| QRect | comboButtonRect (int x, int y, int w, int h) |
| void | drawArrow (QPainter *, Qt::ArrowType, bool down, int x, int y, int w, int h, const QColorGroup &, bool enabled=true, const QBrush *fill=0) |
| void | drawBevelButton (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool sunken=false, const QBrush *fill=0) |
| void | drawButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false, const QBrush *fill=0) |
| void | drawComboButton (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool sunken=false, bool editable=false, bool enabled=true, const QBrush *fill=0) |
| void | drawExclusiveIndicator (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool on, bool down=false, bool enabled=true) |
| void | drawExclusiveIndicatorMask (QPainter *, int x, int y, int w, int h, bool on) |
| void | drawFocusRect (QPainter *, const QRect &, const QColorGroup &, const QColor *pen, bool atBorder) |
| void | drawIndicator (QPainter *, int x, int y, int w, int h, const QColorGroup &, int state, bool down=false, bool enabled=true) |
| void | drawIndicatorMask (QPainter *, int x, int y, int w, int h, int state) |
| void | drawKBarHandle (QPainter *, int x, int y, int w, int h, const QColorGroup &, KToolBarPos, QBrush *fill=0) |
| void | drawKickerAppletHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *) |
| void | drawKickerHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *) |
| void | drawKickerTaskButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, const QString &title, bool active, QPixmap *icon, QBrush *) |
| void | drawKMenuBar (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool macMode, QBrush *fill=0) |
| void | drawKMenuItem (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool active, QMenuItem *, QBrush *fill=0) |
| void | drawKProgressBlock (QPainter *, int x, int y, int w, int h, const QColorGroup &, QBrush *fill) |
| void | drawKToolBar (QPainter *, int x, int y, int w, int h, const QColorGroup &, KToolBarPos, QBrush *fill=0) |
| void | drawKToolBarButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false, bool raised=true, bool enabled=true, bool popup=false, KToolButtonType=Icon, const QString &btext=QString(), const QPixmap *=0, QFont *=0, QWidget *button=0) |
| void | drawPanel (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool sunken, int lineWidth=1, const QBrush *=0) |
| void | drawPopupMenuItem (QPainter *, bool checkable, int maxpmw, int tab, QMenuItem *, const QPalette &, bool act, bool enabled, int x, int y, int w, int h) |
| void | drawPopupPanel (QPainter *, int x, int y, int w, int h, const QColorGroup &, int lineWidth=2, const QBrush *=0) |
| void | drawPushButton (QPushButton *, QPainter *) |
| virtual void | drawPushButtonLabel (QPushButton *, QPainter *) |
| void | drawScrollBarControls (QPainter *, const QScrollBar *, int sliderStart, uint controls, uint activeControl) |
| void | drawSeparator (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool sunken=true, int lineWidth=1, int midLineWidth=0) |
| void | drawSlider (QPainter *, int x, int y, int w, int h, const QColorGroup &, Qt::Orientation, bool tickAbove, bool tickBelow) |
| void | drawSliderGroove (QPainter *, int x, int y, int w, int h, const QColorGroup &, QCOORD, Qt::Orientation) |
| void | drawTab (QPainter *p, const QTabBar *tabBar, QTab *tab, bool selected) |
| void | drawTabMask (QPainter *p, const QTabBar *, QTab *tab, bool) |
| bool | eventFilter (QObject *, QEvent *) |
| QSize | exclusiveIndicatorSize () const |
| Qt::GUIStyle | guiStyle () const |
| QSize | indicatorSize () const |
| void | polish (QPalette &) |
| void | polish (QWidget *) |
| void | polish (QApplication *) |
| int | popupMenuItemHeight (bool, QMenuItem *, const QFontMetrics &) |
| void | scrollBarMetrics (const QScrollBar *, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim) |
| QStyle::ScrollControl | scrollBarPointOver (const QScrollBar *, int sliderStart, const QPoint &) |
| int | sliderLength () const |
| void | unPolish (QApplication *) |
| void | unPolish (QWidget *) |
| WebStyle () | |
| ~WebStyle () | |
Detailed Description
Definition at line 31 of file webstyle.h.
Constructor & Destructor Documentation
| WebStyle::WebStyle | ( | ) |
Definition at line 220 of file webstyle.cpp.
| WebStyle::~WebStyle | ( | ) |
Definition at line 227 of file webstyle.cpp.
Member Function Documentation
| QRect WebStyle::buttonRect | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 345 of file webstyle.cpp.
| QRect WebStyle::comboButtonFocusRect | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 881 of file webstyle.cpp.
| QRect WebStyle::comboButtonRect | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 875 of file webstyle.cpp.
| void WebStyle::drawArrow | ( | QPainter * | p, | |
| Qt::ArrowType | type, | |||
| bool | down, | |||
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | enabled = true, |
|||
| const QBrush * | fill = 0 | |||
| ) |
Definition at line 920 of file webstyle.cpp.
| void WebStyle::drawBevelButton | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | sunken = false, |
|||
| const QBrush * | fill = 0 | |||
| ) |
Definition at line 352 of file webstyle.cpp.
| void WebStyle::drawButton | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | sunken = false, |
|||
| const QBrush * | fill = 0 | |||
| ) |
Definition at line 319 of file webstyle.cpp.
| void WebStyle::drawComboButton | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | sunken = false, |
|||
| bool | editable = false, |
|||
| bool | enabled = true, |
|||
| const QBrush * | fill = 0 | |||
| ) |
Definition at line 815 of file webstyle.cpp.
| void WebStyle::drawExclusiveIndicator | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | on, | |||
| bool | down = false, |
|||
| bool | enabled = true | |||
| ) |
Definition at line 730 of file webstyle.cpp.
| void WebStyle::drawExclusiveIndicatorMask | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| bool | on | |||
| ) |
Definition at line 793 of file webstyle.cpp.
| void WebStyle::drawFocusRect | ( | QPainter * | p, | |
| const QRect & | r, | |||
| const QColorGroup & | g, | |||
| const QColor * | pen, | |||
| bool | atBorder | |||
| ) |
Definition at line 1337 of file webstyle.cpp.
| void WebStyle::drawIndicator | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| int | state, | |||
| bool | down = false, |
|||
| bool | enabled = true | |||
| ) |
Definition at line 682 of file webstyle.cpp.
| void WebStyle::drawIndicatorMask | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| int | state | |||
| ) |
Definition at line 779 of file webstyle.cpp.
| void WebStyle::drawKBarHandle | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| KToolBarPos | , | |||
| QBrush * | fill = 0 | |||
| ) |
Definition at line 989 of file webstyle.cpp.
| void WebStyle::drawKickerAppletHandle | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| QBrush * | fill | |||
| ) |
Definition at line 1526 of file webstyle.cpp.
| void WebStyle::drawKickerHandle | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| QBrush * | fill | |||
| ) |
Definition at line 1503 of file webstyle.cpp.
| void WebStyle::drawKickerTaskButton | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| const QString & | title, | |||
| bool | active, | |||
| QPixmap * | icon, | |||
| QBrush * | ||||
| ) |
Definition at line 1549 of file webstyle.cpp.
| void WebStyle::drawKMenuBar | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | macMode, | |||
| QBrush * | fill = 0 | |||
| ) |
Definition at line 1009 of file webstyle.cpp.
| void WebStyle::drawKMenuItem | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | active, | |||
| QMenuItem * | mi, | |||
| QBrush * | fill = 0 | |||
| ) |
Definition at line 1251 of file webstyle.cpp.
| void WebStyle::drawKProgressBlock | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| QBrush * | fill | |||
| ) |
Definition at line 1316 of file webstyle.cpp.
| void WebStyle::drawKToolBar | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| KToolBarPos | , | |||
| QBrush * | fill = 0 | |||
| ) |
Definition at line 969 of file webstyle.cpp.
| void WebStyle::drawKToolBarButton | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | sunken = false, |
|||
| bool | raised = true, |
|||
| bool | enabled = true, |
|||
| bool | popup = false, |
|||
| KToolButtonType | type = Icon, |
|||
| const QString & | btext = QString(), |
|||
| const QPixmap * | pixmap = 0, |
|||
| QFont * | font = 0, |
|||
| QWidget * | button = 0 | |||
| ) |
Definition at line 1029 of file webstyle.cpp.
| void WebStyle::drawPanel | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | sunken, | |||
| int | lineWidth = 1, |
|||
| const QBrush * | fill = 0 | |||
| ) |
Definition at line 1365 of file webstyle.cpp.
| void WebStyle::drawPopupMenuItem | ( | QPainter * | p, | |
| bool | checkable, | |||
| int | maxpmw, | |||
| int | tab, | |||
| QMenuItem * | mi, | |||
| const QPalette & | pal, | |||
| bool | act, | |||
| bool | enabled, | |||
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 1295 of file webstyle.cpp.
| void WebStyle::drawPopupPanel | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| int | lineWidth = 2, |
|||
| const QBrush * | fill = 0 | |||
| ) |
Definition at line 1390 of file webstyle.cpp.
| void WebStyle::drawPushButton | ( | QPushButton * | b, | |
| QPainter * | p | |||
| ) |
Definition at line 367 of file webstyle.cpp.
| void WebStyle::drawPushButtonLabel | ( | QPushButton * | b, | |
| QPainter * | p | |||
| ) | [virtual] |
Definition at line 422 of file webstyle.cpp.
| void WebStyle::drawScrollBarControls | ( | QPainter * | p, | |
| const QScrollBar * | sb, | |||
| int | sliderStart, | |||
| uint | controls, | |||
| uint | activeControl | |||
| ) |
Definition at line 431 of file webstyle.cpp.
| void WebStyle::drawSeparator | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| bool | sunken = true, |
|||
| int | lineWidth = 1, |
|||
| int | midLineWidth = 0 | |||
| ) |
Definition at line 1414 of file webstyle.cpp.
| void WebStyle::drawSlider | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| Qt::Orientation | o, | |||
| bool | tickAbove, | |||
| bool | tickBelow | |||
| ) |
Definition at line 938 of file webstyle.cpp.
| void WebStyle::drawSliderGroove | ( | QPainter * | p, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h, | |||
| const QColorGroup & | g, | |||
| QCOORD | , | |||
| Qt::Orientation | o | |||
| ) |
Definition at line 894 of file webstyle.cpp.
Definition at line 1444 of file webstyle.cpp.
Definition at line 1491 of file webstyle.cpp.
Definition at line 299 of file webstyle.cpp.
| QSize WebStyle::exclusiveIndicatorSize | ( | ) | const |
Definition at line 723 of file webstyle.cpp.
| Qt::GUIStyle WebStyle::guiStyle | ( | ) | const [inline] |
Definition at line 409 of file webstyle.h.
| QSize WebStyle::indicatorSize | ( | ) | const |
Definition at line 675 of file webstyle.cpp.
| void WebStyle::polish | ( | QPalette & | ) |
Definition at line 239 of file webstyle.cpp.
| void WebStyle::polish | ( | QWidget * | w | ) |
Definition at line 251 of file webstyle.cpp.
| void WebStyle::polish | ( | QApplication * | ) |
Definition at line 233 of file webstyle.cpp.
| int WebStyle::popupMenuItemHeight | ( | bool | , | |
| QMenuItem * | i, | |||
| const QFontMetrics & | fm | |||
| ) |
Definition at line 1662 of file webstyle.cpp.
| void WebStyle::scrollBarMetrics | ( | const QScrollBar * | sb, | |
| int & | sliderMin, | |||
| int & | sliderMax, | |||
| int & | sliderLength, | |||
| int & | buttonDim | |||
| ) |
Definition at line 633 of file webstyle.cpp.
| QStyle::ScrollControl WebStyle::scrollBarPointOver | ( | const QScrollBar * | sb, | |
| int | sliderStart, | |||
| const QPoint & | point | |||
| ) |
Definition at line 580 of file webstyle.cpp.
| int WebStyle::sliderLength | ( | ) | const |
Definition at line 887 of file webstyle.cpp.
| void WebStyle::unPolish | ( | QApplication * | ) |
Definition at line 245 of file webstyle.cpp.
| void WebStyle::unPolish | ( | QWidget * | w | ) |
Definition at line 283 of file webstyle.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference