You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
5.9 KiB
109 lines
5.9 KiB
//
|
|
// 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
|
|
|