Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
f68dfa08
Commit
f68dfa08
authored
Nov 21, 2006
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: ExtraAudioToggle
parent
a4d92cb2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+15
-0
modules/gui/qt4/components/open.hpp
modules/gui/qt4/components/open.hpp
+1
-1
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+3
-1
No files found.
modules/gui/qt4/components/open.cpp
View file @
f68dfa08
...
@@ -22,6 +22,8 @@
...
@@ -22,6 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
#include "qt4.hpp"
#include "components/open.hpp"
#include "components/open.hpp"
/**************************************************************************
/**************************************************************************
...
@@ -38,6 +40,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
...
@@ -38,6 +40,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
OpenPanel
(
_parent
,
_p_intf
)
OpenPanel
(
_parent
,
_p_intf
)
{
{
ui
.
setupUi
(
this
);
ui
.
setupUi
(
this
);
BUTTONACT
(
ui
.
extraAudioButton
,
toggleExtraAudio
()
);
}
}
FileOpenPanel
::~
FileOpenPanel
()
FileOpenPanel
::~
FileOpenPanel
()
...
@@ -51,6 +54,18 @@ QString FileOpenPanel::getUpdatedMRL()
...
@@ -51,6 +54,18 @@ QString FileOpenPanel::getUpdatedMRL()
return
ui
.
fileInput
->
currentText
();
return
ui
.
fileInput
->
currentText
();
}
}
void
FileOpenPanel
::
toggleExtraAudio
()
{
if
(
ui
.
audioGroupBox
->
isVisible
())
{
ui
.
audioGroupBox
->
hide
();
}
else
{
ui
.
audioGroupBox
->
show
();
}
}
/**************************************************************************
/**************************************************************************
* Disk open
* Disk open
...
...
modules/gui/qt4/components/open.hpp
View file @
f68dfa08
...
@@ -59,9 +59,9 @@ private:
...
@@ -59,9 +59,9 @@ private:
Ui
::
OpenFile
ui
;
Ui
::
OpenFile
ui
;
public
slots
:
public
slots
:
virtual
void
sendUpdate
()
;
virtual
void
sendUpdate
()
;
void
toggleExtraAudio
()
;
signals:
signals:
void
dataUpdated
(
QString
,
QString
)
;
void
dataUpdated
(
QString
,
QString
)
;
};
};
class
NetOpenPanel
:
public
OpenPanel
class
NetOpenPanel
:
public
OpenPanel
...
...
modules/gui/qt4/dialogs/open.cpp
View file @
f68dfa08
...
@@ -46,7 +46,9 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
...
@@ -46,7 +46,9 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
ui
.
Tab
->
addTab
(
netOpenPanel
,
"Network"
);
ui
.
Tab
->
addTab
(
netOpenPanel
,
"Network"
);
ui
.
advancedFrame
->
hide
();
ui
.
advancedFrame
->
hide
();
BUTTONACT
(
ui
.
advancedButton
,
toggleAdvancedPanel
()
);
BUTTONACT
(
ui
.
closeButton
,
ok
());
BUTTONACT
(
ui
.
cancelButton
,
cancel
());
BUTTONACT
(
ui
.
advancedButton
,
toggleAdvancedPanel
()
);
}
}
OpenDialog
::~
OpenDialog
()
OpenDialog
::~
OpenDialog
()
...
...
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