///
/// Returns the position of the mouse cursor relative to the widget
/// that received the event.
///
/// If you move your widgets around in response to mouse events,
/// use globalPosF() instead of this function.
///
/// **See also:** [`global_pos_f()`]
Returns the position of the mouse cursor relative to the widget
that received the event.

If you move your widgets around in response to mouse events,
use globalPosF() instead of this function.


Returns the position of the mouse cursor relative to the widget that received the event . If you move your widgets around in response to mouse events use globalPosF () instead of this function .
pub fn pos_f(&self) -> Option<PointF> {
        let (obj_data, funcs) = self.get_wheel_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).pos_f)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = PointF::new_from_rc(t);
            } else {
                ret_val = PointF::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn pos_f ( & self ) -> Option < PointF > { let ( obj_data , funcs ) = self . get_wheel_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . pos_f ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = PointF :: new_from_rc ( t ) ; } else { ret_val = PointF :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Returns the position of the mouse cursor relative to the widget
that received the event.
Returns the position of the mouse cursor relative to the widget that received the event .
&self