Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
2522a2c3
Commit
2522a2c3
authored
Sep 09, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - VLM. Patch by Jean-François Massol, reworked by /me
parent
afa5493c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
115 additions
and
14 deletions
+115
-14
modules/gui/qt4/Modules.am
modules/gui/qt4/Modules.am
+4
-1
modules/gui/qt4/dialogs/help.hpp
modules/gui/qt4/dialogs/help.hpp
+1
-1
modules/gui/qt4/dialogs/vlm.cpp
modules/gui/qt4/dialogs/vlm.cpp
+50
-0
modules/gui/qt4/dialogs/vlm.hpp
modules/gui/qt4/dialogs/vlm.hpp
+54
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+3
-2
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+2
-1
modules/gui/qt4/ui/vlm.ui
modules/gui/qt4/ui/vlm.ui
+1
-9
No files found.
modules/gui/qt4/Modules.am
View file @
2522a2c3
...
...
@@ -31,6 +31,7 @@ nodist_SOURCES_qt4 = \
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 \
...
...
@@ -51,6 +52,7 @@ nodist_SOURCES_qt4 = \
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 \
...
...
@@ -59,7 +61,6 @@ nodist_SOURCES_qt4 = \
ui/sprefs_video.h \
ui/sprefs_hotkeys.h \
ui/streampanel.h \
ui/vlm.h \
ui/sout.h
if ENABLE_QT4
...
...
@@ -113,6 +114,7 @@ SOURCES_qt4 = qt4.cpp \
dialogs/help.cpp \
dialogs/gototime.cpp \
dialogs/open.cpp \
dialogs/vlm.cpp \
dialogs/podcast_configuration.cpp \
components/extended_panels.cpp \
components/infopanels.cpp \
...
...
@@ -145,6 +147,7 @@ noinst_HEADERS = \
dialogs/help.hpp \
dialogs/gototime.hpp \
dialogs/open.hpp \
dialogs/vlm.hpp \
dialogs/podcast_configuration.hpp \
components/extended_panels.hpp \
components/infopanels.hpp \
...
...
modules/gui/qt4/dialogs/help.hpp
View file @
2522a2c3
...
...
@@ -32,7 +32,7 @@ public:
static
HelpDialog
*
getInstance
(
intf_thread_t
*
p_intf
)
{
if
(
!
instance
)
instance
=
new
HelpDialog
(
p_intf
);
instance
=
new
HelpDialog
(
p_intf
);
return
instance
;
}
virtual
~
HelpDialog
();
...
...
modules/gui/qt4/dialogs/vlm.cpp
0 → 100644
View file @
2522a2c3
/*****************************************************************************
* 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
();
}
modules/gui/qt4/dialogs/vlm.hpp
0 → 100644
View file @
2522a2c3
/*****************************************************************************
* 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
modules/gui/qt4/dialogs_provider.cpp
View file @
2522a2c3
...
...
@@ -41,10 +41,12 @@
#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
)
:
...
...
@@ -156,8 +158,7 @@ void DialogsProvider::gotoTimeDialog()
void
DialogsProvider
::
vlmDialog
()
{
/* FIXME - Implement me */
/* VLMDialog::getInstance( p_intf )->toggleVisible(); */
VLMDialog
::
getInstance
(
p_intf
)
->
toggleVisible
();
}
void
DialogsProvider
::
helpDialog
()
...
...
modules/gui/qt4/menus.cpp
View file @
2522a2c3
...
...
@@ -257,8 +257,9 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
#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
)
...
...
modules/gui/qt4/ui/vlm.ui
View file @
2522a2c3
...
...
@@ -35,7 +35,7 @@
<property name="title" >
<string>Media configuration</string>
</property>
<widget class="
MultiPage
Widget" name="typeVLM" >
<widget class="
QStacked
Widget" name="typeVLM" >
<property name="geometry" >
<rect>
<x>0</x>
...
...
@@ -433,14 +433,6 @@
</column>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>MultiPageWidget</class>
<extends>QWidget</extends>
<header>multipagewidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment