Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
66a8a1a8
Commit
66a8a1a8
authored
Aug 21, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some Sout dialog resizing issues.
parent
204edd2d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
125 additions
and
118 deletions
+125
-118
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+5
-7
modules/gui/qt4/ui/sout.ui
modules/gui/qt4/ui/sout.ui
+120
-111
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
66a8a1a8
...
...
@@ -199,10 +199,10 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf,
BUTTONACT
(
okButton
,
ok
()
);
BUTTONACT
(
cancelButton
,
cancel
()
);
if
(
b_transcode_only
)
toggleSout
();
CONNECT
(
ui
.
UDPOutput
,
toggled
(
bool
),
this
,
changeUDPandRTPmess
(
bool
)
);
CONNECT
(
ui
.
RTPOutput
,
clicked
(
bool
),
this
,
RTPtoggled
(
bool
)
);
if
(
b_transcode_only
)
toggleSout
();
}
void
SoutDialog
::
fileBrowse
()
...
...
@@ -282,7 +282,6 @@ void SoutDialog::setOptions()
updateMRL
();
}
//FIXME
void
SoutDialog
::
toggleSout
()
{
//Toggle all the streaming options.
...
...
@@ -291,7 +290,7 @@ void SoutDialog::toggleSout()
HIDEORSHOW
(
ui
.
HTTPEdit
)
;
HIDEORSHOW
(
ui
.
RTPEdit
)
;
HIDEORSHOW
(
ui
.
MMSHEdit
)
;
HIDEORSHOW
(
ui
.
UDPEdit
)
;
HIDEORSHOW
(
ui
.
HTTPLabel
)
;
HIDEORSHOW
(
ui
.
RTPLabel
)
;
HIDEORSHOW
(
ui
.
MMSHLabel
)
;
HIDEORSHOW
(
ui
.
UDPLabel
)
;
HIDEORSHOW
(
ui
.
HTTPPortLabel
)
;
HIDEORSHOW
(
ui
.
RTPPortLabel
)
;
HIDEORSHOW
(
ui
.
MMSHPortLabel
)
;
HIDEORSHOW
(
ui
.
UDPPortLabel
)
HIDEORSHOW
(
ui
.
HTTPPort
)
;
HIDEORSHOW
(
ui
.
RTPPort
)
;
HIDEORSHOW
(
ui
.
MMSHPort
)
;
HIDEORSHOW
(
ui
.
UDPPort
)
;
HIDEORSHOW
(
ui
.
RTPPortLabel2
);
HIDEORSHOW
(
ui
.
RTPPort2
);
HIDEORSHOW
(
ui
.
HTTPPort
)
;
HIDEORSHOW
(
ui
.
RTPPort
)
;
HIDEORSHOW
(
ui
.
MMSHPort
)
;
HIDEORSHOW
(
ui
.
UDPPort
)
;
HIDEORSHOW
(
ui
.
RTPPortLabel2
);
HIDEORSHOW
(
ui
.
RTPPort2
);
HIDEORSHOW
(
ui
.
UDPRTPLabel
)
HIDEORSHOW
(
ui
.
sap
);
HIDEORSHOW
(
ui
.
sapName
);
HIDEORSHOW
(
ui
.
sapGroup
);
HIDEORSHOW
(
ui
.
sapGroupLabel
);
...
...
@@ -307,9 +306,8 @@ void SoutDialog::toggleSout()
if
(
b_transcode_only
)
okButton
->
setText
(
"&Save"
);
else
okButton
->
setText
(
"&Stream"
);
/* FIXME:
* The Save dialog is too big if the Stream dialog has already be shown */
updateGeometry
();
setMinimumHeight
(
500
);
resize
(
width
(),
sizeHint
().
height
()
);
}
void
SoutDialog
::
changeUDPandRTPmess
(
bool
b_udp
)
...
...
modules/gui/qt4/ui/sout.ui
View file @
66a8a1a8
This diff is collapsed.
Click to expand it.
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