dialogs/gototime.moc.cpp \
dialogs/open.moc.cpp \
dialogs/podcast_configuration.moc.cpp \
+ dialogs/vlm.moc.cpp \
components/extended_panels.moc.cpp \
components/infopanels.moc.cpp \
components/preferences_widgets.moc.cpp \
ui/open_net.h \
ui/open_capture.h \
ui/open.h \
+ ui/vlm.h \
ui/podcast_configuration.h \
ui/sprefs_audio.h \
ui/sprefs_input.h \
ui/sprefs_video.h \
ui/sprefs_hotkeys.h \
ui/streampanel.h \
- ui/vlm.h \
ui/sout.h
if ENABLE_QT4
dialogs/help.cpp \
dialogs/gototime.cpp \
dialogs/open.cpp \
+ dialogs/vlm.cpp \
dialogs/podcast_configuration.cpp \
components/extended_panels.cpp \
components/infopanels.cpp \
dialogs/help.hpp \
dialogs/gototime.hpp \
dialogs/open.hpp \
+ dialogs/vlm.hpp \
dialogs/podcast_configuration.hpp \
components/extended_panels.hpp \
components/infopanels.hpp \
static HelpDialog * getInstance( intf_thread_t *p_intf )
{
if( !instance)
- instance = new HelpDialog( p_intf);
+ instance = new HelpDialog( p_intf );
return instance;
}
virtual ~HelpDialog();
--- /dev/null
+/*****************************************************************************
+ * sout.cpp : Stream output dialog ( old-style )
+ ****************************************************************************
+ * Copyright ( C ) 2006 the VideoLAN team
+ * $Id: sout.cpp 21875 2007-09-08 16:01:33Z jb $
+ *
+ * Authors: Clément Stenac <zorglub@videolan.org>
+ * Jean-Baptiste Kempf <jb@videolan.org>
+ * Jean-François Massol <jf.massol -at- gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * ( at your option ) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
+
+#include "dialogs/vlm.hpp"
+#include "qt4.hpp"
+#include <vlc_streaming.h>
+
+#include <iostream>
+#include <QString>
+#include <QFileDialog>
+
+VLMDialog *VLMDialog::instance = NULL;
+
+
+VLMDialog::VLMDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
+{
+ setWindowTitle( qtr( "VLM front-end" ) );
+
+ /* UI stuff */
+ ui.setupUi( this );
+}
+
+VLMDialog::~VLMDialog(){}
+
+void VLMDialog::close(){
+ close();
+}
+
--- /dev/null
+/*****************************************************************************
+ * vlm.hpp : Stream output dialog ( old-style, ala WX )
+ ****************************************************************************
+ * Copyright ( C ) 2006 the VideoLAN team
+ * $Id: vlm.hpp 21875 2007-09-08 16:01:33Z jb $
+ *
+ * Authors: Jean-François Massol <jf.massol@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * ( at your option ) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
+
+#ifndef _VLM_DIALOG_H_
+#define _VLM_DIALOG_H_
+
+#include <vlc/vlc.h>
+
+#include "ui/vlm.h"
+#include "util/qvlcframe.hpp"
+
+
+class VLMDialog : public QVLCFrame
+{
+ Q_OBJECT;
+public:
+ static VLMDialog * getInstance( intf_thread_t *p_intf )
+ {
+ if( !instance)
+ instance = new VLMDialog( p_intf );
+ return instance;
+ };
+ virtual ~VLMDialog();
+
+private:
+ VLMDialog( intf_thread_t *);
+ static VLMDialog *instance;
+ Ui::Vlm ui;
+
+private slots:
+ void close();
+};
+
+#endif
#include "dialogs/extended.hpp"
#include "dialogs/sout.hpp"
#include "dialogs/open.hpp"
+#include "dialogs/vlm.hpp"
#include "dialogs/help.hpp"
#include "dialogs/gototime.hpp"
#include "dialogs/podcast_configuration.hpp"
+
DialogsProvider* DialogsProvider::instance = NULL;
DialogsProvider::DialogsProvider( intf_thread_t *_p_intf ) :
void DialogsProvider::vlmDialog()
{
- /* FIXME - Implement me */
- /* VLMDialog::getInstance( p_intf )->toggleVisible(); */
+ VLMDialog::getInstance( p_intf )->toggleVisible();
}
void DialogsProvider::helpDialog()
#if 0 /* Not Implemented yet */
DP_SADD( menu, qtr( I_MENU_BOOKMARK ), "","", bookmarksDialog(), "Ctrl+B" );
- DP_SADD( menu, qtr( I_MENU_VLM ), "","", vlmDialog(), "Ctrl+V" );
#endif
+ DP_SADD( menu, qtr( I_MENU_VLM ), "","", vlmDialog(), "Ctrl+V" );
+
menu->addSeparator();
if( mi )
<property name="title" >
<string>Media configuration</string>
</property>
- <widget class="MultiPageWidget" name="typeVLM" >
+ <widget class="QStackedWidget" name="typeVLM" >
<property name="geometry" >
<rect>
<x>0</x>
</column>
</widget>
</widget>
- <customwidgets>
- <customwidget>
- <class>MultiPageWidget</class>
- <extends>QWidget</extends>
- <header>multipagewidget.h</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
<resources/>
<connections>
<connection>