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
ce1eb441
Commit
ce1eb441
authored
Apr 19, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Sout: add a function to toggleVisibility of StreamOut widgets... Yes I will need it :D
parent
74e74a96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+14
-0
modules/gui/qt4/dialogs/sout.hpp
modules/gui/qt4/dialogs/sout.hpp
+1
-0
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
ce1eb441
...
@@ -110,6 +110,20 @@ void SoutDialog::fileBrowse()
...
@@ -110,6 +110,20 @@ void SoutDialog::fileBrowse()
updateMRL
();
updateMRL
();
}
}
void
SoutDialog
::
toggleSout
()
{
#define TGV(x) { \
if( (x->isHidden()) ) \
x->show(); \
else x->hide();\
}
TGV
(
ui
.
HTTPOutput
)
;
TGV
(
ui
.
UDPOutput
)
;
TGV
(
ui
.
MMSHOutput
)
;
TGV
(
ui
.
HTTPEdit
)
;
TGV
(
ui
.
UDPEdit
)
;
TGV
(
ui
.
MMSHEdit
)
;
TGV
(
ui
.
HTTPLabel
)
;
TGV
(
ui
.
UDPLabel
)
;
TGV
(
ui
.
MMSHLabel
)
;
TGV
(
ui
.
HTTPPortLabel
)
;
TGV
(
ui
.
UDPPortLabel
)
;
TGV
(
ui
.
MMSHPortLabel
)
;
TGV
(
ui
.
HTTPPort
)
;
TGV
(
ui
.
UDPPort
)
;
TGV
(
ui
.
MMSHPort
)
;
}
void
SoutDialog
::
ok
()
void
SoutDialog
::
ok
()
{
{
mrl
=
ui
.
mrlEdit
->
text
();
mrl
=
ui
.
mrlEdit
->
text
();
...
...
modules/gui/qt4/dialogs/sout.hpp
View file @
ce1eb441
...
@@ -46,6 +46,7 @@ public slots:
...
@@ -46,6 +46,7 @@ public slots:
void
cancel
();
void
cancel
();
void
updateMRL
();
void
updateMRL
();
void
fileBrowse
();
void
fileBrowse
();
void
toggleSout
();
};
};
#endif
#endif
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