Lines Matching refs:nControlState
55 QStyle::State vclStateValue2StateFlag( ControlState nControlState, in vclStateValue2StateFlag() argument
59 ( (nControlState & CTRL_STATE_DEFAULT)? QStyle::State_None: QStyle::State_None ) | in vclStateValue2StateFlag()
60 ( (nControlState & CTRL_STATE_ENABLED)? QStyle::State_Enabled: QStyle::State_None ) | in vclStateValue2StateFlag()
61 ( (nControlState & CTRL_STATE_FOCUSED)? QStyle::State_HasFocus: QStyle::State_None ) | in vclStateValue2StateFlag()
62 ( (nControlState & CTRL_STATE_PRESSED)? QStyle::State_Sunken: QStyle::State_None ) | in vclStateValue2StateFlag()
63 ( (nControlState & CTRL_STATE_SELECTED)? QStyle::State_Selected : QStyle::State_None ) | in vclStateValue2StateFlag()
64 ( (nControlState & CTRL_STATE_ROLLOVER)? QStyle::State_MouseOver: QStyle::State_None ); in vclStateValue2StateFlag()
232 const Rectangle& rControlRegion, ControlState nControlState, in drawNativeControl() argument
276 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
284 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
300 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
302 else if (part == PART_MENU_ITEM_CHECK_MARK && (nControlState & CTRL_STATE_PRESSED) ) in drawNativeControl()
306 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
308 else if (part == PART_MENU_ITEM_RADIO_MARK && (nControlState & CTRL_STATE_PRESSED) ) in drawNativeControl()
312 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
323 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
333 option.state = vclStateValue2StateFlag( nControlState, value ); in drawNativeControl()
337 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
344 option.state = vclStateValue2StateFlag( nControlState, value ); in drawNativeControl()
347 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
358 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
366 vclStateValue2StateFlag(nControlState, value), 2 ); in drawNativeControl()
369 vclStateValue2StateFlag(nControlState, value), 0 ); in drawNativeControl()
377 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
384 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
392 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
397 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
406 if (nControlState & CTRL_STATE_PRESSED) in drawNativeControl()
410 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
416 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
448 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
470 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
476 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
482 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
488 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
493 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
518 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
531 vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()
540 option.state = vclStateValue2StateFlag( nControlState, value ); in drawNativeControl()
546 draw( QStyle::CC_Slider, &option, m_image, vclStateValue2StateFlag(nControlState, value) ); in drawNativeControl()