Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
dc1a69f8
Commit
dc1a69f8
authored
Feb 21, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Playlist: fix the resizing of the QSPlitter containing the art.
parent
24fcfe47
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+9
-3
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+1
-0
No files found.
modules/gui/qt4/components/playlist/playlist.cpp
View file @
dc1a69f8
/*****************************************************************************
/*****************************************************************************
* playlist.cpp : Custom widgets for the playlist
* playlist.cpp : Custom widgets for the playlist
****************************************************************************
****************************************************************************
* Copyright © 200
6
the VideoLAN team
* Copyright © 200
7-2008
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Clément Stenac <zorglub@videolan.org>
* Authors: Clément Stenac <zorglub@videolan.org>
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
# include "config.h"
# include "config.h"
#endif
#endif
...
@@ -28,7 +29,7 @@
...
@@ -28,7 +29,7 @@
#include "components/playlist/panels.hpp"
#include "components/playlist/panels.hpp"
#include "components/playlist/selector.hpp"
#include "components/playlist/selector.hpp"
#include "components/playlist/playlist.hpp"
#include "components/playlist/playlist.hpp"
#include "input_manager.hpp"
/* art */
#include "input_manager.hpp"
/* art
signal
*/
#include <QSettings>
#include <QSettings>
#include <QLabel>
#include <QLabel>
...
@@ -51,6 +52,9 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
...
@@ -51,6 +52,9 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
selector
=
new
PLSelector
(
this
,
p_intf
,
THEPL
);
selector
=
new
PLSelector
(
this
,
p_intf
,
THEPL
);
leftW
->
addWidget
(
selector
);
leftW
->
addWidget
(
selector
);
QWidget
*
artContainer
=
new
QWidget
;
QHBoxLayout
*
artContLay
=
new
QHBoxLayout
(
artContainer
);
/* Art label */
/* Art label */
art
=
new
ArtLabel
;
art
=
new
ArtLabel
;
art
->
setMinimumHeight
(
128
);
art
->
setMinimumHeight
(
128
);
...
@@ -60,7 +64,9 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
...
@@ -60,7 +64,9 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QSettings *settings, QWidge
art
->
setScaledContents
(
true
);
art
->
setScaledContents
(
true
);
art
->
setPixmap
(
QPixmap
(
":/noart.png"
)
);
art
->
setPixmap
(
QPixmap
(
":/noart.png"
)
);
art
->
setToolTip
(
qtr
(
"Double click to get the media informations"
)
);
art
->
setToolTip
(
qtr
(
"Double click to get the media informations"
)
);
leftW
->
addWidget
(
art
);
artContLay
->
addWidget
(
art
,
1
);
leftW
->
addWidget
(
artContainer
);
/* Initialisation of the playlist */
/* Initialisation of the playlist */
playlist_item_t
*
p_root
=
playlist_item_t
*
p_root
=
...
...
modules/gui/qt4/components/playlist/selector.cpp
View file @
dc1a69f8
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
* along with this program; if not, write to the Free Software
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
# include "config.h"
# include "config.h"
#endif
#endif
...
...
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