summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kdecore/kdestyle.sip
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/sip/kdecore/kdestyle.sip')
-rw-r--r--python/pykde/sip/kdecore/kdestyle.sip108
1 files changed, 108 insertions, 0 deletions
diff --git a/python/pykde/sip/kdecore/kdestyle.sip b/python/pykde/sip/kdecore/kdestyle.sip
new file mode 100644
index 00000000..673bf382
--- /dev/null
+++ b/python/pykde/sip/kdecore/kdestyle.sip
@@ -0,0 +1,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 kdecore 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.,
+// 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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
+