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
e6825471
Commit
e6825471
authored
May 01, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: Change the UI to allow startime in double.
parent
3cac0a48
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
120 deletions
+120
-120
modules/gui/qt4/dialogs/open.cpp
modules/gui/qt4/dialogs/open.cpp
+3
-4
modules/gui/qt4/ui/open.ui
modules/gui/qt4/ui/open.ui
+117
-116
No files found.
modules/gui/qt4/dialogs/open.cpp
View file @
e6825471
...
...
@@ -164,7 +164,7 @@ OpenDialog::OpenDialog( QWidget *parent,
CONNECT
(
ui
.
slaveCheckbox
,
toggled
(
bool
),
this
,
updateMRL
()
);
CONNECT
(
ui
.
slaveText
,
textChanged
(
const
QString
&
),
this
,
updateMRL
()
);
CONNECT
(
ui
.
cacheSpinBox
,
valueChanged
(
int
),
this
,
updateMRL
()
);
CONNECT
(
ui
.
startTime
SpinBox
,
valueChanged
(
int
),
this
,
updateMRL
()
);
CONNECT
(
ui
.
startTime
DoubleSpinBox
,
valueChanged
(
double
),
this
,
updateMRL
()
);
BUTTONACT
(
ui
.
advancedCheckBox
,
toggleAdvancedPanel
()
);
BUTTONACT
(
ui
.
slaveBrowseButton
,
browseInputSlave
()
);
...
...
@@ -417,9 +417,8 @@ void OpenDialog::updateMRL() {
mrl
+=
QString
(
" :%1=%2"
).
arg
(
storedMethod
).
arg
(
ui
.
cacheSpinBox
->
value
()
);
}
if
(
ui
.
startTimeSpinBox
->
value
()
)
{
mrl
+=
" :start-time="
+
QString
(
"%1"
).
arg
(
ui
.
startTimeSpinBox
->
value
()
);
if
(
ui
.
startTimeDoubleSpinBox
->
value
()
)
{
mrl
+=
" :start-time="
+
QString
::
number
(
ui
.
startTimeDoubleSpinBox
->
value
()
);
}
ui
.
advancedLineInput
->
setText
(
mrl
);
ui
.
mrlLine
->
setText
(
itemsMRL
.
join
(
" "
)
);
...
...
modules/gui/qt4/ui/open.ui
View file @
e6825471
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