Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
81a1b751
Commit
81a1b751
authored
Jul 07, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: split the track number/total for now
Close #8511
parent
3c778bde
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
modules/gui/qt4/components/info_panels.cpp
modules/gui/qt4/components/info_panels.cpp
+11
-5
modules/gui/qt4/components/info_panels.hpp
modules/gui/qt4/components/info_panels.hpp
+1
-0
No files found.
modules/gui/qt4/components/info_panels.cpp
View file @
81a1b751
...
...
@@ -97,7 +97,7 @@ MetaPanel::MetaPanel( QWidget *parent,
date_text
=
new
QLineEdit
;
date_text
->
setAlignment
(
Qt
::
AlignRight
);
date_text
->
setInputMask
(
"0000"
);
date_text
->
setMaximumWidth
(
1
28
);
date_text
->
setMaximumWidth
(
1
40
);
metaLayout
->
addWidget
(
date_text
,
line
,
7
,
1
,
-
1
);
line
++
;
...
...
@@ -111,10 +111,16 @@ MetaPanel::MetaPanel( QWidget *parent,
metaLayout
->
addWidget
(
label
,
line
-
1
,
7
,
1
,
3
);
tracknumber_text
=
new
QLineEdit
;
tracktotal_text
=
new
QLineEdit
;
tracknumber_text
->
setAlignment
(
Qt
::
AlignRight
);
tracknumber_text
->
setInputMask
(
"0000/0000"
);
tracknumber_text
->
setMaximumWidth
(
128
);
metaLayout
->
addWidget
(
tracknumber_text
,
line
,
7
,
1
,
-
1
);
tracktotal_text
->
setAlignment
(
Qt
::
AlignRight
);
tracknumber_text
->
setMaximumWidth
(
64
);
tracktotal_text
->
setMaximumWidth
(
64
);
metaLayout
->
addWidget
(
tracknumber_text
,
line
,
7
,
1
,
1
);
metaLayout
->
addWidget
(
tracktotal_text
,
line
,
9
,
1
,
-
1
);
QLabel
*
sep
=
new
QLabel
(
"/"
);
metaLayout
->
addWidget
(
sep
,
line
,
8
,
1
,
-
1
);
line
++
;
...
...
modules/gui/qt4/components/info_panels.hpp
View file @
81a1b751
...
...
@@ -75,6 +75,7 @@ private:
QLineEdit
*
copyright_text
;
QLineEdit
*
collection_text
;
QLineEdit
*
tracknumber_text
;
QLineEdit
*
tracktotal_text
;
QTextEdit
*
description_text
;
// QSpinBox *rating_text;
...
...
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