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 : TQObject
{
%TypeHeaderCode
#include <kdestyle.h>
%End
public:
KDEAniMenu (TQPopupMenu*);
protected:
void scrollIn ();
protected slots:
void slotDestroyFake ();
void slotFinished ();
}; // class KDEAniMenu
class KDEStyle : KStyle
{
%TypeHeaderCode
#include <kdestyle.h>
%End
public:
KDEStyle ();
virtual void polish (TQWidget*);
virtual void unPolish (TQWidget*);
virtual void polish (TQPalette&);
void drawButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
void drawButtonMask (TQPainter*, int, int, int, int);
void drawComboButtonMask (TQPainter*, int, int, int, int);
TQRect buttonRect (int, int, int, int);
void drawBevelButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
void drawPushButton (TQPushButton*, TQPainter*);
virtual void drawPushButtonLabel (TQPushButton*, TQPainter*);
void drawScrollBarControls (TQPainter*, const TQScrollBar*, int, uint, uint);
TQStyle::ScrollControl scrollBarPointOver (const TQScrollBar*, int, const TQPoint&);
void scrollBarMetrics (const TQScrollBar*, int&/Out/, int&/Out/, int&/Out/, int&/Out/);
TQSize indicatorSize () const;
void drawIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, int, bool = 0, bool = 1);
void drawIndicatorMask (TQPainter*, int, int, int, int, int);
TQSize exclusiveIndicatorSize () const;
void drawExclusiveIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool = 0, bool = 1);
void drawExclusiveIndicatorMask (TQPainter*, int, int, int, int, bool);
void drawComboButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, bool = 1, const TQBrush* = 0);
TQRect comboButtonRect (int, int, int, int);
TQRect comboButtonFocusRect (int, int, int, int);
int sliderLength () const;
void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0);
void drawSlider (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation, bool, bool);
void drawSliderMask (TQPainter*, int, int, int, int, Orientation, bool, bool);
void drawTDEToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, TDEToolBarPos, TQBrush* = 0);
void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, TDEToolBarPos, TQBrush* = 0);
void drawKMenuBar (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQBrush* = 0);
void drawTDEToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, TDEToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0);
//ig void drawKMenuItem (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQMenuItem*, TQBrush* = 0);
//ig void drawPopupMenuItem (TQPainter*, bool, int, int, TQMenuItem*, const TQPalette&, bool, bool, int, int, int, int);
//ig int popupMenuItemHeight (bool, TQMenuItem*, const TQFontMetrics&);
void drawKProgressBlock (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*);
void drawFocusRect (TQPainter*, const TQRect&, const TQColorGroup&, const TQColor*, bool);
int defaultFrameWidth () const;
void polishPopupMenu (TQPopupMenu*);
void drawTab (TQPainter*, const TQTabBar*, TQTab*, bool);
void drawTabMask (TQPainter*, const TQTabBar*, TQTab*, bool);
void tabbarMetrics (const TQTabBar*, int&/Out/, int&/Out/, int&/Out/);
void drawSplitter (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation);
int splitterWidth () const;
void drawPanel (TQPainter*, int, int, int, int, const TQColorGroup&, bool, int, const TQBrush*);
void drawKickerAppletHandle (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*);
bool eventFilter (TQObject*, TQEvent*);
protected:
void drawSBDeco (TQPainter*, const TQRect&, const TQColorGroup&, bool);
void drawSBButton (TQPainter*, const TQRect&, const TQColorGroup&, bool = 0);
void kColorBitmaps (TQPainter*, const TQColorGroup&, int, int, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0, TQBitmap* = 0);
}; // class KDEStyle
|