|
|
|
@ -1206,7 +1206,7 @@ void KlearlookStyle::drawLightBevel(
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KlearlookStyle::drawArrow( TQPainter *p, const TQRect &r, const TQColorGroup &cg, TQStyle::SFlags flags,
|
|
|
|
|
TQStyle::TQ_PrimitiveElement pe, bool small, bool checkActive ) const {
|
|
|
|
|
TQStyle::PrimitiveElement pe, bool small, bool checkActive ) const {
|
|
|
|
|
TQPointArray a;
|
|
|
|
|
const TQColor &col = flags & Style_Enabled
|
|
|
|
|
? checkActive && flags & Style_Active
|
|
|
|
@ -1296,7 +1296,7 @@ void KlearlookStyle::drawArrow( TQPainter *p, const TQRect &r, const TQColorGrou
|
|
|
|
|
p->restore();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KlearlookStyle::drawPrimitiveMenu( TQ_PrimitiveElement pe, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg,
|
|
|
|
|
void KlearlookStyle::drawPrimitiveMenu( PrimitiveElement pe, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg,
|
|
|
|
|
SFlags flags, const TQStyleOption &data ) const {
|
|
|
|
|
switch ( pe ) {
|
|
|
|
|
case PE_CheckMark:
|
|
|
|
@ -1335,7 +1335,7 @@ void KlearlookStyle::drawPrimitiveMenu( TQ_PrimitiveElement pe, TQPainter *p, co
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KlearlookStyle::drawPrimitive( TQ_PrimitiveElement pe, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg,
|
|
|
|
|
void KlearlookStyle::drawPrimitive( PrimitiveElement pe, TQPainter *p, const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, const TQRect &r, const TQColorGroup &cg,
|
|
|
|
|
SFlags flags, const TQStyleOption &data ) const {
|
|
|
|
|
int x, y, w, h;
|
|
|
|
|
|
|
|
|
@ -3259,7 +3259,7 @@ void KlearlookStyle::drawComplexControl(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
if ( ( controls & SC_SpinWidgetUp ) && up.isValid() ) {
|
|
|
|
|
TQ_PrimitiveElement pe = PE_SpinWidgetUp;
|
|
|
|
|
PrimitiveElement pe = PE_SpinWidgetUp;
|
|
|
|
|
SFlags upflags = flags;
|
|
|
|
|
|
|
|
|
|
if ( spinwidget->buttonSymbols() == TQSpinWidget::PlusMinus )
|
|
|
|
@ -3273,7 +3273,7 @@ void KlearlookStyle::drawComplexControl(
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ( ( controls & SC_SpinWidgetDown ) && down.isValid() ) {
|
|
|
|
|
TQ_PrimitiveElement pe = PE_SpinWidgetDown;
|
|
|
|
|
PrimitiveElement pe = PE_SpinWidgetDown;
|
|
|
|
|
SFlags downflags = flags;
|
|
|
|
|
|
|
|
|
|
if ( spinwidget->buttonSymbols() == TQSpinWidget::PlusMinus )
|
|
|
|
|