Public Methods
- KDEStyle ()
- ~KDEStyle ()
- virtual void polish (QWidget *w)
- virtual void unPolish (QWidget *w)
- virtual void polish (QPalette &p)
- void drawButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 )
- void drawButtonMask (QPainter *p, int x, int y, int w, int h)
- void drawComboButtonMask (QPainter *p, int x, int y, int w, int h)
- QRect buttonRect (int x, int y, int w, int h)
- void drawBevelButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 )
- void drawPushButton (QPushButton *btn, QPainter *p)
- virtual void drawPushButtonLabel (QPushButton *btn, QPainter *p)
- void drawScrollBarControls (QPainter*, const QScrollBar*, int sliderStart, uint controls, uint activeControl )
- QStyle::ScrollControl scrollBarPointOver (const QScrollBar *sb, int sliderStart, const QPoint &p)
- void scrollBarMetrics (const QScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim)
- QSize indicatorSize () const
- void drawIndicator (QPainter* p, int x, int y, int w, int h, const QColorGroup &g, int state, bool down = FALSE, bool enabled = TRUE )
- void drawIndicatorMask (QPainter *p, int x, int y, int w, int h, int)
- QSize exclusiveIndicatorSize () const
- void drawExclusiveIndicator (QPainter* p, int x, int y, int w, int h, const QColorGroup &g, bool on, bool down = FALSE, bool enabled = TRUE )
- void drawExclusiveIndicatorMask (QPainter *p, int x, int y, int w, int h, bool)
- void 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 )
- QRect comboButtonRect (int x, int y, int w, int h)
- QRect comboButtonFocusRect (int x, int y, int w, int h)
- int sliderLength () const
- void 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)
- void drawSlider (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient, bool tickAbove, bool tickBelow)
- void drawSliderMask (QPainter *p, int x, int y, int w, int h, Orientation orient, bool, bool)
- void drawKToolBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, KToolBarPos type, QBrush *fill=NULL)
- void drawKBarHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, KToolBarPos type, QBrush *fill=NULL)
- void drawKMenuBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool macMode, QBrush *fill=NULL)
- 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 icontext = Icon, const QString& btext=QString::null, const QPixmap *icon=NULL, QFont *font=NULL, QWidget *btn=NULL)
- void drawKMenuItem (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool active, QMenuItem *item, QBrush *fill=NULL)
- void 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)
- int popupMenuItemHeight (bool c, QMenuItem *mi, const QFontMetrics &fm)
- void drawKProgressBlock (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *fill)
- void drawFocusRect (QPainter *p, const QRect &r, const QColorGroup &g, const QColor *pen, bool atBorder)
- int defaultFrameWidth () const
- void polishPopupMenu (QPopupMenu *mnu)
- void drawTab (QPainter *p, const QTabBar *tabBar, QTab *tab, bool selected)
- void drawTabMask ( QPainter*, const QTabBar*, QTab*, bool selected )
- void tabbarMetrics (const QTabBar *t, int &hFrame, int &vFrame, int &overlap)
- void drawSplitter (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient)
- int splitterWidth () const
- void drawPanel (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken, int lineWidth, const QBrush *fill)
- void drawKickerAppletHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *)
- bool eventFilter (QObject *obj, QEvent *ev)
- void drawSBDeco (QPainter *p, const QRect &r, const QColorGroup &g, bool horiz)
- void drawSBButton (QPainter *p, const QRect &r, const QColorGroup &g, bool down=false)
- void kColorBitmaps (QPainter *p, const QColorGroup &g, int x, int y, QBitmap *lightColor=0, QBitmap *midColor=0, QBitmap *midlightColor=0, QBitmap *darkColor=0, QBitmap *blackColor=0, QBitmap *whiteColor=0)
- void polish (QApplication *a)
- void unPolish (QApplication *a)
Protected Methods
- KDEStyle ()
- ~KDEStyle ()
- virtual void polish (QWidget *w)
- virtual void unPolish (QWidget *w)
- virtual void polish (QPalette &p)
- void drawButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 )
- void drawButtonMask (QPainter *p, int x, int y, int w, int h)
- void drawComboButtonMask (QPainter *p, int x, int y, int w, int h)
- QRect buttonRect (int x, int y, int w, int h)
- void drawBevelButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 )
- void drawPushButton (QPushButton *btn, QPainter *p)
- virtual void drawPushButtonLabel (QPushButton *btn, QPainter *p)
- void drawScrollBarControls (QPainter*, const QScrollBar*, int sliderStart, uint controls, uint activeControl )
- QStyle::ScrollControl scrollBarPointOver (const QScrollBar *sb, int sliderStart, const QPoint &p)
- void scrollBarMetrics (const QScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim)
- QSize indicatorSize () const
- void drawIndicator (QPainter* p, int x, int y, int w, int h, const QColorGroup &g, int state, bool down = FALSE, bool enabled = TRUE )
- void drawIndicatorMask (QPainter *p, int x, int y, int w, int h, int)
- QSize exclusiveIndicatorSize () const
- void drawExclusiveIndicator (QPainter* p, int x, int y, int w, int h, const QColorGroup &g, bool on, bool down = FALSE, bool enabled = TRUE )
- void drawExclusiveIndicatorMask (QPainter *p, int x, int y, int w, int h, bool)
- void 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 )
- QRect comboButtonRect (int x, int y, int w, int h)
- QRect comboButtonFocusRect (int x, int y, int w, int h)
- int sliderLength () const
- void 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)
- void drawSlider (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient, bool tickAbove, bool tickBelow)
- void drawSliderMask (QPainter *p, int x, int y, int w, int h, Orientation orient, bool, bool)
- void drawKToolBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, KToolBarPos type, QBrush *fill=NULL)
- void drawKBarHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, KToolBarPos type, QBrush *fill=NULL)
- void drawKMenuBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool macMode, QBrush *fill=NULL)
- 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 icontext = Icon, const QString& btext=QString::null, const QPixmap *icon=NULL, QFont *font=NULL, QWidget *btn=NULL)
- void drawKMenuItem (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool active, QMenuItem *item, QBrush *fill=NULL)
- void 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)
- int popupMenuItemHeight (bool c, QMenuItem *mi, const QFontMetrics &fm)
- void drawKProgressBlock (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *fill)
- void drawFocusRect (QPainter *p, const QRect &r, const QColorGroup &g, const QColor *pen, bool atBorder)
- int defaultFrameWidth () const
- void polishPopupMenu (QPopupMenu *mnu)
- void drawTab (QPainter *p, const QTabBar *tabBar, QTab *tab, bool selected)
- void drawTabMask ( QPainter*, const QTabBar*, QTab*, bool selected )
- void tabbarMetrics (const QTabBar *t, int &hFrame, int &vFrame, int &overlap)
- void drawSplitter (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient)
- int splitterWidth () const
- void drawPanel (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken, int lineWidth, const QBrush *fill)
- void drawKickerAppletHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *)
- bool eventFilter (QObject *obj, QEvent *ev)
- void drawSBDeco (QPainter *p, const QRect &r, const QColorGroup &g, bool horiz)
- void drawSBButton (QPainter *p, const QRect &r, const QColorGroup &g, bool down=false)
- void kColorBitmaps (QPainter *p, const QColorGroup &g, int x, int y, QBitmap *lightColor=0, QBitmap *midColor=0, QBitmap *midlightColor=0, QBitmap *darkColor=0, QBitmap *blackColor=0, QBitmap *whiteColor=0)
- void polish (QApplication *a)
- void unPolish (QApplication *a)
[virtual]
[virtual]
[virtual]
| void drawButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 )
|
Reimplemented from QPlatinumStyle.
| void drawButtonMask (QPainter *p, int x, int y, int w, int h)
|
| void drawComboButtonMask (QPainter *p, int x, int y, int w, int h)
|
| QRect buttonRect (int x, int y, int w, int h)
|
Reimplemented from QPlatinumStyle.
| void drawBevelButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 )
|
Reimplemented from QPlatinumStyle.
Reimplemented from QPlatinumStyle.
[virtual]
Reimplemented from QPlatinumStyle.
| void drawScrollBarControls (QPainter*, const QScrollBar*, int sliderStart, uint controls, uint activeControl )
|
Reimplemented from QPlatinumStyle.
| QStyle::ScrollControl scrollBarPointOver (const QScrollBar *sb, int sliderStart, const QPoint &p)
|
| void scrollBarMetrics (const QScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim)
|
Reimplemented from QPlatinumStyle.
[const]
Reimplemented from QPlatinumStyle.
| void drawIndicator (QPainter* p, int x, int y, int w, int h, const QColorGroup &g, int state, bool down = FALSE, bool enabled = TRUE )
|
Reimplemented from QPlatinumStyle.
| void drawIndicatorMask (QPainter *p, int x, int y, int w, int h, int)
|
Reimplemented from QPlatinumStyle.
| QSize exclusiveIndicatorSize ()
|
[const]
Reimplemented from QPlatinumStyle.
| void drawExclusiveIndicator (QPainter* p, int x, int y, int w, int h, const QColorGroup &g, bool on, bool down = FALSE, bool enabled = TRUE )
|
Reimplemented from QPlatinumStyle.
| void drawExclusiveIndicatorMask (QPainter *p, int x, int y, int w, int h, bool)
|
| void 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 )
|
Reimplemented from QPlatinumStyle.
| QRect comboButtonRect (int x, int y, int w, int h)
|
Reimplemented from QPlatinumStyle.
| QRect comboButtonFocusRect (int x, int y, int w, int h)
|
Reimplemented from QPlatinumStyle.
[const]
Reimplemented from QPlatinumStyle.
| void 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)
|
| void drawSlider (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient, bool tickAbove, bool tickBelow)
|
Reimplemented from QPlatinumStyle.
| void drawSliderMask (QPainter *p, int x, int y, int w, int h, Orientation orient, bool, bool)
|
Reimplemented from QPlatinumStyle.
Reimplemented from KStyle.
Reimplemented from KStyle.
Reimplemented from KStyle.
| 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 icontext = Icon, const QString& btext=QString::null, const QPixmap *icon=NULL, QFont *font=NULL, QWidget *btn=NULL)
|
Reimplemented from KStyle.
Reimplemented from KStyle.
| void 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)
|
Reimplemented from QPlatinumStyle.
Reimplemented from QPlatinumStyle.
Reimplemented from KStyle.
[const]
Reimplemented from QPlatinumStyle.
| void tabbarMetrics (const QTabBar *t, int &hFrame, int &vFrame, int &overlap)
|
| void drawSplitter (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient)
|
[const]
| void drawPanel (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken, int lineWidth, const QBrush *fill)
|
Reimplemented from KStyle.
[protected:
]
[protected:
]
[protected:
]
| Generated by: masato@ss10 on Wed Apr 11 11:50:47 2001, using kdoc 2.0a48. |