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.
90 lines
5.7 KiB
90 lines
5.7 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 tdeui 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 TQString& = TQString::null);
|
|
virtual void polish (TQWidget*);
|
|
virtual void unPolish (TQWidget*);
|
|
virtual void polish (TQApplication*);
|
|
virtual void unPolish (TQApplication*);
|
|
virtual void polish (TQPalette&);
|
|
virtual void drawBaseButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, WidgetType = Bevel, const TQBrush* = 0);
|
|
virtual void drawBaseMask (TQPainter*, int, int, int, int, bool);
|
|
virtual void drawButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
|
|
virtual void drawBevelButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0);
|
|
virtual void drawKToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0);
|
|
void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0);
|
|
void drawKToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0);
|
|
virtual TQRect buttonRect (int, int, int, int);
|
|
virtual void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0);
|
|
virtual TQSize exclusiveIndicatorSize () const;
|
|
virtual void drawExclusiveIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool = 0, bool = 1);
|
|
virtual void drawExclusiveIndicatorMask (TQPainter*, int, int, int, int, bool);
|
|
virtual void drawIndicatorMask (TQPainter*, int, int, int, int, int);
|
|
virtual void drawButtonMask (TQPainter*, int, int, int, int);
|
|
virtual void drawComboButtonMask (TQPainter*, int, int, int, int);
|
|
virtual TQSize indicatorSize () const;
|
|
virtual void drawIndicator (TQPainter*, int, int, int, int, const TQColorGroup&, int, bool = 0, bool = 1);
|
|
virtual void drawComboButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 0, bool = 1, const TQBrush* = 0);
|
|
virtual void drawPushButton (TQPushButton*, TQPainter*);
|
|
//ig virtual void getButtonShift (int&, int&);
|
|
virtual int defaultFrameWidth () const;
|
|
//ig virtual void scrollBarMetrics (const TQScrollBar*, int&, int&, int&, int&);
|
|
virtual void drawScrollBarControls (TQPainter*, const TQScrollBar*, int, uint, uint);
|
|
virtual ScrollControl scrollBarPointOver (const TQScrollBar*, int, const TQPoint&);
|
|
virtual int sliderLength () const;
|
|
virtual void drawSlider (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation, bool, bool);
|
|
void drawSliderGroove (TQPainter*, int, int, int, int, const TQColorGroup&, TQCOORD, Orientation);
|
|
virtual void drawSliderMask (TQPainter*, int, int, int, int, Orientation, bool, bool);
|
|
virtual void drawScrollBarGroove (TQPainter*, const TQScrollBar*, bool, TQRect, TQColorGroup);
|
|
virtual void drawShade (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool, int, int, ShadeStyle);
|
|
virtual void drawPushButtonLabel (TQPushButton*, TQPainter*);
|
|
void drawKMenuBar (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQBrush* = 0);
|
|
//ig virtual void drawKMenuItem (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQMenuItem*, TQBrush* = 0);
|
|
virtual int splitterWidth () const;
|
|
virtual void drawSplitter (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation);
|
|
virtual void drawCheckMark (TQPainter*, int, int, int, int, const TQColorGroup&, bool, bool);
|
|
//ig virtual void drawPopupMenuItem (TQPainter*, bool, int, int, TQMenuItem*, const TQPalette&, bool, bool, int, int, int, int);
|
|
//ig int popupMenuItemHeight (bool, TQMenuItem*, const TQFontMetrics&);
|
|
void drawFocusRect (TQPainter*, const TQRect&, const TQColorGroup&, const TQColor* = 0, bool = 0);
|
|
virtual void drawKProgressBlock (TQPainter*, int, int, int, int, const TQColorGroup&, TQBrush*);
|
|
virtual void getKProgressBackground (const TQColorGroup&, TQBrush&);
|
|
//ig virtual void tabbarMetrics (const TQTabBar*, int&, int&, int&);
|
|
virtual void drawTab (TQPainter*, const TQTabBar*, TQTab*, bool);
|
|
virtual void drawTabMask (TQPainter*, const TQTabBar*, TQTab*, bool);
|
|
|
|
protected:
|
|
|
|
}; // class KThemeStyle
|
|
|