Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TransMenuHandler Class Reference

#include </home/clem/local/src/opie/noncore/styles/liquid/liquid.h>

Collaboration diagram for TransMenuHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TransMenuHandler (QObject *parent)
 ~TransMenuHandler ()
void reloadSettings ()
int transType ()
QPixmap * pixmap (WId id)
const QColor & textColor ()
const QColor & bgColor ()
bool useShadowText ()

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *ev)
void stripePixmap (QPixmap &pix, const QColor &color)

Protected Attributes

QColor color
QColor fgColor
int opacity
int type
bool shadowText
QIntDict< QPixmap > pixDict

Constructor & Destructor Documentation

TransMenuHandler::TransMenuHandler QObject *  parent  ) 
 

Definition at line 80 of file liquid.cpp.

References pixDict, reloadSettings(), and QPtrCollection::setAutoDelete().

TransMenuHandler::~TransMenuHandler  )  [inline]
 

Definition at line 50 of file liquid.h.


Member Function Documentation

const QColor& TransMenuHandler::bgColor  )  [inline]
 

Definition at line 55 of file liquid.h.

References color.

Referenced by LiquidStyle::drawPopupMenuItem(), and LiquidStyle::drawPopupPanel().

bool TransMenuHandler::eventFilter QObject *  obj,
QEvent *  ev
[protected]
 

Definition at line 106 of file liquid.cpp.

References Qt::black, color, Custom, QPixmapEffect::fade(), QIntDict< type >::insert(), opacity, p, pix, pixDict, QIntDict< type >::remove(), stripePixmap(), TransStippleBg, TransStippleBtn, type, wid, and Qt::WType_Popup.

QPixmap* TransMenuHandler::pixmap WId  id  )  [inline]
 

Definition at line 53 of file liquid.h.

References QIntDict< type >::find(), and pixDict.

Referenced by LiquidStyle::drawPopupMenuItem().

void TransMenuHandler::reloadSettings  ) 
 

Definition at line 87 of file liquid.cpp.

References active, QIntDict< type >::clear(), color, fgColor, name, opacity, pixDict, shadowText, text, TransStippleBg, and type.

Referenced by TransMenuHandler().

void TransMenuHandler::stripePixmap QPixmap &  pix,
const QColor &  color
[protected]
 

Definition at line 56 of file liquid.cpp.

References data, QImageEffect::fade(), g, Opie::MM::x, and Opie::MM::y.

Referenced by eventFilter().

const QColor& TransMenuHandler::textColor  )  [inline]
 

Definition at line 54 of file liquid.h.

References fgColor.

Referenced by LiquidStyle::drawPopupMenuItem().

int TransMenuHandler::transType  )  [inline]
 

Definition at line 52 of file liquid.h.

References type.

Referenced by LiquidStyle::drawPopupMenuItem(), and LiquidStyle::drawPopupPanel().

bool TransMenuHandler::useShadowText  )  [inline]
 

Definition at line 56 of file liquid.h.

References shadowText.

Referenced by LiquidStyle::drawMenuBarItem(), and LiquidStyle::drawPopupMenuItem().


Member Data Documentation

QColor TransMenuHandler::color [protected]
 

Definition at line 61 of file liquid.h.

Referenced by bgColor(), eventFilter(), and reloadSettings().

QColor TransMenuHandler::fgColor [protected]
 

Definition at line 61 of file liquid.h.

Referenced by reloadSettings(), and textColor().

int TransMenuHandler::opacity [protected]
 

Definition at line 62 of file liquid.h.

Referenced by eventFilter(), and reloadSettings().

QIntDict<QPixmap> TransMenuHandler::pixDict [protected]
 

Definition at line 65 of file liquid.h.

Referenced by eventFilter(), pixmap(), reloadSettings(), and TransMenuHandler().

bool TransMenuHandler::shadowText [protected]
 

Definition at line 64 of file liquid.h.

Referenced by reloadSettings(), and useShadowText().

int TransMenuHandler::type [protected]
 

Definition at line 63 of file liquid.h.

Referenced by eventFilter(), reloadSettings(), and transType().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:54:20 2005 for OPIE by  doxygen 1.4.2