Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
ce1eb441
Commit
ce1eb441
authored
Apr 19, 2007
by
Jean-Baptiste Kempf
Browse files
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
modules/gui/qt4/dialogs/sout.cpp
View file @
ce1eb441
...
...
@@ -110,6 +110,20 @@ void SoutDialog::fileBrowse()
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
()
{
mrl
=
ui
.
mrlEdit
->
text
();
...
...
modules/gui/qt4/dialogs/sout.hpp
View file @
ce1eb441
...
...
@@ -46,6 +46,7 @@ public slots:
void
cancel
();
void
updateMRL
();
void
fileBrowse
();
void
toggleSout
();
};
#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