vlc_linux/vlc-3.0.16/modules/gui/qt/main_interface.cpp
/**********************************************************************
 * Handling of sizing of the components
 **********************************************************************/
Handling of sizing of the components
Handling of sizing of the components
void MainInterface::debug()
{
#ifdef DEBUG_INTF
    if( controls ) {
        msg_Dbg( p_intf, "Controls size: %i - %i", controls->size().height(), controls->size().width() );
        msg_Dbg( p_intf, "Controls minimumsize: %i - %i", controls->minimumSize().height(), controls->minimumSize().width() );
        msg_Dbg( p_intf, "Controls sizeHint: %i - %i", controls->sizeHint().height(), controls->sizeHint().width() );
    }
    msg_Dbg( p_intf, "size: %i - %i", size().height(), size().width() );
    msg_Dbg( p_intf, "sizeHint: %i - %i", sizeHint().height(), sizeHint().width() );
    msg_Dbg( p_intf, "minimumsize: %i - %i", minimumSize().height(), minimumSize().width() );
    msg_Dbg( p_intf, "Stack size: %i - %i", stackCentralW->size().height(), stackCentralW->size().width() );
    msg_Dbg( p_intf, "Stack sizeHint: %i - %i", stackCentralW->sizeHint().height(), stackCentralW->sizeHint().width() );
    msg_Dbg( p_intf, "Central size: %i - %i", centralWidget()->size().height(), centralWidget()->size().width() );
#endif
}
void MainInterface :: debug ( ) { #ifdef DEBUG_INTF if ( controls ) { msg_Dbg ( p_intf , " " , controls -> size ( ) . height ( ) , controls -> size ( ) . width ( ) ) ; msg_Dbg ( p_intf , " " , controls -> minimumSize ( ) . height ( ) , controls -> minimumSize ( ) . width ( ) ) ; msg_Dbg ( p_intf , " " , controls -> sizeHint ( ) . height ( ) , controls -> sizeHint ( ) . width ( ) ) ; } msg_Dbg ( p_intf , " " , size ( ) . height ( ) , size ( ) . width ( ) ) ; msg_Dbg ( p_intf , " " , sizeHint ( ) . height ( ) , sizeHint ( ) . width ( ) ) ; msg_Dbg ( p_intf , " " , minimumSize ( ) . height ( ) , minimumSize ( ) . width ( ) ) ; msg_Dbg ( p_intf , " " , stackCentralW -> size ( ) . height ( ) , stackCentralW -> size ( ) . width ( ) ) ; msg_Dbg ( p_intf , " " , stackCentralW -> sizeHint ( ) . height ( ) , stackCentralW -> sizeHint ( ) . width ( ) ) ; msg_Dbg ( p_intf , " " , centralWidget ( ) -> size ( ) . height ( ) , centralWidget ( ) -> size ( ) . width ( ) ) ; #endif }
Handling of sizing of the components
Handling of sizing of the components