Eneboo - Documentación para desarrolladores
Tipos públicos | Métodos públicos | Métodos protegidos
Referencia de la Clase QtCurveStyle

#include <qtcurve.h>

Lista de todos los miembros.

Tipos públicos

enum  EApp {
  APP_KICKER, APP_KORN, APP_OPENOFFICE, APP_MACTOR,
  APP_KPRESENTER, APP_KONQUEROR, APP_SKIP_TASKBAR, APP_KPRINTER,
  APP_KDIALOG, APP_KDIALOGD, APP_TORA, APP_KONTACT,
  APP_OPERA, APP_SYSTEMSETTINGS, APP_KATE, APP_OTHER
}
enum  EHover {
  HOVER_NONE, HOVER_CHECK, HOVER_RADIO, HOVER_SB_ADD,
  HOVER_SB_SUB, HOVER_SB_SUB2, HOVER_SB_SLIDER, HOVER_HEADER,
  HOVER_KICKER, HOVER_SW_UP, HOVER_SW_DOWN, HOVER_SW_ENTRY,
  HOVER_CB_ARROW, HOVER_CB_ENTRY
}
enum  EntryColor { ENTRY_FOCUS, ENTRY_MOUSE_OVER, ENTRY_NONE }

Métodos públicos

 QtCurveStyle ()
virtual ~QtCurveStyle ()
void polish (QApplication *app)
void unPolish (QApplication *app)
void polish (QPalette &pal)
QColorGroup setColorGroup (const QColorGroup &old, const QColorGroup &act, bool dis=false)
void polish (QWidget *widget)
void unPolish (QWidget *widget)
void drawLightBevel (QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, int round, const QColor &fill, const QColor *custom=NULL, bool doBorder=true, bool doCorners=true, EWidget w=WIDGET_OTHER, const QWidget *widget=0L) const
void drawLightBevel (const QColor &bgnd, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, int round, const QColor &fill, const QColor *custom=NULL, bool doBorder=true, bool doCorners=true, EWidget w=WIDGET_OTHER, const QWidget *widget=0L) const
void drawGlow (QPainter *p, const QRect &r, const QColorGroup &cg, EWidget w, const QColor *cols=0) const
void drawEtch (QPainter *p, const QRect &r, const QColorGroup &cg, bool raised=false, bool square=false, EWidget w=WIDGET_OTHER) const
void drawBorder (const QColor &bgnd, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, int round, const QColor *custom=NULL, EWidget w=WIDGET_OTHER, bool doCorners=true, EBorder borderProfile=BORDER_FLAT, bool blendBorderColors=true, int borderVal=STD_BORDER) const
void drawMdiIcon (QPainter *painter, const QColor &color, const QColor &shadow, const QRect &r, bool sunken, int margin, SubControl button) const
void drawWindowIcon (QPainter *painter, const QColor &color, const QRect &r, bool sunken, int margin, SubControl button) const
void drawEntryField (QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, EntryColor coloration, int round, EWidget=WIDGET_ENTRY) const
void drawArrow (QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, QStyle::PrimitiveElement pe, bool small=false, bool checkActive=false) const
void drawPrimitive (PrimitiveElement, QPainter *, const QRect &, const QColorGroup &, SFlags=Style_Default, const QStyleOption &=QStyleOption::Default) const
void drawKStylePrimitive (KStylePrimitive kpe, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags flags, const QStyleOption &opt) const
void drawControl (ControlElement, QPainter *, const QWidget *, const QRect &, const QColorGroup &, SFlags=Style_Default, const QStyleOption &=QStyleOption::Default) const
void drawControlMask (ControlElement, QPainter *, const QWidget *, const QRect &, const QStyleOption &=QStyleOption::Default) const
void drawComplexControlMask (ComplexControl control, QPainter *p, const QWidget *widget, const QRect &r, const QStyleOption &data) const
QRect subRect (SubRect, const QWidget *) const
void drawComplexControl (ComplexControl, QPainter *, const QWidget *, const QRect &, const QColorGroup &, SFlags=Style_Default, SCFlags=SC_All, SCFlags=SC_None, const QStyleOption &=QStyleOption::Default) const
QRect querySubControlMetrics (ComplexControl, const QWidget *, SubControl, const QStyleOption &=QStyleOption::Default) const
int pixelMetric (PixelMetric, const QWidget *widget=0) const
int kPixelMetric (KStylePixelMetric kpm, const QWidget *widget) const
QSize sizeFromContents (ContentsType, const QWidget *, const QSize &, const QStyleOption &=QStyleOption::Default) const
int styleHint (StyleHint, const QWidget *widget=0, const QStyleOption &=QStyleOption::Default, QStyleHintReturn *returnData=0) const
void drawItem (QPainter *p, const QRect &r, int flags, const QColorGroup &cg, bool enabled, const QPixmap *pixmap, const QString &text, int len=-1, const QColor *penColor=0) const

Métodos protegidos

bool appIsNotEmbedded (QDialog *dlg)
bool eventFilter (QObject *object, QEvent *event)
void drawMenuItem (QPainter *p, const QRect &r, int flags, const QColorGroup &cg, bool mbi, int round, const QColor &bgnd, const QColor *cols) const
void drawProgress (QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, int round, const QWidget *widget) const
void drawBevelGradient (const QColor &base, const QColor &bgnd, QPainter *p, QRect const &r, bool horiz, bool sel, EAppearance bevApp, EWidget w=WIDGET_OTHER) const
void drawBevelGradientReal (const QColor &base, const QColor &bgnd, QPainter *p, QRect const &r, bool horiz, bool sel, EAppearance bevApp, EWidget w=WIDGET_OTHER) const
void drawGradient (const QColor &top, const QColor &bot, QPainter *p, const QRect &r, bool horiz=true) const
void drawSbSliderHandle (QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, bool slider=false) const
void drawSliderHandle (QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, QSlider *slider, bool tb=false) const
void drawSliderGroove (QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags, const QWidget *widget) const
void drawMenuOrToolBarBackground (QPainter *p, const QRect &r, const QColorGroup &cg, bool menu=true, bool horiz=true) const
void drawHandleMarkers (QPainter *p, const QRect &r, SFlags flags, bool tb, ELine handles) const
void drawHighlight (QPainter *p, const QRect &r, const QColorGroup &cg, bool horiz, bool inc) const

Documentación de las enumeraciones miembro de la clase

Valores de enumeraciones:
APP_KICKER 
APP_KORN 
APP_OPENOFFICE 
APP_MACTOR 
APP_KPRESENTER 
APP_KONQUEROR 
APP_SKIP_TASKBAR 
APP_KPRINTER 
APP_KDIALOG 
APP_KDIALOGD 
APP_TORA 
APP_KONTACT 
APP_OPERA 
APP_SYSTEMSETTINGS 
APP_KATE 
APP_OTHER 
Valores de enumeraciones:
HOVER_NONE 
HOVER_CHECK 
HOVER_RADIO 
HOVER_SB_ADD 
HOVER_SB_SUB 
HOVER_SB_SUB2 
HOVER_SB_SLIDER 
HOVER_HEADER 
HOVER_KICKER 
HOVER_SW_UP 
HOVER_SW_DOWN 
HOVER_SW_ENTRY 
HOVER_CB_ARROW 
HOVER_CB_ENTRY 
Valores de enumeraciones:
ENTRY_FOCUS 
ENTRY_MOUSE_OVER 
ENTRY_NONE 

Documentación del constructor y destructor

QtCurveStyle::QtCurveStyle ( )
QtCurveStyle::~QtCurveStyle ( ) [virtual]

Documentación de las funciones miembro

bool QtCurveStyle::appIsNotEmbedded ( QDialog dlg) [protected]
void QtCurveStyle::drawArrow ( QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
QStyle::PrimitiveElement  pe,
bool  small = false,
bool  checkActive = false 
) const
void QtCurveStyle::drawBevelGradient ( const QColor base,
const QColor bgnd,
QPainter p,
QRect const &  r,
bool  horiz,
bool  sel,
EAppearance  bevApp,
EWidget  w = WIDGET_OTHER 
) const [protected]
void QtCurveStyle::drawBevelGradientReal ( const QColor base,
const QColor bgnd,
QPainter p,
QRect const &  r,
bool  horiz,
bool  sel,
EAppearance  bevApp,
EWidget  w = WIDGET_OTHER 
) const [protected]
void QtCurveStyle::drawBorder ( const QColor bgnd,
QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
int  round,
const QColor custom = NULL,
EWidget  w = WIDGET_OTHER,
bool  doCorners = true,
EBorder  borderProfile = BORDER_FLAT,
bool  blendBorderColors = true,
int  borderVal = STD_BORDER 
) const
void QtCurveStyle::drawComplexControl ( ComplexControl  control,
QPainter p,
const QWidget widget,
const QRect r,
const QColorGroup cg,
SFlags  flags = Style_Default,
SCFlags  controls = SC_All,
SCFlags  active = SC_None,
const QStyleOption data = QStyleOption::Default 
) const
void QtCurveStyle::drawComplexControlMask ( ComplexControl  control,
QPainter p,
const QWidget widget,
const QRect r,
const QStyleOption data 
) const
void QtCurveStyle::drawControl ( ControlElement  control,
QPainter p,
const QWidget widget,
const QRect r,
const QColorGroup cg,
SFlags  flags = Style_Default,
const QStyleOption data = QStyleOption::Default 
) const
void QtCurveStyle::drawControlMask ( ControlElement  control,
QPainter p,
const QWidget widget,
const QRect r,
const QStyleOption data = QStyleOption::Default 
) const
void QtCurveStyle::drawEntryField ( QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
EntryColor  coloration,
int  round,
EWidget  w = WIDGET_ENTRY 
) const
void QtCurveStyle::drawEtch ( QPainter p,
const QRect r,
const QColorGroup cg,
bool  raised = false,
bool  square = false,
EWidget  w = WIDGET_OTHER 
) const
void QtCurveStyle::drawGlow ( QPainter p,
const QRect r,
const QColorGroup cg,
EWidget  w,
const QColor cols = 0 
) const
void QtCurveStyle::drawGradient ( const QColor top,
const QColor bot,
QPainter p,
const QRect r,
bool  horiz = true 
) const [protected]
void QtCurveStyle::drawHandleMarkers ( QPainter p,
const QRect r,
SFlags  flags,
bool  tb,
ELine  handles 
) const [protected]
void QtCurveStyle::drawHighlight ( QPainter p,
const QRect r,
const QColorGroup cg,
bool  horiz,
bool  inc 
) const [protected]
void QtCurveStyle::drawItem ( QPainter p,
const QRect r,
int  flags,
const QColorGroup cg,
bool  enabled,
const QPixmap pixmap,
const QString text,
int  len = -1,
const QColor penColor = 0 
) const
void QtCurveStyle::drawKStylePrimitive ( KStylePrimitive  kpe,
QPainter p,
const QWidget widget,
const QRect r,
const QColorGroup cg,
SFlags  flags,
const QStyleOption opt 
) const
void QtCurveStyle::drawLightBevel ( const QColor bgnd,
QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
int  round,
const QColor fill,
const QColor custom = NULL,
bool  doBorder = true,
bool  doCorners = true,
EWidget  w = WIDGET_OTHER,
const QWidget widget = 0L 
) const
void QtCurveStyle::drawLightBevel ( QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
int  round,
const QColor fill,
const QColor custom = NULL,
bool  doBorder = true,
bool  doCorners = true,
EWidget  w = WIDGET_OTHER,
const QWidget widget = 0L 
) const [inline]
void QtCurveStyle::drawMdiIcon ( QPainter painter,
const QColor color,
const QColor shadow,
const QRect r,
bool  sunken,
int  margin,
SubControl  button 
) const
void QtCurveStyle::drawMenuItem ( QPainter p,
const QRect r,
int  flags,
const QColorGroup cg,
bool  mbi,
int  round,
const QColor bgnd,
const QColor cols 
) const [protected]
void QtCurveStyle::drawMenuOrToolBarBackground ( QPainter p,
const QRect r,
const QColorGroup cg,
bool  menu = true,
bool  horiz = true 
) const [protected]
void QtCurveStyle::drawPrimitive ( PrimitiveElement  pe,
QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags = Style_Default,
const QStyleOption data = QStyleOption::Default 
) const
void QtCurveStyle::drawProgress ( QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
int  round,
const QWidget widget 
) const [protected]
void QtCurveStyle::drawSbSliderHandle ( QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
bool  slider = false 
) const [protected]
void QtCurveStyle::drawSliderGroove ( QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
const QWidget widget 
) const [protected]
void QtCurveStyle::drawSliderHandle ( QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags,
QSlider slider,
bool  tb = false 
) const [protected]
void QtCurveStyle::drawWindowIcon ( QPainter painter,
const QColor color,
const QRect r,
bool  sunken,
int  margin,
SubControl  button 
) const
bool QtCurveStyle::eventFilter ( QObject object,
QEvent event 
) [protected]
int QtCurveStyle::kPixelMetric ( KStylePixelMetric  kpm,
const QWidget widget 
) const
int QtCurveStyle::pixelMetric ( PixelMetric  metric,
const QWidget widget = 0 
) const
void QtCurveStyle::polish ( QWidget widget)
void QtCurveStyle::polish ( QApplication app)
void QtCurveStyle::polish ( QPalette pal)
QRect QtCurveStyle::querySubControlMetrics ( ComplexControl  control,
const QWidget widget,
SubControl  sc,
const QStyleOption data = QStyleOption::Default 
) const
QColorGroup QtCurveStyle::setColorGroup ( const QColorGroup old,
const QColorGroup act,
bool  dis = false 
)
QSize QtCurveStyle::sizeFromContents ( ContentsType  contents,
const QWidget widget,
const QSize contentsSize,
const QStyleOption data = QStyleOption::Default 
) const
int QtCurveStyle::styleHint ( StyleHint  stylehint,
const QWidget widget = 0,
const QStyleOption option = QStyleOption::Default,
QStyleHintReturn *  returnData = 0 
) const
QRect QtCurveStyle::subRect ( SubRect  subrect,
const QWidget widget 
) const
void QtCurveStyle::unPolish ( QApplication app)
void QtCurveStyle::unPolish ( QWidget widget)

La documentación para esta clase fue generada a partir de los siguientes ficheros:
Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'