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
5cc69890
Commit
5cc69890
authored
May 27, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4 - Open: various fixes.
parent
737e3560
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
44 additions
and
11 deletions
+44
-11
modules/gui/qt4/components/open.cpp
modules/gui/qt4/components/open.cpp
+10
-4
modules/gui/qt4/components/open.hpp
modules/gui/qt4/components/open.hpp
+2
-0
modules/gui/qt4/ui/open.ui
modules/gui/qt4/ui/open.ui
+14
-1
modules/gui/qt4/ui/open_capture.ui
modules/gui/qt4/ui/open_capture.ui
+6
-0
modules/gui/qt4/ui/open_disk.ui
modules/gui/qt4/ui/open_disk.ui
+3
-0
modules/gui/qt4/ui/open_file.ui
modules/gui/qt4/ui/open_file.ui
+3
-6
modules/gui/qt4/ui/open_net.ui
modules/gui/qt4/ui/open_net.ui
+6
-0
No files found.
modules/gui/qt4/components/open.cpp
View file @
5cc69890
...
...
@@ -79,7 +79,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
dialogBox
->
setSizeGripEnabled
(
false
);
/* Add a tooltip */
dialogBox
->
setToolTip
(
qtr
(
"Select one or multiple files, or a folder"
));
dialogBox
->
setToolTip
(
qtr
(
"Select one or multiple files, or a folder"
)
);
// Add it to the layout
ui
.
gridLayout
->
addWidget
(
dialogBox
,
0
,
0
,
1
,
3
);
...
...
@@ -119,7 +119,7 @@ FileOpenPanel::FileOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
/* Build the subs size combo box */
setfillVLCConfigCombo
(
"freetype-rel-fontsize"
,
p_intf
,
ui
.
sizeSubComboBox
);
ui
.
sizeSubComboBox
);
/* Build the subs align combo box */
setfillVLCConfigCombo
(
"subsdec-align"
,
p_intf
,
ui
.
alignSubComboBox
);
...
...
@@ -145,6 +145,7 @@ QStringList FileOpenPanel::browse( QString help )
return
THEDP
->
showSimpleOpen
(
help
);
}
#if 0
/* Unused. FIXME ? */
void FileOpenPanel::browseFile()
{
...
...
@@ -155,6 +156,7 @@ void FileOpenPanel::browseFile()
ui.fileInput->setEditText( fileString );
updateMRL();
}
#endif
void
FileOpenPanel
::
browseFileSub
()
{
...
...
@@ -183,11 +185,11 @@ void FileOpenPanel::updateMRL()
const
char
*
psz_filepath
=
config_GetPsz
(
p_intf
,
"qt-filedialog-path"
);
if
(
(
NULL
==
psz_filepath
)
||
strcmp
(
psz_filepath
,
dialogBox
->
directory
().
absolutePath
().
toUtf8
(
))
)
||
strcmp
(
psz_filepath
,
qtu
(
dialogBox
->
directory
().
absolutePath
()
))
)
{
/* set dialog box current directory as last known path */
config_PutPsz
(
p_intf
,
"qt-filedialog-path"
,
dialogBox
->
directory
().
absolutePath
().
toUtf8
(
)
);
qtu
(
dialogBox
->
directory
().
absolutePath
()
)
);
}
delete
psz_filepath
;
...
...
@@ -240,6 +242,8 @@ DiscOpenPanel::DiscOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
{
ui
.
setupUi
(
this
);
/*Win 32 Probe as in WX ? */
/* CONNECTs */
BUTTONACT
(
ui
.
dvdRadioButton
,
updateButtons
());
BUTTONACT
(
ui
.
vcdRadioButton
,
updateButtons
());
...
...
@@ -293,6 +297,8 @@ void DiscOpenPanel::updateButtons()
void
DiscOpenPanel
::
updateMRL
()
{
QString
mrl
=
""
;
/* CDDAX and VCDX not implemented. FIXME ? */
/* DVD */
if
(
ui
.
dvdRadioButton
->
isChecked
()
)
{
if
(
!
ui
.
dvdsimple
->
isChecked
()
)
...
...
modules/gui/qt4/components/open.hpp
View file @
5cc69890
...
...
@@ -89,7 +89,9 @@ private:
public
slots
:
virtual
void
updateMRL
();
private
slots
:
#if 0
void browseFile();
#endif
void
browseFileSub
();
void
toggleSubtitleFrame
();
};
...
...
modules/gui/qt4/ui/open.ui
View file @
5cc69890
...
...
@@ -93,6 +93,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Change the start time for the media</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight</set>
</property>
...
...
@@ -120,7 +123,11 @@
</widget>
</item>
<item row="5" column="1" colspan="4" >
<widget class="QLineEdit" name="advancedLineInput" />
<widget class="QLineEdit" name="advancedLineInput" >
<property name="toolTip" >
<string>Complete MRL for VLC internal</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="5" >
<widget class="QCheckBox" name="slaveCheckbox" >
...
...
@@ -155,6 +162,9 @@
</item>
<item row="3" column="4" >
<widget class="QToolButton" name="slaveBrowseButton" >
<property name="toolTip" >
<string>Select the file</string>
</property>
<property name="text" >
<string>Browse...</string>
</property>
...
...
@@ -177,6 +187,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Change the caching for the media</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight</set>
</property>
...
...
modules/gui/qt4/ui/open_capture.ui
View file @
5cc69890
...
...
@@ -46,6 +46,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" >
<string>Select the capture device type</string>
</property>
</widget>
</item>
<item row="0" column="0" >
...
...
@@ -87,6 +90,9 @@
</item>
<item row="3" column="0" >
<widget class="QPushButton" name="advancedButton" >
<property name="toolTip" >
<string>Access advanced options to tweak the device</string>
</property>
<property name="text" >
<string>Advanced options...</string>
</property>
...
...
modules/gui/qt4/ui/open_disk.ui
View file @
5cc69890
...
...
@@ -67,6 +67,9 @@
</item>
<item row="3" column="7" >
<widget class="QToolButton" name="toolButton" >
<property name="toolTip" >
<string>Select the device</string>
</property>
<property name="text" >
<string>Browse...</string>
</property>
...
...
modules/gui/qt4/ui/open_file.ui
View file @
5cc69890
...
...
@@ -146,9 +146,6 @@
<height>0</height>
</size>
</property>
<property name="toolTip" >
<string>Set subtitle alignement</string>
</property>
<property name="currentIndex" >
<number>-1</number>
</property>
...
...
@@ -191,9 +188,6 @@
<height>0</height>
</size>
</property>
<property name="toolTip" >
<string>Set default subtitle size</string>
</property>
</widget>
</item>
<item row="1" column="1" >
...
...
@@ -220,6 +214,9 @@
</item>
<item row="0" column="6" colspan="2" >
<widget class="QPushButton" name="subBrowseButton" >
<property name="toolTip" >
<string>Select the subtitle file</string>
</property>
<property name="text" >
<string>Browse...</string>
</property>
...
...
modules/gui/qt4/ui/open_net.ui
View file @
5cc69890
...
...
@@ -48,6 +48,9 @@
</item>
<item row="1" column="2" >
<widget class="QSpinBox" name="portSpin" >
<property name="toolTip" >
<string>Set the port used</string>
</property>
<property name="maximum" >
<number>65535</number>
</property>
...
...
@@ -110,6 +113,9 @@
</property>
<item>
<widget class="QCheckBox" name="timeShift" >
<property name="toolTip" >
<string/>
</property>
<property name="text" >
<string>Allow timeshifting</string>
</property>
...
...
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