|
|
@ -134,11 +134,11 @@ class QtCurveStyle : public BASE_STYLE
|
|
|
|
|
|
|
|
|
|
|
|
virtual ~QtCurveStyle();
|
|
|
|
virtual ~QtCurveStyle();
|
|
|
|
|
|
|
|
|
|
|
|
void applicationPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *);
|
|
|
|
void applicationPolish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *);
|
|
|
|
void polish(TQPalette &pal);
|
|
|
|
void polish(TQPalette &pal);
|
|
|
|
TQColorGroup setColorGroup(const TQColorGroup &old, const TQColorGroup &act, bool dis=false);
|
|
|
|
TQColorGroup setColorGroup(const TQColorGroup &old, const TQColorGroup &act, bool dis=false);
|
|
|
|
void polish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *);
|
|
|
|
void polish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *);
|
|
|
|
void unPolish(TQStyleControlElementData ceData, ControlElementFlags elementFlags, void *);
|
|
|
|
void unPolish(const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void *);
|
|
|
|
void drawLightBevel(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags,
|
|
|
|
void drawLightBevel(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags,
|
|
|
|
int round, const TQColor &fill, const TQColor *custom=NULL,
|
|
|
|
int round, const TQColor &fill, const TQColor *custom=NULL,
|
|
|
|
bool doBorder=true, bool doCorners=true, EWidget w=WIDGET_OTHER) const
|
|
|
|
bool doBorder=true, bool doCorners=true, EWidget w=WIDGET_OTHER) const
|
|
|
@ -158,27 +158,27 @@ class QtCurveStyle : public BASE_STYLE
|
|
|
|
EntryColor coloration, int round, EWidget=WIDGET_ENTRY) const;
|
|
|
|
EntryColor coloration, int round, EWidget=WIDGET_ENTRY) const;
|
|
|
|
void drawArrow(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags,
|
|
|
|
void drawArrow(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags,
|
|
|
|
TQ_PrimitiveElement pe, bool small=false, bool checkActive=false) const;
|
|
|
|
TQ_PrimitiveElement pe, bool small=false, bool checkActive=false) const;
|
|
|
|
void drawPrimitive(TQ_PrimitiveElement, TQPainter *, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQRect &, const TQColorGroup &,
|
|
|
|
void drawPrimitive(TQ_PrimitiveElement, TQPainter *, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &, const TQColorGroup &,
|
|
|
|
SFlags = Style_Default, const TQStyleOption & = TQStyleOption::Default) const;
|
|
|
|
SFlags = Style_Default, const TQStyleOption & = TQStyleOption::Default) const;
|
|
|
|
void drawKStylePrimitive(KStylePrimitive kpe, TQPainter* p, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQRect &r,
|
|
|
|
void drawKStylePrimitive(KStylePrimitive kpe, TQPainter* p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r,
|
|
|
|
const TQColorGroup &cg, SFlags flags, const TQStyleOption &opt, const TQWidget* widget = 0 ) const;
|
|
|
|
const TQColorGroup &cg, SFlags flags, const TQStyleOption &opt, const TQWidget* widget = 0 ) const;
|
|
|
|
void drawControl(ControlElement, TQPainter *, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQRect &, const TQColorGroup &,
|
|
|
|
void drawControl(ControlElement, TQPainter *, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &, const TQColorGroup &,
|
|
|
|
SFlags = Style_Default, const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
SFlags = Style_Default, const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
void drawControlMask(ControlElement, TQPainter *, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQRect &,
|
|
|
|
void drawControlMask(ControlElement, TQPainter *, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &,
|
|
|
|
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
void drawComplexControlMask(ComplexControl control, TQPainter *p, const TQStyleControlElementData ceData, const ControlElementFlags elementFlags,
|
|
|
|
void drawComplexControlMask(ComplexControl control, TQPainter *p, const TQStyleControlElementData &ceData, const ControlElementFlags elementFlags,
|
|
|
|
const TQRect &r, const TQStyleOption &data, const TQWidget *widget) const;
|
|
|
|
const TQRect &r, const TQStyleOption &data, const TQWidget *widget) const;
|
|
|
|
TQRect subRect(SubRect, const TQStyleControlElementData ceData, const ControlElementFlags elementFlags, const TQWidget * = 0) const;
|
|
|
|
TQRect subRect(SubRect, const TQStyleControlElementData &ceData, const ControlElementFlags elementFlags, const TQWidget * = 0) const;
|
|
|
|
void drawComplexControl(ComplexControl, TQPainter *, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQRect &,
|
|
|
|
void drawComplexControl(ComplexControl, TQPainter *, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &,
|
|
|
|
const TQColorGroup &, SFlags = Style_Default, SCFlags = SC_All,
|
|
|
|
const TQColorGroup &, SFlags = Style_Default, SCFlags = SC_All,
|
|
|
|
SCFlags = SC_None, const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
SCFlags = SC_None, const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
TQRect querySubControlMetrics(TQ_ComplexControl, TQStyleControlElementData ceData, ControlElementFlags elementFlags, SubControl,
|
|
|
|
TQRect querySubControlMetrics(TQ_ComplexControl, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, SubControl,
|
|
|
|
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
int pixelMetric(PixelMetric, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget *widget= 0) const;
|
|
|
|
int pixelMetric(PixelMetric, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQWidget *widget= 0) const;
|
|
|
|
int kPixelMetric(KStylePixelMetric kpm, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQWidget *widget) const;
|
|
|
|
int kPixelMetric(KStylePixelMetric kpm, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQWidget *widget) const;
|
|
|
|
TQSize sizeFromContents(ContentsType, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQSize &,
|
|
|
|
TQSize sizeFromContents(ContentsType, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQSize &,
|
|
|
|
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
const TQStyleOption & = TQStyleOption::Default, const TQWidget * = 0) const;
|
|
|
|
int styleHint(StyleHint, TQStyleControlElementData ceData, ControlElementFlags elementFlags, const TQStyleOption & = TQStyleOption::Default,
|
|
|
|
int styleHint(StyleHint, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQStyleOption & = TQStyleOption::Default,
|
|
|
|
TQStyleHintReturn *returnData= 0, const TQWidget *widget= 0) const;
|
|
|
|
TQStyleHintReturn *returnData= 0, const TQWidget *widget= 0) const;
|
|
|
|
void drawItem(TQPainter *p, const TQRect &r, int flags, const TQColorGroup &cg, bool enabled,
|
|
|
|
void drawItem(TQPainter *p, const TQRect &r, int flags, const TQColorGroup &cg, bool enabled,
|
|
|
|
const TQPixmap *pixmap, const TQString &text, int len=-1, const TQColor *penColor=0) const;
|
|
|
|
const TQPixmap *pixmap, const TQString &text, int len=-1, const TQColor *penColor=0) const;
|
|
|
@ -186,7 +186,7 @@ class QtCurveStyle : public BASE_STYLE
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
|
|
bool appIsNotEmbedded(TQDialog *dlg);
|
|
|
|
bool appIsNotEmbedded(TQDialog *dlg);
|
|
|
|
virtual bool objectEventHandler( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, TQEvent *e );
|
|
|
|
virtual bool objectEventHandler( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void* source, TQEvent *e );
|
|
|
|
void drawMenuItem(TQPainter *p, const TQRect &r, int flags, const TQColorGroup &cg,
|
|
|
|
void drawMenuItem(TQPainter *p, const TQRect &r, int flags, const TQColorGroup &cg,
|
|
|
|
bool mbi, int round, const TQColor &bgnd, const TQColor *cols) const;
|
|
|
|
bool mbi, int round, const TQColor &bgnd, const TQColor *cols) const;
|
|
|
|
void drawProgress(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, int round,
|
|
|
|
void drawProgress(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, int round,
|
|
|
@ -199,7 +199,7 @@ class QtCurveStyle : public BASE_STYLE
|
|
|
|
void drawSbSliderHandle(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, bool slider=false) const;
|
|
|
|
void drawSbSliderHandle(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, bool slider=false) const;
|
|
|
|
void drawSliderHandle(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, TQSlider *slider, bool tb=false) const;
|
|
|
|
void drawSliderHandle(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags, TQSlider *slider, bool tb=false) const;
|
|
|
|
void drawSliderGroove(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags,
|
|
|
|
void drawSliderGroove(TQPainter *p, const TQRect &r, const TQColorGroup &cg, SFlags flags,
|
|
|
|
const TQStyleControlElementData ceData, const ControlElementFlags elementFlags, const TQWidget *widget) const;
|
|
|
|
const TQStyleControlElementData &ceData, const ControlElementFlags elementFlags, const TQWidget *widget) const;
|
|
|
|
void drawMenuOrToolBarBackground(TQPainter *p, const TQRect &r, const TQColorGroup &cg, bool menu=true, bool horiz=true) const;
|
|
|
|
void drawMenuOrToolBarBackground(TQPainter *p, const TQRect &r, const TQColorGroup &cg, bool menu=true, bool horiz=true) const;
|
|
|
|
void drawHandleMarkers(TQPainter *p, const TQRect &r, SFlags flags, bool tb, ELine handles) const;
|
|
|
|
void drawHandleMarkers(TQPainter *p, const TQRect &r, SFlags flags, bool tb, ELine handles) const;
|
|
|
|
void drawHighlight(TQPainter *p, const TQRect &r, const TQColorGroup &cg, bool horiz, bool inc) const;
|
|
|
|
void drawHighlight(TQPainter *p, const TQRect &r, const TQColorGroup &cg, bool horiz, bool inc) const;
|
|
|
|