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
cc17da89
Commit
cc17da89
authored
Sep 07, 2009
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: add source name above PL view
parent
2d235298
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
modules/gui/qt4/components/playlist/panels.hpp
modules/gui/qt4/components/playlist/panels.hpp
+1
-0
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+15
-0
No files found.
modules/gui/qt4/components/playlist/panels.hpp
View file @
cc17da89
...
@@ -74,6 +74,7 @@ protected:
...
@@ -74,6 +74,7 @@ protected:
PLModel
*
model
;
PLModel
*
model
;
friend
class
PlaylistWidget
;
friend
class
PlaylistWidget
;
private:
private:
QLabel
*
title
;
QTreeView
*
view
;
QTreeView
*
view
;
QPushButton
*
repeatButton
,
*
randomButton
,
*
addButton
,
*
gotoPlayingButton
;
QPushButton
*
repeatButton
,
*
randomButton
,
*
addButton
,
*
gotoPlayingButton
;
int
currentRootId
;
int
currentRootId
;
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
cc17da89
...
@@ -170,7 +170,15 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
...
@@ -170,7 +170,15 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
filter
->
setBuddy
(
search
);
filter
->
setBuddy
(
search
);
CONNECT
(
search
,
textChanged
(
const
QString
&
),
this
,
search
(
const
QString
&
)
);
CONNECT
(
search
,
textChanged
(
const
QString
&
),
this
,
search
(
const
QString
&
)
);
/* Title label */
title
=
new
QLabel
;
QFont
titleFont
;
titleFont
.
setPointSize
(
titleFont
.
pointSize
()
+
6
);
titleFont
.
setFamily
(
"Verdana"
);
title
->
setFont
(
titleFont
);
/* Finish the layout */
/* Finish the layout */
layout
->
addWidget
(
title
);
layout
->
addWidget
(
view
);
layout
->
addWidget
(
view
);
layout
->
addLayout
(
buttons
);
layout
->
addLayout
(
buttons
);
// layout->addWidget( bar );
// layout->addWidget( bar );
...
@@ -236,6 +244,13 @@ void StandardPLPanel::setCurrentRootId( playlist_item_t *p_item )
...
@@ -236,6 +244,13 @@ void StandardPLPanel::setCurrentRootId( playlist_item_t *p_item )
}
}
else
else
addButton
->
setEnabled
(
false
);
addButton
->
setEnabled
(
false
);
/* <jleben> do we need to lock here? */
playlist_Lock
(
THEPL
);
char
*
psz_title
=
input_item_GetName
(
p_item
->
p_input
);
title
->
setText
(
psz_title
);
free
(
psz_title
);
playlist_Unlock
(
THEPL
);
}
}
/* PopupAdd Menu for the Add Menu */
/* PopupAdd Menu for the Add Menu */
...
...
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