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
bed888c8
Commit
bed888c8
authored
Sep 08, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - InfoPanels: correct a slot, correct slightly the layout.
parent
379a9a64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
modules/gui/qt4/components/infopanels.cpp
modules/gui/qt4/components/infopanels.cpp
+8
-6
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.cpp
+1
-1
No files found.
modules/gui/qt4/components/infopanels.cpp
View file @
bed888c8
...
...
@@ -77,7 +77,7 @@ MetaPanel::MetaPanel( QWidget *parent,
seqnum_text
=
new
QLineEdit
;
seqnum_text
->
setInputMask
(
"0000"
);
seqnum_text
->
setAlignment
(
Qt
::
AlignRight
);
metaLayout
->
addWidget
(
seqnum_text
,
line
,
7
,
1
,
4
);
metaLayout
->
addWidget
(
seqnum_text
,
line
,
7
,
1
,
3
);
line
++
;
/* Date (Should be in years) */
...
...
@@ -90,11 +90,12 @@ MetaPanel::MetaPanel( QWidget *parent,
/* Rating - on the same line */
metaLayout
->
addWidget
(
new
QLabel
(
qtr
(
VLC_META_RATING
)
+
" :"
),
line
,
3
,
1
,
2
);
rating_text
=
new
QSpinBox
;
setSpinBounds
(
rating_text
);
metaLayout
->
addWidget
(
rating_text
,
line
,
5
,
1
,
2
);
metaLayout
->
addWidget
(
rating_text
,
line
,
5
,
1
,
1
);
/* Language on the same line */
metaLayout
->
addWidget
(
new
QLabel
(
qfu
(
VLC_META_LANGUAGE
)
+
" :"
),
line
,
7
);
metaLayout
->
addWidget
(
new
QLabel
(
qfu
(
VLC_META_LANGUAGE
)
+
" :"
),
line
,
6
,
1
,
2
);
language_text
=
new
QLineEdit
;
language_text
->
setReadOnly
(
true
);
metaLayout
->
addWidget
(
language_text
,
line
,
8
,
1
,
2
);
line
++
;
...
...
@@ -106,7 +107,7 @@ MetaPanel::MetaPanel( QWidget *parent,
art_cover
->
setMaximumWidth
(
128
);
art_cover
->
setScaledContents
(
true
);
art_cover
->
setPixmap
(
QPixmap
(
":/noart.png"
)
);
metaLayout
->
addWidget
(
art_cover
,
line
,
8
,
4
,
2
);
metaLayout
->
addWidget
(
art_cover
,
line
,
7
,
4
,
2
);
/* Settings is unused */
/* l->addWidget( new QLabel( qtr( VLC_META_SETTING ) + " :" ), line, 5 );
...
...
@@ -137,12 +138,13 @@ MetaPanel::MetaPanel( QWidget *parent,
#undef ADD_META_2
CONNECT
(
title_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
description_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
artist_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
collection_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
genre_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
date_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
seqnum_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
date_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
CONNECT
(
description_text
,
textEdited
(
QString
),
this
,
enterEditMode
()
);
/* CONNECT( rating_text, valueChanged( QString ), this, enterEditMode( QString ) );*/
/* We are not yet in Edit Mode */
...
...
modules/gui/qt4/dialogs/mediainfo.cpp
View file @
bed888c8
...
...
@@ -88,7 +88,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, bool _mainInput,
/* Let the MetaData Panel update the URI */
CONNECT
(
MP
,
uriSet
(
QString
),
uriLine
,
setText
(
QString
)
);
CONNECT
(
MP
,
editing
(
bool
),
this
,
editMeta
(
bool
)
);
CONNECT
(
MP
,
editing
(
),
this
,
editMeta
(
)
);
CONNECT
(
IT
,
currentChanged
(
int
),
this
,
updateButtons
(
int
)
);
...
...
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