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
de5baa43
Commit
de5baa43
authored
Nov 30, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Remove PLPanel upper class
parent
23c3cf34
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
24 deletions
+11
-24
modules/gui/qt4/components/playlist/panels.hpp
modules/gui/qt4/components/playlist/panels.hpp
+8
-21
modules/gui/qt4/components/playlist/playlist.hpp
modules/gui/qt4/components/playlist/playlist.hpp
+2
-2
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+1
-1
No files found.
modules/gui/qt4/components/playlist/panels.hpp
View file @
de5baa43
...
...
@@ -43,42 +43,29 @@ class PLModel;
class
QPushButton
;
class
QKeyEvent
;
class
PLPanel
:
public
QWidget
class
Standard
PLPanel
:
public
QWidget
{
Q_OBJECT
;
public:
PLPanel
(
PlaylistWidget
*
p
,
intf_thread_t
*
_p_intf
)
:
QWidget
(
p
)
{
p_intf
=
_p_intf
;
parent
=
p
;
}
virtual
~
PLPanel
()
{};
protected:
intf_thread_t
*
p_intf
;
QFrame
*
parent
;
public
slots
:
virtual
void
setRoot
(
playlist_item_t
*
)
=
0
;
};
Q_OBJECT
class
StandardPLPanel
:
public
PLPanel
{
Q_OBJECT
;
public:
StandardPLPanel
(
PlaylistWidget
*
,
intf_thread_t
*
,
playlist_t
*
,
playlist_item_t
*
);
virtual
~
StandardPLPanel
();
protected:
friend
class
PlaylistWidget
;
virtual
void
keyPressEvent
(
QKeyEvent
*
e
);
protected:
PLModel
*
model
;
friend
class
PlaylistWidget
;
private:
intf_thread_t
*
p_intf
;
QWidget
*
parent
;
QLabel
*
title
;
QTreeView
*
view
;
QPushButton
*
repeatButton
,
*
randomButton
,
*
addButton
,
*
gotoPlayingButton
;
int
currentRootId
;
QSignalMapper
*
selectColumnsSigMapper
;
public
slots
:
void
removeItem
(
int
);
virtual
void
setRoot
(
playlist_item_t
*
);
...
...
modules/gui/qt4/components/playlist/playlist.hpp
View file @
de5baa43
...
...
@@ -40,7 +40,7 @@
#include <QLabel>
class
PLSelector
;
class
PLPanel
;
class
Standard
PLPanel
;
class
QPushButton
;
class
CoverArtLabel
;
class
ArtLabel
;
...
...
@@ -53,7 +53,7 @@ public:
virtual
~
PlaylistWidget
();
private:
PLSelector
*
selector
;
PLPanel
*
rightPanel
;
Standard
PLPanel
*
rightPanel
;
QPushButton
*
addButton
;
ArtLabel
*
art
;
protected:
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
de5baa43
...
...
@@ -52,7 +52,7 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
intf_thread_t
*
_p_intf
,
playlist_t
*
p_playlist
,
playlist_item_t
*
p_root
)
:
PLPanel
(
_parent
,
_p_intf
)
QWidget
(
_parent
),
p_intf
(
_p_intf
)
{
model
=
new
PLModel
(
p_playlist
,
p_intf
,
p_root
,
this
);
...
...
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