#include <QLabel>
#include <QSlider>
#include <QWidgetAction>
+#if 0
#include <QDockWidget>
+#endif
#include <QToolBar>
#include <QGroupBox>
#include <QDate>
nameLabel = new QLabel;
nameLabel->setTextInteractionFlags( Qt::TextSelectableByMouse
| Qt::TextSelectableByKeyboard );
- speedLabel = new QLabel( "1.00x" );
+ speedLabel = new SpeedLabel( p_intf, "1.00x" );
speedLabel->setContextMenuPolicy ( Qt::CustomContextMenu );
/* Styling those labels */
CONFIG_GENERIC_NOBOOL( "qt-updates-notif", Bool ); line++;
CONFIG_GENERIC_NOBOOL( "qt-updates-days", Integer ); line++;
#endif
+ CONFIG_GENERIC( "security-policy", IntegerList ); line++;
+
QPushButton *ok = new QPushButton( qtr( "Ok" ) );
gLayout->addWidget( ok, 2, 2 );
void MainInterface::setStatus( int status )
{
+ msg_Dbg( p_intf, "I was here, updating your status" );
/* Forward the status to the controls to toggle Play/Pause */
controls->setStatus( status );
+
+ controls->updateInput();
+ speedControl->setEnable( THEMIM->getIM()->hasInput() );
+
/* And in the systray for the menu */
if( sysTray )
QVLCMenu::updateSystrayMenu( this, p_intf );