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
e4b84859
Commit
e4b84859
authored
Sep 08, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Sout: Hide the UDP output options by default, but provide an easy way to activate it.
parent
13b03ef4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
71 additions
and
15 deletions
+71
-15
modules/gui/qt4/dialogs/sout.cpp
modules/gui/qt4/dialogs/sout.cpp
+2
-0
modules/gui/qt4/ui/sout.ui
modules/gui/qt4/ui/sout.ui
+69
-15
No files found.
modules/gui/qt4/dialogs/sout.cpp
View file @
e4b84859
...
...
@@ -41,6 +41,8 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf,
/* UI stuff */
ui
.
setupUi
(
this
);
ui
.
UDPEdit
->
hide
();
ui
.
UDPLabel
->
hide
();
ui
.
UDPPort
->
hide
();
ui
.
UDPPortLabel
->
hide
();
/* ADD HERE for new profiles */
#define ADD_PROFILE( name, shortname ) ui.profileBox->addItem( qtr( name ), QVariant( QString( shortname ) ) );
ADD_PROFILE
(
"Custom"
,
"Custom"
)
...
...
modules/gui/qt4/ui/sout.ui
View file @
e4b84859
...
...
@@ -278,33 +278,26 @@
</item>
<item row="5" column="0" >
<widget class="QCheckBox" name="UDPOutput" >
<property name="toolTip" >
<string>_("Using this option is not recommended in most of the cases.")</string>
</property>
<property name="text" >
<string>
UDP
</string>
<string>
_("Prefer UDP over RTP")
</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<widget class="QLabel" name="UDPLabel" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>_("Address")</string>
</property>
</widget>
</item>
<item row="5" column="2" >
<widget class="QLineEdit" name="UDPEdit" >
<property name="enabled" >
<bool>false</bool>
</property>
</widget>
<widget class="QLineEdit" name="UDPEdit" />
</item>
<item row="5" column="3" >
<widget class="QLabel" name="UDPPortLabel" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>_("Port")</string>
</property>
...
...
@@ -315,9 +308,6 @@
</item>
<item row="5" column="4" >
<widget class="QSpinBox" name="UDPPort" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="maximumSize" >
<size>
<width>90</width>
...
...
@@ -1170,5 +1160,69 @@
</hint>
</hints>
</connection>
<connection>
<sender>UDPOutput</sender>
<signal>toggled(bool)</signal>
<receiver>UDPPort</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>98</x>
<y>212</y>
</hint>
<hint type="destinationlabel" >
<x>493</x>
<y>212</y>
</hint>
</hints>
</connection>
<connection>
<sender>UDPOutput</sender>
<signal>toggled(bool)</signal>
<receiver>UDPPortLabel</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>107</x>
<y>212</y>
</hint>
<hint type="destinationlabel" >
<x>396</x>
<y>212</y>
</hint>
</hints>
</connection>
<connection>
<sender>UDPOutput</sender>
<signal>toggled(bool)</signal>
<receiver>UDPLabel</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>107</x>
<y>212</y>
</hint>
<hint type="destinationlabel" >
<x>241</x>
<y>212</y>
</hint>
</hints>
</connection>
<connection>
<sender>UDPOutput</sender>
<signal>toggled(bool)</signal>
<receiver>UDPEdit</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>107</x>
<y>212</y>
</hint>
<hint type="destinationlabel" >
<x>315</x>
<y>212</y>
</hint>
</hints>
</connection>
</connections>
</ui>
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