summaryrefslogtreecommitdiff
path: root/noncore/styles/webstyle.h
authorzecke <zecke>2004-08-02 18:42:28 (UTC)
committer zecke <zecke>2004-08-02 18:42:28 (UTC)
commit9ba3974b263543898b54de060e88c5acc920c6f8 (patch) (side-by-side diff)
tree6b9e141fad4ffee9c8de65f4c033dac63cbf3197 /noncore/styles/webstyle.h
parent4d0a9fc4a21e7a7242e466f8eec1dc61d173800d (diff)
downloadopie-9ba3974b263543898b54de060e88c5acc920c6f8.zip
opie-9ba3974b263543898b54de060e88c5acc920c6f8.tar.gz
opie-9ba3974b263543898b54de060e88c5acc920c6f8.tar.bz2
Remove wrong import and I'm doing now the following
(\call -> system("man cvs")[ x | x <- [1..] ] (haskell code)
Diffstat (limited to 'noncore/styles/webstyle.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/webstyle.h299
1 files changed, 0 insertions, 299 deletions
diff --git a/noncore/styles/webstyle.h b/noncore/styles/webstyle.h
deleted file mode 100644
index 83ab784..0000000
--- a/noncore/styles/webstyle.h
+++ b/dev/null
@@ -1,299 +0,0 @@
-/*
- * Copyright (C) 2001 Rik Hemsley (rikkus) <rik@kde.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#ifndef WEB_STYLE_H
-#define WEB_STYLE_H
-
-#include <qstyle.h>
-#include <qwindowsstyle.h>
-#include <qpalette.h>
-
-class QPainter;
-class QScrollBar;
-class QPushButton;
-class QWidget;
-
-class WebStyle : public QWindowsStyle {
- public:
-
- WebStyle();
-
- ~WebStyle();
-
- void polish(QApplication *);
-
- void unPolish(QWidget *);
-
- void polish(QWidget *);
-
- void polish(QPalette &);
-
- void unPolish(QApplication *);
-
- void drawButton
- (
- QPainter * p,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup & g,
- bool sunken = false,
- const QBrush * fill = 0
- );
-
- QRect buttonRect(int x, int y, int w, int h);
-
- void drawBevelButton
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- bool sunken = false,
- const QBrush * fill = 0
- );
-
- void drawPushButton(QPushButton *, QPainter *);
-
- virtual void drawPushButtonLabel(QPushButton *, QPainter *);
-
- void drawScrollBarControls
- (
- QPainter *,
- const QScrollBar *,
- int sliderStart,
- uint controls,
- uint activeControl
- );
-
- QStyle::ScrollControl scrollBarPointOver
- (
- const QScrollBar *,
- int sliderStart,
- const QPoint &
- );
-
- void scrollBarMetrics
- (
- const QScrollBar *,
- int & sliderMin,
- int & sliderMax,
- int & sliderLength,
- int & buttonDim
- );
-
- QSize indicatorSize() const;
-
- void drawIndicator
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- int state,
- bool down = false,
- bool enabled = true
- );
-
- QSize exclusiveIndicatorSize() const;
-
- void drawExclusiveIndicator
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- bool on,
- bool down = false,
- bool enabled = true
- );
-
- void drawIndicatorMask
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- int state
- );
-
- void drawExclusiveIndicatorMask
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- bool on
- );
-
- void drawComboButton
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- bool sunken = false,
- bool editable = false,
- bool enabled = true,
- const QBrush * fill = 0
- );
-
- QRect comboButtonRect(int x, int y, int w, int h);
-
- QRect comboButtonFocusRect(int x, int y, int w, int h);
-
- int sliderLength() const;
-
- void drawSliderGroove
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- QCOORD,
- Orientation
- );
-
- void drawArrow
- (
- QPainter *,
- Qt::ArrowType,
- bool down,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- bool enabled = true,
- const QBrush * fill = 0
- );
-
- void drawSlider
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- Orientation,
- bool tickAbove,
- bool tickBelow
- );
-
- void drawPopupMenuItem
- (
- QPainter *,
- bool checkable,
- int maxpmw,
- int tab,
- QMenuItem *,
- const QPalette &,
- bool act,
- bool enabled,
- int x,
- int y,
- int w,
- int h
- );
-
- void drawFocusRect
- (
- QPainter *,
- const QRect &,
- const QColorGroup &,
- const QColor * pen,
- bool atBorder
- );
-
- void drawPanel
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- bool sunken,
- int lineWidth = 1,
- const QBrush * = 0
- );
-
- void drawPopupPanel
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- int lineWidth = 2,
- const QBrush * = 0
- );
-
- void drawSeparator
- (
- QPainter *,
- int x,
- int y,
- int w,
- int h,
- const QColorGroup &,
- bool sunken = true,
- int lineWidth = 1,
- int midLineWidth = 0
- );
-
- void drawTab
- (
- QPainter * p,
- const QTabBar * tabBar,
- QTab * tab,
- bool selected
- );
-
- void drawTabMask
- (
- QPainter * p,
- const QTabBar *,
- QTab * tab,
- bool
- );
-
- int popupMenuItemHeight(bool, QMenuItem *, const QFontMetrics &);
-
- GUIStyle guiStyle() const { return Qt::MotifStyle; }
-
- bool eventFilter(QObject *, QEvent *);
-};
-
-#endif