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

phasestyle.cpp File Reference

#include "phasestyle.h"
#include "bitmaps.h"
#include <qpopupmenu.h>
#include <qpushbutton.h>
#include <qtoolbutton.h>
#include <qpainter.h>
#include <qbrush.h>
#include <qiconset.h>
#include <qtabbar.h>
#include <qscrollbar.h>

Include dependency graph for phasestyle.cpp:

Go to the source code of this file.

Defines

#define INCLUDE_MENUITEM_DEF

Typedefs

typedef void(QStyle::* QDrawMenuBarItemImpl )(QPainter *, int, int, int, int, QMenuItem *, QColorGroup &, bool, bool)

Functions

void kColorBitmaps (QPainter *p, const QColorGroup &g, int x, int y, QBitmap *lightColor, QBitmap *midColor, QBitmap *midlightColor, QBitmap *darkColor, QBitmap *blackColor, QBitmap *whiteColor)
QDrawMenuBarItemImpl qt_set_draw_menu_bar_impl (QDrawMenuBarItemImpl impl)

Variables

static unsigned contrast = 110
static const int ITEMFRAME = 1
static const int ITEMHMARGIN = 3
static const int ITEMVMARGIN = 0
static const int ARROWMARGIN = 6
static const int RIGHTBORDER = 10
static const int MINICONSIZE = 12
static const int CHECKSIZE = 9
static const int SCROLLBAR_EXTENT = 12


Define Documentation

#define INCLUDE_MENUITEM_DEF
 

Definition at line 31 of file phasestyle.cpp.


Typedef Documentation

typedef void(QStyle::* QDrawMenuBarItemImpl)(QPainter *, int, int, int, int, QMenuItem *, QColorGroup &, bool, bool)
 

Definition at line 87 of file phasestyle.cpp.


Function Documentation

void kColorBitmaps QPainter *  p,
const QColorGroup &  g,
int  x,
int  y,
QBitmap *  lightColor,
QBitmap *  midColor,
QBitmap *  midlightColor,
QBitmap *  darkColor,
QBitmap *  blackColor,
QBitmap *  whiteColor
 

Definition at line 60 of file phasestyle.cpp.

References Qt::black, colors, i, and Qt::white.

Referenced by PhaseStyle::drawComboButton(), and PhaseStyle::drawScrollBarControls().

QDrawMenuBarItemImpl qt_set_draw_menu_bar_impl QDrawMenuBarItemImpl  impl  ) 
 


Variable Documentation

const int ARROWMARGIN = 6 [static]
 

Definition at line 49 of file phasestyle.cpp.

Referenced by WebStyle::drawPopupMenuItem(), PhaseStyle::drawPopupMenuItem(), and PhaseStyle::extraPopupMenuItemWidth().

const int CHECKSIZE = 9 [static]
 

Definition at line 52 of file phasestyle.cpp.

unsigned contrast = 110 [static]
 

Definition at line 43 of file phasestyle.cpp.

Referenced by LightSettings::accept(), Opie::Ui::OPixmapEffect::contrast(), PhaseStyle::drawFocusRect(), PhaseStyle::drawTab(), LightSettings::LightSettings(), LiquidSettings::LiquidSettings(), PhaseStyle::polish(), LiquidStyle::polish(), and OpieScreenSaver::setBacklight().

const int ITEMFRAME = 1 [static]
 

Definition at line 45 of file phasestyle.cpp.

Referenced by WebStyle::drawPopupMenuItem(), PhaseStyle::drawPopupMenuItem(), and PhaseStyle::popupMenuItemHeight().

const int ITEMHMARGIN = 3 [static]
 

Definition at line 46 of file phasestyle.cpp.

Referenced by WebStyle::drawPopupMenuItem(), PhaseStyle::drawPopupMenuItem(), and PhaseStyle::extraPopupMenuItemWidth().

const int ITEMVMARGIN = 0 [static]
 

Definition at line 47 of file phasestyle.cpp.

Referenced by WebStyle::drawPopupMenuItem(), PhaseStyle::drawPopupMenuItem(), and PhaseStyle::popupMenuItemHeight().

const int MINICONSIZE = 12 [static]
 

Definition at line 51 of file phasestyle.cpp.

Referenced by PhaseStyle::popupMenuItemHeight().

const int RIGHTBORDER = 10 [static]
 

Definition at line 50 of file phasestyle.cpp.

Referenced by WebStyle::drawPopupMenuItem(), PhaseStyle::drawPopupMenuItem(), and PhaseStyle::extraPopupMenuItemWidth().

const int SCROLLBAR_EXTENT = 12 [static]
 

Definition at line 53 of file phasestyle.cpp.

Referenced by PhaseStyle::PhaseStyle(), and PhaseStyle::scrollBarMetrics().


Generated on Sat Nov 5 17:13:22 2005 for OPIE by  doxygen 1.4.2