#include </home/clem/local/src/opie/noncore/styles/liquid/liquid.h>
Collaboration diagram for LiquidStyle:

Public Member Functions | |
| LiquidStyle () | |
| ~LiquidStyle () | |
| virtual void | polish (QWidget *w) |
| virtual void | unPolish (QWidget *w) |
| virtual void | polish (QApplication *a) |
| virtual void | unPolish (QApplication *a) |
| virtual void | polish (QPalette &p) |
| void | drawButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=FALSE, const QBrush *fill=0) |
| void | drawButtonMask (QPainter *p, int x, int y, int w, int h) |
| void | drawComboButtonMask (QPainter *p, int x, int y, int w, int h) |
| QRect | buttonRect (int x, int y, int w, int h) |
| void | drawBevelButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=FALSE, const QBrush *fill=0) |
| void | drawPushButton (QPushButton *btn, QPainter *p) |
| virtual void | drawPushButtonLabel (QPushButton *btn, QPainter *p) |
| void | drawScrollBarControls (QPainter *, const QScrollBar *, int sliderStart, uint controls, uint activeControl) |
| QStyle::ScrollControl | scrollBarPointOver (const QScrollBar *sb, int sliderStart, const QPoint &p) |
| void | scrollBarMetrics (const QScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim) |
| QSize | indicatorSize () const |
| void | drawIndicator (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, int state, bool down=FALSE, bool enabled=TRUE) |
| void | drawIndicatorMask (QPainter *p, int x, int y, int w, int h, int) |
| QSize | exclusiveIndicatorSize () const |
| void | drawExclusiveIndicator (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool on, bool down=FALSE, bool enabled=TRUE) |
| void | drawExclusiveIndicatorMask (QPainter *p, int x, int y, int w, int h, bool) |
| void | drawComboButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, 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 | drawArrow (QPainter *p, Qt::ArrowType type, bool down, int x, int y, int w, int h, const QColorGroup &g, bool enabled=true, const QBrush *fill=0) |
| void | drawSlider (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient, bool tickAbove, bool tickBelow) |
| void | drawSliderMask (QPainter *p, int x, int y, int w, int h, Orientation orient, bool, bool) |
| void | drawMenuBarItem (QPainter *p, int x, int y, int w, int h, QMenuItem *mi, QColorGroup &g, bool enabled, bool active) |
| void | drawPopupMenuItem (QPainter *p, bool checkable, int maxpmw, int tab, QMenuItem *mi, const QPalette &pal, bool act, bool enabled, int x, int y, int w, int h) |
| int | popupMenuItemHeight (bool c, QMenuItem *mi, const QFontMetrics &fm) |
| void | drawFocusRect (QPainter *p, const QRect &r, const QColorGroup &g, const QColor *pen, bool atBorder) |
| int | defaultFrameWidth () const |
| void | polishPopupMenu (QPopupMenu *mnu) |
| void | drawTab (QPainter *p, const QTabBar *tabBar, QTab *tab, bool selected) |
| void | drawTabMask (QPainter *, const QTabBar *, QTab *, bool selected) |
| void | tabbarMetrics (const QTabBar *t, int &hFrame, int &vFrame, int &overlap) |
| void | drawSplitter (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation orient) |
| int | splitterWidth () const |
| void | drawPanel (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken, int lineWidth, const QBrush *fill) |
| void | drawToolButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken, const QBrush *fill) |
| bool | eventFilter (QObject *obj, QEvent *ev) |
| void | drawSliderGroove (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QCOORD c, Orientation) |
| void | drawSliderGrooveMask (QPainter *p, int x, int y, int w, int h, QCOORD c, Orientation) |
| int | buttonDefaultIndicatorWidth () const |
| void | drawPopupPanel (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, int lineWidth, const QBrush *fill) |
Protected Member Functions | |
| void | adjustHSV (QPixmap &pix, int h, int s, int v) |
| void | intensity (QPixmap &pix, float percent) |
| void | drawRoundButton (QPainter *p, const QColor &c, const QColor &bg, int x, int y, int w, int h, bool supportPushDown=false, bool pushedDown=false, bool autoDefault=false, bool isMasked=false) |
| void | drawClearBevel (QPainter *p, int x, int y, int w, int h, const QColor &c, const QColor &bg) |
| void | drawSBDeco (QPainter *p, const QRect &r, const QColorGroup &g, bool horiz) |
| void | drawSBButton (QPainter *p, const QRect &r, const QColorGroup &g, bool down=false, bool fast=true) |
| void | drawRoundRect (QPainter *p, int x, int y, int w, int h) |
| QPixmap * | getPixmap (BitmapData item) |
| QPixmap * | processEmbedded (const char *label, int h, int s, int v, bool blend=false) |
Private Attributes | |
| bool | flatTBButtons |
| QWidget * | highlightWidget |
| QBitmap | btnMaskBmp |
| QBitmap | htmlBtnMaskBmp |
| QPixmap * | btnBorderPix |
| QPixmap * | btnBlendPix |
| QPixmap * | bevelFillPix |
| QPixmap * | smallBevelFillPix |
| QPixmap * | menuPix |
| QBrush | bgBrush |
| QBrush | menuBrush |
| bool | menuAni |
| bool | menuFade |
| QIntDict< QPixmap > | btnDict |
| QIntDict< QPixmap > | btnBorderDict |
| QIntDict< QPixmap > | bevelFillDict |
| QIntDict< QPixmap > | smallBevelFillDict |
| QPixmap * | vsbSliderFillPix |
| TransMenuHandler * | menuHandler |
| QPixmap * | pixmaps [BITMAP_ITEMS] |
| QPixmap | sbBuffer |
| int | oldSliderThickness |
| int | lowLightVal |
| QHeader * | currentHeader |
| int | headerHoverID |
| QWMatrix | rMatrix |
| int | bH |
| int | bS |
| int | bV |
| int | bHoverH |
| int | bHoverS |
| int | bHoverV |
| int | btnH |
| int | btnS |
| int | btnV |
| int | btnHoverH |
| int | btnHoverS |
| int | btnHoverV |
Friends | |
| class | TransMenuHandler |
|
|
Definition at line 178 of file liquid.cpp. References bevelFillDict, bevelFillPix, BITMAP_ITEMS, btnBlendPix, btnBorderPix, btnDict, btnMaskBmp, buttonmask_bits, currentHeader, flatTBButtons, headerHoverID, highlightWidget, htmlBtnMaskBmp, htmlbuttonmask_bits, i, menuHandler, menuPix, NULL, oldSliderThickness, pixmaps, qembed_findImage(), rMatrix, QPtrCollection::setAutoDelete(), smallBevelFillDict, smallBevelFillPix, TransMenuHandler, and vsbSliderFillPix. |
|
|
Definition at line 218 of file liquid.cpp. References bevelFillPix, BITMAP_ITEMS, btnBlendPix, btnBorderPix, i, menuPix, oldSliderThickness, pixmaps, smallBevelFillPix, and vsbSliderFillPix. |
|
||||||||||||||||||||
|
Definition at line 2457 of file liquid.cpp. References data, intensity(), and NULL. Referenced by drawClearBevel(), drawPushButton(), drawRoundButton(), drawSBButton(), drawToolButton(), eventFilter(), and polish(). |
|
|
|
|
||||||||||||||||||||
|
Definition at line 1397 of file liquid.cpp. |
|
||||||||||||||||||||
|
Definition at line 1482 of file liquid.cpp. |
|
||||||||||||||||||||
|
Definition at line 1476 of file liquid.cpp. |
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1945 of file liquid.cpp. References Qt::DownArrow, Qt::LeftArrow, QCOORDARRLEN, and Qt::UpArrow. Referenced by drawComboButton(), drawPopupMenuItem(), and drawScrollBarControls(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1381 of file liquid.cpp. References currentHeader, drawClearBevel(), and headerHoverID. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1212 of file liquid.cpp. References drawRoundButton(). |
|
||||||||||||||||||||||||
|
Definition at line 1348 of file liquid.cpp. References Qt::color0, Qt::color1, and htmlBtnMaskBmp. Referenced by drawComboButtonMask(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 242 of file liquid.cpp. References adjustHSV(), bevelFillDict, bevelFillPix, QIntDict< type >::find(), QIntDict< type >::insert(), pix, s, smallBevelFillDict, smallBevelFillPix, and v. Referenced by drawBevelButton(), drawMenuBarItem(), drawPopupMenuItem(), drawRoundButton(), drawSplitter(), and drawToolButton(). |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1402 of file liquid.cpp. References btnMaskBmp, Qt::color0, Qt::color1, device, drawArrow(), drawRoundButton(), htmlBtnMaskBmp, p, qApp, and QInternal::Widget. |
|
||||||||||||||||||||||||
|
Definition at line 1471 of file liquid.cpp. References drawButtonMask(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1830 of file liquid.cpp. References device, getPixmap(), HTMLRadio, HTMLRadioDown, HTMLRadioDownHover, HTMLRadioHover, qApp, RadioOff, RadioOffHover, RadioOn, RadioOnHover, and QInternal::Widget. Referenced by eventFilter(). |
|
||||||||||||||||||||||||||||
|
Definition at line 1859 of file liquid.cpp. References Qt::color0, Qt::color1, getPixmap(), and RadioOn. |
|
||||||||||||||||||||||||
|
Definition at line 2258 of file liquid.cpp. References QInternal::Widget. |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1873 of file liquid.cpp. References CB, CBDown, CBDownHover, CBHover, device, getPixmap(), HTMLCB, HTMLCBDown, HTMLCBDownHover, HTMLCBHover, Off, qApp, and QInternal::Widget. Referenced by eventFilter(). |
|
||||||||||||||||||||||||||||
|
Definition at line 1912 of file liquid.cpp. References getPixmap(), and HTMLCB. |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1981 of file liquid.cpp. References drawClearBevel(), menuHandler, size, TransMenuHandler::useShadowText(), and QInternal::Widget. Referenced by polish(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 2414 of file liquid.cpp. References QInternal::Widget. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 2047 of file liquid.cpp. References TransMenuHandler::bgColor(), menuHandler, None, StippledBg, StippledBtn, TransStippleBg, TransStippleBtn, and TransMenuHandler::transType(). |
|
||||||||||||
|
Definition at line 1252 of file liquid.cpp. References adjustHSV(), bevelFillDict, bevelFillPix, drawRoundButton(), QIntDict< type >::find(), g, highlightWidget, QIntDict< type >::insert(), pix, s, and v. |
|
||||||||||||
|
Definition at line 1287 of file liquid.cpp. References Disabled, and Dasher::Opts::Normal. |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 334 of file liquid.cpp. References adjustHSV(), bitBlt(), btnBlendPix, btnBorderDict, btnBorderPix, btnDict, btnMaskBmp, Qt::color0, Qt::color1, drawClearBevel(), QIntDict< type >::find(), getPixmap(), HTMLBtnBorder, HTMLBtnBorderDown, htmlBtnMaskBmp, hue, QIntDict< type >::insert(), p, pix, s, sat, and v. Referenced by drawButton(), drawComboButton(), and drawPushButton(). |
|
||||||||||||||||||||||||
|
Definition at line 2546 of file liquid.cpp. Referenced by drawScrollBarControls(). |
|
||||||||||||||||||||||||
|
Definition at line 1708 of file liquid.cpp. References adjustHSV(), bevelFillDict, bevelFillPix, QIntDict< type >::find(), QIntDict< type >::insert(), pix, s, and v. Referenced by drawScrollBarControls(). |
|
||||||||||||||||||||
|
Definition at line 1726 of file liquid.cpp. References Opie::MM::x, and Opie::MM::y. |
|
||||||||||||||||||||||||
|
Definition at line 1489 of file liquid.cpp. References drawArrow(), drawRoundRect(), drawSBButton(), g, getPixmap(), HSBSliderBtm, HSBSliderBtmBg, HSBSliderMid, HSBSliderMidBg, HSBSliderTop, HSBSliderTopBg, len, sbBuffer, scrollBarMetrics(), sliderLength(), VSBSliderBtm, VSBSliderBtmBg, vsbSliderFillPix, VSBSliderMid, VSBSliderMidBg, VSBSliderTop, and VSBSliderTopBg. |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1920 of file liquid.cpp. References getPixmap(), Qt::Horizontal, HSlider, and VSlider. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 2556 of file liquid.cpp. References Qt::Horizontal. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 2598 of file liquid.cpp. References Qt::color0, Qt::color1, and Qt::Horizontal. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1931 of file liquid.cpp. References getPixmap(), Qt::Horizontal, HSlider, and VSlider. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 2406 of file liquid.cpp. References drawClearBevel(), and highlightWidget. |
|
||||||||||||||||||||
|
Definition at line 2284 of file liquid.cpp. References bitBlt(), getPixmap(), pix, Tab, and TabDown. |
|
||||||||||||||||||||
|
Definition at line 2379 of file liquid.cpp. References Qt::color1, getPixmap(), pix, Tab, and TabDown. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1220 of file liquid.cpp. References adjustHSV(), bevelFillDict, bevelFillPix, drawClearBevel(), QIntDict< type >::find(), highlightWidget, QIntDict< type >::insert(), pix, s, v, and QInternal::Widget. |
|
||||||||||||
|
Definition at line 1084 of file liquid.cpp. References adjustHSV(), bevelFillDict, bevelFillPix, currentHeader, drawExclusiveIndicator(), drawIndicator(), exclusiveIndicatorSize(), false, QIntDict< type >::find(), g, headerHoverID, highlightWidget, indicatorSize(), QIntDict< type >::insert(), NULL, p, pix, s, v, Opie::MM::x, and Opie::MM::y. |
|
|
Definition at line 1825 of file liquid.cpp. Referenced by eventFilter(). |
|
|
Definition at line 544 of file liquid.cpp. References bH, bS, btnH, btnHoverH, btnHoverS, btnHoverV, btnS, btnV, bV, CB, CBDown, CBDownHover, CBHover, HSBSliderBtm, HSBSliderBtmBg, HSBSliderBtmHover, HSBSliderMid, HSBSliderMidBg, HSBSliderMidHover, HSBSliderTop, HSBSliderTopBg, HSBSliderTopHover, HSlider, HTMLBtnBorder, HTMLBtnBorderDown, HTMLCB, HTMLCBDown, HTMLCBDownHover, HTMLCBHover, HTMLRadio, HTMLRadioDown, HTMLRadioDownHover, HTMLRadioHover, pixmaps, processEmbedded(), RadioOff, RadioOffHover, RadioOn, RadioOnHover, rMatrix, Tab, TabDown, TabFocus, VSBSliderBtm, VSBSliderBtmBg, VSBSliderBtmHover, VSBSliderMid, VSBSliderMidBg, VSBSliderMidHover, VSBSliderTop, VSBSliderTopBg, VSBSliderTopHover, and VSlider. Referenced by drawExclusiveIndicator(), drawExclusiveIndicatorMask(), drawIndicator(), drawIndicatorMask(), drawRoundButton(), drawScrollBarControls(), drawSlider(), drawSliderMask(), drawTab(), and drawTabMask(). |
|
|
Definition at line 1868 of file liquid.cpp. Referenced by eventFilter(). |
|
||||||||||||
|
Definition at line 2488 of file liquid.cpp. References data, g, i, and image. Referenced by adjustHSV(), and processEmbedded(). |
|
|
Definition at line 682 of file liquid.cpp. References adjustHSV(), bevelFillDict, bevelFillPix, bgBrush, bH, bHoverH, bHoverS, bHoverV, BITMAP_ITEMS, bS, btnBorderDict, btnDict, btnH, btnHoverH, btnHoverS, btnHoverV, btnS, btnV, bV, QIntDict< type >::clear(), contrast, QIntDict< type >::find(), i, QIntDict< type >::insert(), lowLightVal, menuBrush, menuPix, NULL, pix, pixmaps, rMatrix, s, smallBevelFillDict, smallBevelFillPix, v, and vsbSliderFillPix. |
|
|
Definition at line 952 of file liquid.cpp. References drawMenuBarItem(), flatTBButtons, menuAni, menuFade, and qt_set_draw_menu_bar_impl(). |
|
|
Definition at line 788 of file liquid.cpp. References flatTBButtons, menuHandler, name, oendl, owarn, qstrcmp(), and Qt::WType_Popup. |
|
|
Definition at line 2278 of file liquid.cpp. References menuHandler. |
|
||||||||||||||||
|
Definition at line 2236 of file liquid.cpp. |
|
||||||||||||||||||||||||
|
Definition at line 496 of file liquid.cpp. References alpha, bH, bS, bV, data, intensity(), NULL, oendl, owarn, pix, and qembed_findImage(). Referenced by getPixmap(). |
|
||||||||||||||||||||||||
|
Definition at line 1765 of file liquid.cpp. References range. Referenced by drawScrollBarControls(), and scrollBarPointOver(). |
|
||||||||||||||||
|
Definition at line 1799 of file liquid.cpp. References pos, scrollBarMetrics(), and sliderLength(). |
|
|
Definition at line 1938 of file liquid.cpp. Referenced by drawScrollBarControls(), and scrollBarPointOver(). |
|
|
|
|
||||||||||||||||||||
|
Definition at line 2392 of file liquid.cpp. |
|
|
Definition at line 974 of file liquid.cpp. References menuAni, menuFade, and qt_set_draw_menu_bar_impl(). |
|
|
Definition at line 890 of file liquid.cpp. References menuHandler, name, qstrcmp(), and Qt::WType_Popup. |
|
|
Definition at line 70 of file liquid.h. Referenced by LiquidStyle(). |
|
|
Definition at line 186 of file liquid.h. Referenced by drawClearBevel(), drawPushButton(), drawSBButton(), drawToolButton(), eventFilter(), LiquidStyle(), and polish(). |
|
|
Definition at line 180 of file liquid.h. Referenced by drawClearBevel(), drawPushButton(), drawSBButton(), drawToolButton(), eventFilter(), LiquidStyle(), polish(), and ~LiquidStyle(). |
|
|
Definition at line 181 of file liquid.h. Referenced by drawPopupMenuItem(), and polish(). |
|
|
Definition at line 198 of file liquid.h. Referenced by getPixmap(), polish(), and processEmbedded(). |
|
|
Definition at line 199 of file liquid.h. Referenced by polish(). |
|
|
Definition at line 199 of file liquid.h. Referenced by polish(). |
|
|
Definition at line 199 of file liquid.h. Referenced by polish(). |
|
|
Definition at line 198 of file liquid.h. Referenced by getPixmap(), polish(), and processEmbedded(). |
|
|
Definition at line 180 of file liquid.h. Referenced by drawRoundButton(), LiquidStyle(), and ~LiquidStyle(). |
|
|
Definition at line 185 of file liquid.h. Referenced by drawRoundButton(), and polish(). |
|
|
Definition at line 180 of file liquid.h. Referenced by drawRoundButton(), LiquidStyle(), and ~LiquidStyle(). |
|
|
Definition at line 184 of file liquid.h. Referenced by drawRoundButton(), LiquidStyle(), and polish(). |
|
|
Definition at line 200 of file liquid.h. Referenced by getPixmap(), and polish(). |
|
|
Definition at line 201 of file liquid.h. Referenced by getPixmap(), and polish(). |
|
|
Definition at line 201 of file liquid.h. Referenced by getPixmap(), and polish(). |
|
|
Definition at line 201 of file liquid.h. Referenced by getPixmap(), and polish(). |
|
|
Definition at line 179 of file liquid.h. Referenced by drawComboButton(), drawRoundButton(), and LiquidStyle(). |
|
|
Definition at line 200 of file liquid.h. Referenced by getPixmap(), and polish(). |
|
|
Definition at line 200 of file liquid.h. Referenced by getPixmap(), and polish(). |
|
|
Definition at line 198 of file liquid.h. Referenced by getPixmap(), polish(), and processEmbedded(). |
|
|
Definition at line 195 of file liquid.h. Referenced by drawBevelButton(), eventFilter(), and LiquidStyle(). |
|
|
Definition at line 177 of file liquid.h. Referenced by LiquidStyle(), and polish(). |
|
|
Definition at line 196 of file liquid.h. Referenced by drawBevelButton(), eventFilter(), and LiquidStyle(). |
|
|
Definition at line 178 of file liquid.h. Referenced by drawPushButton(), drawSplitter(), drawToolButton(), eventFilter(), and LiquidStyle(). |
|
|
Definition at line 179 of file liquid.h. Referenced by drawButtonMask(), drawComboButton(), drawRoundButton(), and LiquidStyle(). |
|
|
Definition at line 194 of file liquid.h. Referenced by polish(). |
|
|
Definition at line 182 of file liquid.h. Referenced by polish(), and unPolish(). |
|
|
Definition at line 181 of file liquid.h. Referenced by drawPopupMenuItem(), and polish(). |
|
|
Definition at line 182 of file liquid.h. Referenced by polish(), and unPolish(). |
|
|
Definition at line 190 of file liquid.h. Referenced by drawMenuBarItem(), drawPopupMenuItem(), drawPopupPanel(), LiquidStyle(), polish(), polishPopupMenu(), and unPolish(). |
|
|
Definition at line 180 of file liquid.h. Referenced by LiquidStyle(), polish(), and ~LiquidStyle(). |
|
|
Definition at line 193 of file liquid.h. Referenced by LiquidStyle(), and ~LiquidStyle(). |
|
|
Definition at line 191 of file liquid.h. Referenced by getPixmap(), LiquidStyle(), polish(), and ~LiquidStyle(). |
|
|
Definition at line 197 of file liquid.h. Referenced by getPixmap(), LiquidStyle(), and polish(). |
|
|
Definition at line 192 of file liquid.h. Referenced by drawScrollBarControls(). |
|
|
Definition at line 187 of file liquid.h. Referenced by drawClearBevel(), LiquidStyle(), and polish(). |
|
|
Definition at line 180 of file liquid.h. Referenced by drawClearBevel(), LiquidStyle(), polish(), and ~LiquidStyle(). |
|
|
Definition at line 189 of file liquid.h. Referenced by drawScrollBarControls(), LiquidStyle(), polish(), and ~LiquidStyle(). |
1.4.2