* Input Manager *
********************/
MainInputManager::getInstance( p_intf );
-
+
/********************
* Various CONNECTs *
********************/
/* Connect the input manager to the GUI elements it manages */
-
+
/* It is also connected to the control->slider, see the ControlsWidget */
CONNECT( THEMIM->getIM(), positionUpdated( float, int, int ),
this, setDisplayPosition( float, int, int ) );
}
/**
- * CONNECTS on PLAY_STATUS
+ * CONNECTS on PLAY_STATUS
**/
/* Status on the main controller */
CONNECT( THEMIM->getIM(), statusChanged( int ), this, setStatus( int ) );
/* VideoWidget connect mess to avoid different threads speaking to each other */
CONNECT( this, askReleaseVideo( void * ), this, releaseVideoSlot( void * ) );
- CONNECT( this, askVideoToResize( unsigned int, unsigned int ),
+ CONNECT( this, askVideoToResize( unsigned int, unsigned int ),
videoWidget, SetSizing( unsigned int, unsigned int ) );
CONNECT( this, askUpdate(), this, doComponentsUpdate() );
CONNECT( dockPL, topLevelChanged( bool ), this, doComponentsUpdate() );
- CONNECT( controls, advancedControlsToggled( bool ),
+ CONNECT( controls, advancedControlsToggled( bool ),
this, doComponentsUpdate() );
resize( settings->value( "size", QSize( 350, 60 ) ).toSize() );
settings->beginGroup( "MainWindow" );
settings->setValue( "playlist-floats", dockPL->isFloating() );
- settings->setValue( "adv-controls",
+ settings->setValue( "adv-controls",
getControlsVisibilityStatus() & CONTROLS_ADVANCED );
settings->setValue( "pos", pos() );
settings->setValue( "size", size() );
{
int nwidth = controls->sizeHint().width();
int nheight = controls->sizeHint().height();
- + menuBar()->size().height()
+ + menuBar()->size().height()
+ statusBar()->size().height();
msg_Dbg( p_intf, "1 %i %i", nheight, nwidth );
static void MiscPopupMenu( intf_thread_t * );
static void PopupMenu( intf_thread_t *, bool );
static void PopupMenuStaticEntries( intf_thread_t *p_intf, QMenu *menu );
- static void PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf,
+ static void PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf,
input_thread_t *p_input );
/* Systray */
static void updateSystrayMenu( MainInterface *,intf_thread_t *,