summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kdeui/kthemestyle.sip
blob: d1136cf45bd0551bf4abcd491a7b05b51015afab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
//
//     Copyright 2003 Jim Bublitz <jbublitz@nwinternet.com>
//     Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson
//     may also apply


//                 Generated by preSip
//            module kdeui  version KDE_3_1_1


// This software is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation; either version 2 of
// the License, or (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this library; see the file COPYING.
// If not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


class KThemeStyle : KThemeBase
{
%TypeHeaderCode
#include <kthemestyle.h>
%End


public:
                         KThemeStyle (const QString& = QString::null);
    virtual void         polish (QWidget*);
    virtual void         unPolish (QWidget*);
    virtual void         polish (QApplication*);
    virtual void         unPolish (QApplication*);
    virtual void         polish (QPalette&);
    virtual void         drawBaseButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, WidgetType = Bevel, const QBrush* = 0);
    virtual void         drawBaseMask (QPainter*, int, int, int, int, bool);
    virtual void         drawButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0);
    virtual void         drawBevelButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0);
    virtual void         drawKToolBarButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const QString& = QString::null, const QPixmap* = 0, QFont* = 0, QWidget* = 0);
    void                 drawKBarHandle (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0);
    void                 drawKToolBar (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0);
    virtual QRect        buttonRect (int, int, int, int);
    virtual void         drawArrow (QPainter*, Qt::ArrowType, bool, int, int, int, int, const QColorGroup&, bool = 1, const QBrush* = 0);
    virtual QSize        exclusiveIndicatorSize () const;
    virtual void         drawExclusiveIndicator (QPainter*, int, int, int, int, const QColorGroup&, bool, bool = 0, bool = 1);
    virtual void         drawExclusiveIndicatorMask (QPainter*, int, int, int, int, bool);
    virtual void         drawIndicatorMask (QPainter*, int, int, int, int, int);
    virtual void         drawButtonMask (QPainter*, int, int, int, int);
    virtual void         drawComboButtonMask (QPainter*, int, int, int, int);
    virtual QSize        indicatorSize () const;
    virtual void         drawIndicator (QPainter*, int, int, int, int, const QColorGroup&, int, bool = 0, bool = 1);
    virtual void         drawComboButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, bool = 1, const QBrush* = 0);
    virtual void         drawPushButton (QPushButton*, QPainter*);
//ig     virtual void         getButtonShift (int&, int&);
    virtual int          defaultFrameWidth () const;
//ig     virtual void         scrollBarMetrics (const QScrollBar*, int&, int&, int&, int&);
    virtual void         drawScrollBarControls (QPainter*, const QScrollBar*, int, uint, uint);
    virtual ScrollControl scrollBarPointOver (const QScrollBar*, int, const QPoint&);
    virtual int          sliderLength () const;
    virtual void         drawSlider (QPainter*, int, int, int, int, const QColorGroup&, Orientation, bool, bool);
    void                 drawSliderGroove (QPainter*, int, int, int, int, const QColorGroup&, QCOORD, Orientation);
    virtual void         drawSliderMask (QPainter*, int, int, int, int, Orientation, bool, bool);
    virtual void         drawScrollBarGroove (QPainter*, const QScrollBar*, bool, QRect, QColorGroup);
    virtual void         drawShade (QPainter*, int, int, int, int, const QColorGroup&, bool, bool, int, int, ShadeStyle);
    virtual void         drawPushButtonLabel (QPushButton*, QPainter*);
    void                 drawKMenuBar (QPainter*, int, int, int, int, const QColorGroup&, bool, QBrush* = 0);
//ig     virtual void         drawKMenuItem (QPainter*, int, int, int, int, const QColorGroup&, bool, QMenuItem*, QBrush* = 0);
    virtual int          splitterWidth () const;
    virtual void         drawSplitter (QPainter*, int, int, int, int, const QColorGroup&, Orientation);
    virtual void         drawCheckMark (QPainter*, int, int, int, int, const QColorGroup&, bool, bool);
//ig     virtual void         drawPopupMenuItem (QPainter*, bool, int, int, QMenuItem*, const QPalette&, bool, bool, int, int, int, int);
//ig     int                  popupMenuItemHeight (bool, QMenuItem*, const QFontMetrics&);
    void                 drawFocusRect (QPainter*, const QRect&, const QColorGroup&, const QColor* = 0, bool = 0);
    virtual void         drawKProgressBlock (QPainter*, int, int, int, int, const QColorGroup&, QBrush*);
    virtual void         getKProgressBackground (const QColorGroup&, QBrush&);
//ig     virtual void         tabbarMetrics (const QTabBar*, int&, int&, int&);
    virtual void         drawTab (QPainter*, const QTabBar*, QTab*, bool);
    virtual void         drawTabMask (QPainter*, const QTabBar*, QTab*, bool);

protected:

};  // class KThemeStyle