#include </home/clem/local/src/opie/noncore/styles/phase/phasestyle.h>
Public Member Functions | |
| PhaseStyle () | |
| virtual | ~PhaseStyle () |
| virtual void | polish (QWidget *) |
| virtual void | polish (QPalette &) |
| virtual void | polish (QApplication *a) |
| virtual void | unPolish (QWidget *) |
| virtual void | unPolish (QApplication *a) |
| void | drawCheckMark (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool act, bool dis) |
| 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 | drawPushButton (QPushButton *btn, QPainter *p) |
| void | drawPushButtonLabel (QPushButton *btn, QPainter *p) |
| void | drawPanel (QPainter *p, int, int, int, int, const QColorGroup &, bool sunken=false, int lineWidth=1, const QBrush *b=0l) |
| void | drawButton (QPainter *, int x, int y, int w, int h, const QColorGroup &, bool sunken=false, const QBrush *fill=0) |
| void | drawBevelButton (QPainter *, int, int, int, int, const QColorGroup &, bool sunken=false, const QBrush *fill=0) |
| void | drawFocusRect (QPainter *p, const QRect &r, const QColorGroup &, const QColor *=0, bool atBorder=false) |
| void | drawButtonMask (QPainter *p, int x, int y, int w, int h) |
| void | drawSeperator (QPainter *p, int x, int y, int w, int h, const QColorGroup &group, bool sunken=true, int lineWidth=1, int midLineWidtth=0) |
| void | drawMenuBarItem (QPainter *p, int x, int y, int w, int h, QMenuItem *mi, QColorGroup &g, bool enabled, bool act) |
| void | drawIndicator (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, int state, bool down=FALSE, bool enabled=TRUE) |
| void | drawExclusiveIndicator (QPainter *, int, int, int, int, const QColorGroup &, bool on, bool down=false, bool enabled=true) |
| void | drawExclusiveIndicatorMask (QPainter *, int, int, int, int, bool) |
| int | defaultFrameWidth () const |
| int | popupMenuItemHeight (bool checkable, QMenuItem *mi, const QFontMetrics &fm) |
| int | extraPopupMenuItemWidth (bool checkable, int maxpmw, QMenuItem *mi, const QFontMetrics &fm) |
| QSize | indicatorSize () const |
| QSize | exclusiveIndicatorSize () const |
| void | getButtonShift (int &x, int &y) |
| 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) |
| QRect | comboButtonRect (int x, int y, int w, int h) |
| 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) |
| void | drawTab (QPainter *, const QTabBar *, QTab *, bool selected) |
| void | drawTabMask (QPainter *, const QTabBar *, QTab *, bool) |
| void | tabbarMetrics (const QTabBar *t, int &hframe, int &vframe, int &overlap) |
| void | drawToolButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=FALSE, const QBrush *fill=0) |
| void | drawScrollBarControls (QPainter *, const QScrollBar *, int sliderStart, uint controls, uint activeControl) |
| void | scrollBarMetrics (const QScrollBar *, int &, int &, int &, int &) |
| QStyle::ScrollControl | scrollBarPointOver (const QScrollBar *, int sliderStart, const QPoint &) |
| void | drawSlider (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, Orientation, bool tickAbove, bool tickBelow) |
| void | drawSliderGroove (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QCOORD c, Orientation) |
Private Member Functions | |
| void | drawPhaseGradient (QPainter *p, const QRect &rec, const QColor &col) const |
Static Private Member Functions | |
| static void | scrollBarItemPositions (const QScrollBar *, const bool horizontal, int sliderStart, int sliderMax, int sliderLength, int buttomDim, QRect &sub, QRect &add, QRect &subPage, QRect &addPage, QRect &slider) |
|
|
Definition at line 93 of file phasestyle.cpp. References bcheck, bcheck_bits, bminus, bminus_bits, bplus, bplus_bits, darrow, darrow_bits, dexpand, dexpand_bits, doodad_light, doodad_light_bits, doodad_mid, doodad_mid_bits, larrow, larrow_bits, rarrow, rarrow_bits, rexpand, rexpand_bits, SCROLLBAR_EXTENT, uarrow, and uarrow_bits. |
|
|
Definition at line 127 of file phasestyle.cpp. |
|
||||||||||||||||||||
|
Definition at line 741 of file phasestyle.cpp. |
|
|
Definition at line 552 of file phasestyle.cpp. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 138 of file phasestyle.cpp. References darrow, larrow, rarrow, and uarrow. Referenced by drawPopupMenuItem(), drawPushButtonLabel(), and drawScrollBarControls(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 267 of file phasestyle.cpp. References drawPhaseGradient(). Referenced by drawButton(), drawPushButton(), drawScrollBarControls(), and drawSlider(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 237 of file phasestyle.cpp. References drawBevelButton(). Referenced by drawComboButton(), and drawPushButton(). |
|
||||||||||||||||||||||||
|
Definition at line 259 of file phasestyle.cpp. References Qt::color0, and Qt::color1. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 131 of file phasestyle.cpp. References bcheck. Referenced by drawPopupMenuItem(). |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 745 of file phasestyle.cpp. References doodad_light, doodad_mid, drawButton(), and kColorBitmaps(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 491 of file phasestyle.cpp. |
|
||||||||||||||||||||||||||||
|
Definition at line 527 of file phasestyle.cpp. References Qt::color1. |
|
||||||||||||||||||||||||
|
Definition at line 433 of file phasestyle.cpp. References contrast. Referenced by drawPushButton(), and drawScrollBarControls(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 475 of file phasestyle.cpp. References drawPanel(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 468 of file phasestyle.cpp. Referenced by polish(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 196 of file phasestyle.cpp. Referenced by drawIndicator(), drawPushButton(), drawSliderGroove(), and drawToolButton(). |
|
||||||||||||||||
|
Definition at line 299 of file phasestyle.cpp. Referenced by drawBevelButton(), and drawTab(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 622 of file phasestyle.cpp. References ARROWMARGIN, Disabled, drawArrow(), drawCheckMark(), QString::find(), g, QString::isNull(), ITEMFRAME, ITEMHMARGIN, ITEMVMARGIN, QString::left(), QString::mid(), Dasher::Opts::Normal, RIGHTBORDER, t, and text. |
|
||||||||||||
|
Definition at line 166 of file phasestyle.cpp. References col, drawBevelButton(), drawButton(), drawFocusRect(), drawPanel(), Opie::MM::x, and Opie::MM::y. |
|
||||||||||||
|
Definition at line 350 of file phasestyle.cpp. References active, Disabled, Qt::DownArrow, drawArrow(), Dasher::Opts::Normal, Opie::MM::x, and Opie::MM::y. |
|
||||||||||||||||||||||||
|
Definition at line 969 of file phasestyle.cpp. References add, doodad_light, doodad_mid, drawArrow(), drawBevelButton(), drawFocusRect(), g, Qt::Horizontal, kColorBitmaps(), scrollBarItemPositions(), scrollBarMetrics(), Opie::MM::x, and Opie::MM::y. |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 453 of file phasestyle.cpp. References qWarning(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1208 of file phasestyle.cpp. References drawBevelButton(). |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 1228 of file phasestyle.cpp. References drawPanel(). |
|
||||||||||||||||||||
|
Definition at line 780 of file phasestyle.cpp. References contrast, drawPhaseGradient(), Qt::NoPen, Opie::MM::x, and Opie::MM::y. |
|
||||||||||||||||||||
|
Definition at line 911 of file phasestyle.cpp. References Qt::color1. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 916 of file phasestyle.cpp. References drawPanel(). |
|
|
Definition at line 613 of file phasestyle.cpp. |
|
||||||||||||||||||||
|
Definition at line 583 of file phasestyle.cpp. References ARROWMARGIN, ITEMHMARGIN, and RIGHTBORDER. |
|
||||||||||||
|
Definition at line 617 of file phasestyle.cpp. |
|
|
Definition at line 609 of file phasestyle.cpp. |
|
|
Definition at line 339 of file phasestyle.cpp. References drawMenuBarItem(), and qt_set_draw_menu_bar_impl(). |
|
|
Definition at line 326 of file phasestyle.cpp. |
|
|
Definition at line 305 of file phasestyle.cpp. |
|
||||||||||||||||
|
Definition at line 556 of file phasestyle.cpp. References ITEMFRAME, ITEMVMARGIN, and MINICONSIZE. |
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 1135 of file phasestyle.cpp. Referenced by drawScrollBarControls(). |
|
||||||||||||||||||||||||
|
Definition at line 936 of file phasestyle.cpp. References len, and SCROLLBAR_EXTENT. Referenced by drawScrollBarControls(), and scrollBarPointOver(). |
|
||||||||||||||||
|
Definition at line 1091 of file phasestyle.cpp. References scrollBarMetrics(), Opie::MM::x, and Opie::MM::y. |
|
||||||||||||||||||||
|
Definition at line 773 of file phasestyle.cpp. |
|
|
Definition at line 345 of file phasestyle.cpp. References qt_set_draw_menu_bar_impl(). |
|
|
Definition at line 321 of file phasestyle.cpp. |
1.4.2