|
|
@ -1380,7 +1380,7 @@ bool KeramikStyle::isFormWidget(const TQStyleControlElementData &ceData, const C
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KeramikStyle::drawControl( TQ_ControlElement element,
|
|
|
|
void KeramikStyle::drawControl( ControlElement element,
|
|
|
|
TQPainter *p,
|
|
|
|
TQPainter *p,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
@ -1603,7 +1603,7 @@ void KeramikStyle::drawControl( TQ_ControlElement element,
|
|
|
|
tb->orientation() == TQt::Horizontal);
|
|
|
|
tb->orientation() == TQt::Horizontal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
TDEStyle::drawControl( (TQ_ControlElement)CE_DockWindowEmptyArea, p, ceData, elementFlags,
|
|
|
|
TDEStyle::drawControl( (ControlElement)CE_DockWindowEmptyArea, p, ceData, elementFlags,
|
|
|
|
r, cg, flags, opt, widget );
|
|
|
|
r, cg, flags, opt, widget );
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1963,7 +1963,7 @@ void KeramikStyle::drawControl( TQ_ControlElement element,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KeramikStyle::drawControlMask( TQ_ControlElement element,
|
|
|
|
void KeramikStyle::drawControlMask( ControlElement element,
|
|
|
|
TQPainter *p,
|
|
|
|
TQPainter *p,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
@ -1995,7 +1995,7 @@ bool KeramikStyle::isSizeConstrainedCombo(const TQStyleControlElementData &ceDat
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KeramikStyle::drawComplexControl( TQ_ComplexControl control,
|
|
|
|
void KeramikStyle::drawComplexControl( ComplexControl control,
|
|
|
|
TQPainter *p,
|
|
|
|
TQPainter *p,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
@ -2164,7 +2164,7 @@ void KeramikStyle::drawComplexControl( TQ_ComplexControl control,
|
|
|
|
case CC_SpinWidget:
|
|
|
|
case CC_SpinWidget:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const TQSpinWidget* sw = static_cast< const TQSpinWidget* >( widget );
|
|
|
|
const TQSpinWidget* sw = static_cast< const TQSpinWidget* >( widget );
|
|
|
|
TQRect br = visualRect( querySubControlMetrics( (TQ_ComplexControl)CC_SpinWidget, ceData, elementFlags, SC_SpinWidgetButtonField, TQStyleOption::Default, widget ), ceData, elementFlags );
|
|
|
|
TQRect br = visualRect( querySubControlMetrics( (ComplexControl)CC_SpinWidget, ceData, elementFlags, SC_SpinWidgetButtonField, TQStyleOption::Default, widget ), ceData, elementFlags );
|
|
|
|
if ( controls & SC_SpinWidgetButtonField )
|
|
|
|
if ( controls & SC_SpinWidgetButtonField )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Keramik::SpinBoxPainter().draw( p, br, cg.button(), cg.background(), !sw->isEnabled() );
|
|
|
|
Keramik::SpinBoxPainter().draw( p, br, cg.button(), cg.background(), !sw->isEnabled() );
|
|
|
@ -2361,7 +2361,7 @@ void KeramikStyle::drawComplexControl( TQ_ComplexControl control,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void KeramikStyle::drawComplexControlMask( TQ_ComplexControl control,
|
|
|
|
void KeramikStyle::drawComplexControlMask( ComplexControl control,
|
|
|
|
TQPainter *p,
|
|
|
|
TQPainter *p,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const ControlElementFlags elementFlags,
|
|
|
|
const ControlElementFlags elementFlags,
|
|
|
@ -2574,7 +2574,7 @@ TQSize KeramikStyle::sizeFromContents( ContentsType contents,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TQStyle::SubControl KeramikStyle::querySubControl( TQ_ComplexControl control,
|
|
|
|
TQStyle::SubControl KeramikStyle::querySubControl( ComplexControl control,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
const TQPoint& point,
|
|
|
|
const TQPoint& point,
|
|
|
@ -2594,7 +2594,7 @@ TQStyle::SubControl KeramikStyle::querySubControl( TQ_ComplexControl control,
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TQRect KeramikStyle::querySubControlMetrics( TQ_ComplexControl control,
|
|
|
|
TQRect KeramikStyle::querySubControlMetrics( ComplexControl control,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
const TQStyleControlElementData &ceData,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
ControlElementFlags elementFlags,
|
|
|
|
SubControl subcontrol,
|
|
|
|
SubControl subcontrol,
|
|
|
|