Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
04e498f6
Commit
04e498f6
authored
May 21, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Open Dialog: Make Slave text open only when needed. Fix a bit the subtitles size when shown.
parent
9f9dda51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
26 deletions
+41
-26
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+4
-0
modules/gui/qt4/ui/open.ui
modules/gui/qt4/ui/open.ui
+37
-26
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
04e498f6
...
...
@@ -66,6 +66,10 @@ OpenDialog::OpenDialog( QWidget *parent, intf_thread_t *_p_intf, bool modal,
ui
.
advancedFrame
->
hide
();
}
ui
.
slaveLabel
->
hide
();
ui
.
slaveText
->
hide
();
ui
.
slaveBrowseButton
->
hide
();
/* Buttons Creation */
QSizePolicy
buttonSizePolicy
(
static_cast
<
QSizePolicy
::
Policy
>
(
7
),
static_cast
<
QSizePolicy
::
Policy
>
(
1
)
);
...
...
modules/gui/qt4/ui/open.ui
View file @
04e498f6
...
...
@@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>4
48
</width>
<height>3
0
0</height>
<width>4
50
</width>
<height>3
5
0</height>
</rect>
</property>
<property name="windowTitle" >
...
...
@@ -25,6 +25,14 @@
</property>
<item>
<widget class="QTabWidget" name="Tab" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentIndex" >
<number>-1</number>
</property>
...
...
@@ -60,14 +68,14 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="
4
" >
<item row="0" column="
2
" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Start Time</string>
</property>
</widget>
</item>
<item row="0" column="
5
" colspan="2" >
<item row="0" column="
3
" colspan="2" >
<widget class="QSpinBox" name="startTimeSpinBox" >
<property name="sizePolicy" >
<sizepolicy>
...
...
@@ -103,17 +111,17 @@
</property>
</widget>
</item>
<item row="5" column="1" colspan="
7
" >
<item row="5" column="1" colspan="
4
" >
<widget class="QLineEdit" name="advancedLineInput" />
</item>
<item row="2" column="0" colspan="
8
" >
<item row="2" column="0" colspan="
5
" >
<widget class="QCheckBox" name="slaveCheckbox" >
<property name="text" >
<string>Play another media synchronously (extra audio file, ...)</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="
5
" >
<item row="4" column="1" colspan="
4
" >
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
...
...
@@ -128,33 +136,23 @@
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_2" >
<property name="enabled" >
<bool>false</bool>
</property>
<widget class="QLabel" name="slaveLabel" >
<property name="text" >
<string>Extra media</string>
</property>
</widget>
</item>
<item row="3" column="1" colspan="5" >
<widget class="QLineEdit" name="slaveText" >
<property name="enabled" >
<bool>false</bool>
</property>
</widget>
<item row="3" column="1" colspan="3" >
<widget class="QLineEdit" name="slaveText" />
</item>
<item row="3" column="
6" colspan="2
" >
<item row="3" column="
4
" >
<widget class="QToolButton" name="slaveBrowseButton" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Browse...</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="
5
" >
<item row="1" column="1" colspan="
4
" >
<widget class="Line" name="line" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
...
...
@@ -185,6 +183,19 @@
</layout>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>1</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
...
...
@@ -239,8 +250,8 @@
<connection>
<sender>slaveCheckbox</sender>
<signal>clicked(bool)</signal>
<receiver>
label_2
</receiver>
<slot>set
Enabled
(bool)</slot>
<receiver>
slaveLabel
</receiver>
<slot>set
Visible
(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>54</x>
...
...
@@ -256,7 +267,7 @@
<sender>slaveCheckbox</sender>
<signal>clicked(bool)</signal>
<receiver>slaveText</receiver>
<slot>set
Enabled
(bool)</slot>
<slot>set
Visible
(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>127</x>
...
...
@@ -272,7 +283,7 @@
<sender>slaveCheckbox</sender>
<signal>clicked(bool)</signal>
<receiver>slaveBrowseButton</receiver>
<slot>set
Enabled
(bool)</slot>
<slot>set
Visible
(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>219</x>
...
...
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