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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
//
// Copyright 2003 Jim Bublitz <jbublitz@nwinternet.com>
// Earlier copyrights 1998 - 2002 Jim Bublitz and/or Phil Thompson
// may also apply
// Generated by preSip
// module tdecore 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 KDEAniMenu : QObject
{
%TypeHeaderCode
#include <kdestyle.h>
%End
public:
KDEAniMenu (QPopupMenu*);
protected:
void scrollIn ();
protected slots:
void slotDestroyFake ();
void slotFinished ();
}; // class KDEAniMenu
class KDEStyle : KStyle
{
%TypeHeaderCode
#include <kdestyle.h>
%End
public:
KDEStyle ();
virtual void polish (QWidget*);
virtual void unPolish (QWidget*);
virtual void polish (QPalette&);
void drawButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0);
void drawButtonMask (QPainter*, int, int, int, int);
void drawComboButtonMask (QPainter*, int, int, int, int);
QRect buttonRect (int, int, int, int);
void drawBevelButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, const QBrush* = 0);
void drawPushButton (QPushButton*, QPainter*);
virtual void drawPushButtonLabel (QPushButton*, QPainter*);
void drawScrollBarControls (QPainter*, const QScrollBar*, int, uint, uint);
QStyle::ScrollControl scrollBarPointOver (const QScrollBar*, int, const QPoint&);
void scrollBarMetrics (const QScrollBar*, int&/Out/, int&/Out/, int&/Out/, int&/Out/);
QSize indicatorSize () const;
void drawIndicator (QPainter*, int, int, int, int, const QColorGroup&, int, bool = 0, bool = 1);
void drawIndicatorMask (QPainter*, int, int, int, int, int);
QSize exclusiveIndicatorSize () const;
void drawExclusiveIndicator (QPainter*, int, int, int, int, const QColorGroup&, bool, bool = 0, bool = 1);
void drawExclusiveIndicatorMask (QPainter*, int, int, int, int, bool);
void drawComboButton (QPainter*, int, int, int, int, const QColorGroup&, bool = 0, bool = 0, bool = 1, const QBrush* = 0);
QRect comboButtonRect (int, int, int, int);
QRect comboButtonFocusRect (int, int, int, int);
int sliderLength () const;
void drawArrow (QPainter*, Qt::ArrowType, bool, int, int, int, int, const QColorGroup&, bool = 1, const QBrush* = 0);
void drawSlider (QPainter*, int, int, int, int, const QColorGroup&, Orientation, bool, bool);
void drawSliderMask (QPainter*, int, int, int, int, Orientation, bool, bool);
void drawKToolBar (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0);
void drawKBarHandle (QPainter*, int, int, int, int, const QColorGroup&, KToolBarPos, QBrush* = 0);
void drawKMenuBar (QPainter*, int, int, int, int, const QColorGroup&, bool, QBrush* = 0);
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);
//ig void drawKMenuItem (QPainter*, int, int, int, int, const QColorGroup&, bool, QMenuItem*, QBrush* = 0);
//ig void drawPopupMenuItem (QPainter*, bool, int, int, QMenuItem*, const QPalette&, bool, bool, int, int, int, int);
//ig int popupMenuItemHeight (bool, QMenuItem*, const QFontMetrics&);
void drawKProgressBlock (QPainter*, int, int, int, int, const QColorGroup&, QBrush*);
void drawFocusRect (QPainter*, const QRect&, const QColorGroup&, const QColor*, bool);
int defaultFrameWidth () const;
void polishPopupMenu (QPopupMenu*);
void drawTab (QPainter*, const QTabBar*, QTab*, bool);
void drawTabMask (QPainter*, const QTabBar*, QTab*, bool);
void tabbarMetrics (const QTabBar*, int&/Out/, int&/Out/, int&/Out/);
void drawSplitter (QPainter*, int, int, int, int, const QColorGroup&, Orientation);
int splitterWidth () const;
void drawPanel (QPainter*, int, int, int, int, const QColorGroup&, bool, int, const QBrush*);
void drawKickerAppletHandle (QPainter*, int, int, int, int, const QColorGroup&, QBrush*);
bool eventFilter (QObject*, QEvent*);
protected:
void drawSBDeco (QPainter*, const QRect&, const QColorGroup&, bool);
void drawSBButton (QPainter*, const QRect&, const QColorGroup&, bool = 0);
void kColorBitmaps (QPainter*, const QColorGroup&, int, int, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0, QBitmap* = 0);
}; // class KDEStyle
|