///
/// Ensures that the widget and its children have been polished by
/// QStyle (i.e., have a proper font and palette).
///
/// QWidget calls this function after it has been fully constructed
/// but before it is shown the very first time. You can call this
/// function if you want to ensure that the widget is polished before
/// doing an operation, e.g., the correct font size might be needed in
/// the widget's sizeHint() reimplementation. Note that this function
/// *is* called from the default implementation of sizeHint().
///
/// Polishing is useful for final initialization that must happen after
/// all constructors (from base classes as well as from subclasses)
/// have been called.
///
/// If you need to change some settings when a widget is polished,
/// reimplement event() and handle the QEvent::Polish event type.
///
/// **Note:** The function is declared const so that it can be called from
/// other const functions (e.g., sizeHint()).
///
/// **See also:** [`event()`]
Ensures that the widget and its children have been polished by
QStyle .

QWidget calls this function after it has been fully constructed
but before it is shown the very first time. You can call this
function if you want to ensure that the widget is polished before
doing an operation, e.g., the correct font size might be needed in
the widget's sizeHint() reimplementation. Note that this function
is* called from the default implementation of sizeHint().

Polishing is useful for final initialization that must happen after
all constructors (from base classes as well as from subclasses)
have been called.

If you need to change some settings when a widget is polished,
reimplement event() and handle the QEvent::Polish event type.

The function is declared const so that it can be called from
other const functions ).


Ensures that the widget and its children have been polished by QStyle . QWidget calls this function after it has been fully constructed but before it is shown the very first time . You can call this function if you want to ensure that the widget is polished before doing an operation e . g . the correct font size might be needed in the widget ' s sizeHint () reimplementation . Note that this function is * called from the default implementation of sizeHint () . Polishing is useful for final initialization that must happen after all constructors ( from base classes as well as from subclasses ) have been called . If you need to change some settings when a widget is polished reimplement event () and handle the QEvent :: Polish event type . The function is declared const so that it can be called from other const functions ) .
pub fn ensure_polished(&self) -> &Self {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            ((*funcs).ensure_polished)(obj_data);
        }
        self
    }
pub fn ensure_polished ( & self ) -> & Self { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { ( ( * funcs ) . ensure_polished ) ( obj_data ) ; } self }
Ensures that the widget and its children have been polished by
QStyle (i.e., have a proper font and palette).
Ensures that the widget and its children have been polished by QStyle ( i . e . have a proper font and palette ) .
&self